Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for atomic (1.35 sec)

  1. cni/pkg/nodeagent/net_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"errors"
    	"net/netip"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/pod_cache_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"reflect"
    	"sync/atomic"
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func openNsTestOverride(s string) (NetnsCloser, error) {
    	return newFakeNs(inc()), nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/certificates/v1/generated.proto

    message CertificateSigningRequestSpec {
      // request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block.
      // When serialized as JSON or YAML, the data is additionally base64-encoded.
      // +listType=atomic
      optional bytes request = 1;
    
      // signerName indicates the requested signer, and is a qualified name.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      // most one token is empty string. To receive a new token after expiry,
      // RequiresRepublish can be used to trigger NodePublishVolume periodically.
      //
      // +optional
      // +listType=atomic
      repeated TokenRequest tokenRequests = 6;
    
      // requiresRepublish indicates the CSI driver wants `NodePublishVolume`
      // being periodically called to reflect any possible change in the mounted
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // single kubelet plugin with no ResourceHandle data attached. The name of
      // the kubelet plugin invoked will match the DriverName set in the
      // ResourceClaimStatus this AllocationResult is embedded in.
      //
      // +listType=atomic
      // +optional
      repeated ResourceHandle resourceHandles = 1;
    
      // This field will get set by the resource driver after it has allocated
      // the resource to inform the scheduler where it can schedule Pods using
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // hostname is set for load-balancer ingress points that are DNS based.
      // +optional
      optional string hostname = 2;
    
      // ports provides information about the ports exposed by this LoadBalancer.
      // +listType=atomic
      // +optional
      repeated IngressPortStatus ports = 4;
    }
    
    // LoadBalancerStatus represents the status of a load-balancer.
    message IngressLoadBalancerStatus {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

      // +listType=atomic
      // +optional
      repeated string matchLabelKeys = 8;
    }
    
    // TypedLocalObjectReference contains enough information to let you locate the
    // typed referenced object inside the same namespace.
    // +structType=atomic
    message TypedLocalObjectReference {
      // APIGroup is the group for the resource being referenced.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/storage/v1/generated.proto

      // most one token is empty string. To receive a new token after expiry,
      // RequiresRepublish can be used to trigger NodePublishVolume periodically.
      //
      // +optional
      // +listType=atomic
      repeated TokenRequest tokenRequests = 6;
    
      // requiresRepublish indicates the CSI driver wants `NodePublishVolume`
      // being periodically called to reflect any possible change in the mounted
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/healthServer.go

    		_ = http.ListenAndServe(":"+constants.ReadinessPort, router)
    	}()
    
    	return
    }
    
    func initRouter(router *http.ServeMux) (installReady *atomic.Value, watchReady *atomic.Value) {
    	installReady = &atomic.Value{}
    	watchReady = &atomic.Value{}
    	installReady.Store(false)
    	watchReady.Store(false)
    
    	router.HandleFunc(constants.LivenessEndpoint, healthz)
    	router.HandleFunc(constants.ReadinessEndpoint, readyz(installReady, watchReady))
    
    	return
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/fakes_test.go

    	return &fakeFileFakeFds{File: f, fd: 0}
    }
    
    type fakeIptablesDeps struct {
    	AddRouteErr           error
    	AddInpodMarkIPRuleCnt atomic.Int32
    	DelInpodMarkIPRuleCnt atomic.Int32
    	AddLoopbackRoutesCnt  atomic.Int32
    	DelLoopbackRoutesCnt  atomic.Int32
    }
    
    var _ iptables.NetlinkDependencies = &fakeIptablesDeps{}
    
    func (r *fakeIptablesDeps) AddInpodMarkIPRule(cfg *iptables.Config) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top