Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 185 for Implementation (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go

    	return func(context.Context) (done bool, err error) {
    		return cf()
    	}
    }
    
    // ContextForChannel provides a context that will be treated as cancelled
    // when the provided parentCh is closed. The implementation returns
    // context.Canceled for Err() if and only if the parentCh is closed.
    func ContextForChannel(parentCh <-chan struct{}) context.Context {
    	return channelContext{stopCh: parentCh}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admission/v1beta1/types_swagger_doc_generated.go

    */
    
    package v1beta1
    
    // This file contains a collection of methods that can be used from go-restful to
    // generate Swagger API documentation for its models. Please read this PR for more
    // information on the implementation: https://github.com/emicklei/go-restful/pull/215
    //
    // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
    // they are on one line! For multiple line or blocks that you want to ignore use ---.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/rbac/v1/types_swagger_doc_generated.go

    */
    
    package v1
    
    // This file contains a collection of methods that can be used from go-restful to
    // generate Swagger API documentation for its models. Please read this PR for more
    // information on the implementation: https://github.com/emicklei/go-restful/pull/215
    //
    // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
    // they are on one line! For multiple line or blocks that you want to ignore use ---.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. pkg/util/iptables/testing/fake.go

    */
    
    package testing
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/kubernetes/pkg/util/iptables"
    )
    
    // FakeIPTables is no-op implementation of iptables Interface.
    type FakeIPTables struct {
    	hasRandomFully bool
    	protocol       iptables.Protocol
    
    	Dump *IPTablesDump
    }
    
    // NewFake returns a no-op iptables.Interface
    func NewFake() *FakeIPTables {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go

    	plugins.Register(PluginName, func(config io.Reader) (admission.Interface, error) {
    		return NewLifecycle(sets.NewString(metav1.NamespaceDefault, metav1.NamespaceSystem, metav1.NamespacePublic))
    	})
    }
    
    // Lifecycle is an implementation of admission.Interface.
    // It enforces life-cycle constraints around a Namespace depending on its Phase
    type Lifecycle struct {
    	*admission.Handler
    	client             kubernetes.Interface
    	immortalNamespaces sets.String
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go

    // Addf logs info immediately.
    func (passthroughLogger) Addf(format string, data ...interface{}) {
    	klog.V(2).Info(fmt.Sprintf(format, data...))
    }
    
    // DefaultStacktracePred is the default implementation of StacktracePred.
    func DefaultStacktracePred(status int) bool {
    	return (status < http.StatusOK || status >= http.StatusInternalServerError) && status != http.StatusSwitchingProtocols
    }
    
    const withLoggingLevel = 3
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. pkg/util/iptables/monitor_test.go

    // Monitor thread will do its checks, and we don't know precisely how its iptables calls
    // will interleave with the main thread's. So we use our own fake Exec implementation that
    // implements a minimal iptables interface. This will need updates as iptables.runner
    // changes its use of Exec.
    type monitorFakeExec struct {
    	sync.Mutex
    
    	tables map[string]sets.Set[string]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	if u, ok := into.(runtime.Unstructured); ok {
    		var content map[string]interface{}
    		defer func() {
    			switch u := u.(type) {
    			case *unstructured.UnstructuredList:
    				// UnstructuredList's implementation of SetUnstructuredContent
    				// produces different objects than those produced by a decode using
    				// UnstructuredJSONScheme:
    				//
    				//   1. SetUnstructuredContent retains the "items" key in the list's
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes.go

    // (http://csrc.nist.gov/publications/nistpubs/800-38D/SP-800-38D.pdf) recommends using the same
    // key with random 96-bit nonces (the default nonce length) no more than 2^32 times, and
    // therefore transformers using this implementation *must* ensure they allow for frequent key
    // rotation. Future work should include investigation of AES-GCM-SIV as an alternative to
    // random nonces.
    func NewGCMTransformer(block cipher.Block) (value.Transformer, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  10. cmd/kubelet/app/plugins.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package app
    
    // This file exists to force the desired plugin implementations to be linked.
    import (
    	"k8s.io/component-base/featuregate"
    	"k8s.io/utils/exec"
    
    	// Volume plugins
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/configmap"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 21:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top