Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for Implementation (0.22 sec)

  1. pkg/volume/util/selinux.go

    	// or don't support SELinux at all.
    	SELinuxOptionsToFileLabel(opts *v1.SELinuxOptions) (string, error)
    
    	// SELinuxEnabled returns true when the OS has enabled SELinux support.
    	SELinuxEnabled() bool
    }
    
    // Real implementation of the interface.
    // On Linux with SELinux enabled it translates. Otherwise it always returns an empty string and no error.
    type translator struct{}
    
    var _ SELinuxLabelTranslator = &translator{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 14:40:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pkg/kubelet/util/manager/cache_based_manager.go

    		}
    	}
    	return data.object, data.err
    }
    
    // cacheBasedManager keeps a store with objects necessary
    // for registered pods. Different implementations of the store
    // may result in different semantics for freshness of objects
    // (e.g. ttl-based implementation vs watch-based implementation).
    type cacheBasedManager struct {
    	objectStore          Store
    	getReferencedObjects func(*v1.Pod) sets.Set[string]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go

    		finalWork := SeatsTimesDuration(float64(finalSeats), e.config.eventAdditionalDuration())
    
    		// While processing individual events is highly parallel,
    		// the design/implementation of P&F has a couple limitations that
    		// make using this assumption in the P&F implementation very
    		// inefficient because:
    		// - we reserve max(initialSeats, finalSeats) for time of executing
    		//   both phases of the request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		TimeTag: cbor.DecTagOptional,
    
    		// Observed depth up to 16 in fuzzed batch/v1 CronJobList. JSON implementation limit
    		// is 10000.
    		MaxNestedLevels: 64,
    
    		MaxArrayElements: 1024,
    		MaxMapPairs:      1024,
    
    		// Indefinite-length sequences aren't produced by this serializer, but other
    		// implementations can.
    		IndefLength: cbor.IndefLengthAllowed,
    
    		// Accept inputs that contain CBOR tags.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/runtime/runtime.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package runtime provides the kubeadm container runtime implementation.
    package runtime
    
    import (
    	"context"
    	"encoding/json"
    	"strings"
    	"time"
    
    	"github.com/pkg/errors"
    	errorsutil "k8s.io/apimachinery/pkg/util/errors"
    	criapi "k8s.io/cri-api/pkg/apis"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/dryrun/dryrun.go

    		}
    
    		fmt.Fprintf(w, "[dryrun] Would write file %q with content:\n", outputFilePath)
    		apiclient.PrintBytesWithLinePrefix(w, fileBytes, "\t")
    	}
    	return errorsutil.NewAggregate(errs)
    }
    
    // Waiter is an implementation of apiclient.Waiter that should be used for dry-running
    type Waiter struct{}
    
    // NewWaiter returns a new Waiter object that talks to the given Kubernetes cluster
    func NewWaiter() apiclient.Waiter {
    	return &Waiter{}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/volume_host.go

    	"k8s.io/apimachinery/pkg/types"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/tools/record"
    	vol "k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/util/subpath"
    )
    
    // VolumeHost interface implementation for PersistentVolumeController.
    
    var _ vol.VolumeHost = &PersistentVolumeController{}
    
    func (ctrl *PersistentVolumeController) GetPluginDir(pluginName string) string {
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/testing/fake_test.go

    */
    
    package testing
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/kubernetes/pkg/proxy/ipvs"
    )
    
    // (I am unsure if this test has any value since it only tests the fake implementation)
    func TestSetGetLocalAddresses(t *testing.T) {
    	fake := NewFakeNetlinkHandle(false)
    	_ = ipvs.NetLinkHandle(fake) // Ensure that the interface is honored
    	fake.SetLocalAddresses("eth0", "1.2.3.4")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storagemigration/v1alpha1/types_swagger_doc_generated.go

    */
    
    package v1alpha1
    
    // 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: Fri Mar 08 04:18:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/discovery/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: Wed Oct 18 15:36:48 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top