- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,742 for registryX (0.14 sec)
-
pkg/scheduler/framework/runtime/registry_test.go
func isRegistryEqual(registryX, registryY Registry) bool { for name, pluginFactory := range registryY { if val, ok := registryX[name]; ok { p1, _ := pluginFactory(nil, nil, nil) p2, _ := val(nil, nil, nil) if p1.Name() != p2.Name() { // pluginFactory functions are not the same. return false } } else { // registryY contains an entry that is not present in registryX
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 09:49:54 UTC 2023 - 6.5K bytes - Viewed (0) -
pkg/registry/rbac/clusterrole/registry.go
return nil, err } return ret, nil } // AuthorizerAdapter adapts the registry to the authorizer interface type AuthorizerAdapter struct { Registry Registry } // GetClusterRole returns the corresponding ClusterRole by name func (a AuthorizerAdapter) GetClusterRole(name string) (*rbacv1.ClusterRole, error) { return a.Registry.GetClusterRole(genericapirequest.NewContext(), name, &metav1.GetOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 02:35:47 UTC 2019 - 2.1K bytes - Viewed (0) -
pkg/registry/rbac/role/registry.go
return nil, err } return ret, nil } // AuthorizerAdapter adapts the registry to the authorizer interface type AuthorizerAdapter struct { Registry Registry } // GetRole returns the corresponding Role by name in specified namespace func (a AuthorizerAdapter) GetRole(namespace, name string) (*rbacv1.Role, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 02:36:35 UTC 2019 - 2K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/registry.go
} } // Registry is a collection of all available plugins. The framework uses a // registry to enable and initialize configured plugins. // All plugins must be in the registry before initializing the framework. type Registry map[string]PluginFactory // Register adds a new plugin to the registry. If a plugin with the same name // exists, it returns an error.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 09:49:54 UTC 2023 - 3.3K bytes - Viewed (0) -
pkg/registry/rbac/clusterrolebinding/registry.go
return nil, err } return ret, nil } // AuthorizerAdapter adapts the registry to the authorizer interface type AuthorizerAdapter struct { Registry Registry } func (a AuthorizerAdapter) ListClusterRoleBindings() ([]*rbacv1.ClusterRoleBinding, error) { list, err := a.Registry.ListClusterRoleBindings(genericapirequest.NewContext(), &metainternalversion.ListOptions{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 22 12:17:05 UTC 2018 - 2.3K bytes - Viewed (0) -
pkg/registry/rbac/rolebinding/registry.go
return nil, err } return ret, nil } // AuthorizerAdapter adapts the registry to the authorizer interface type AuthorizerAdapter struct { Registry Registry } func (a AuthorizerAdapter) ListRoleBindings(namespace string) ([]*rbacv1.RoleBinding, error) { list, err := a.Registry.ListRoleBindings(genericapirequest.WithNamespace(genericapirequest.NewContext(), namespace), &metainternalversion.ListOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 22 12:17:05 UTC 2018 - 2.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/registry.go
"k8s.io/kubernetes/pkg/scheduler/framework/runtime" ) // NewInTreeRegistry builds the registry with all the in-tree plugins. // A scheduler that runs out of tree plugins can register additional plugins // through the WithFrameworkOutOfTreeRegistry option. func NewInTreeRegistry() runtime.Registry { fts := plfeature.Features{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/registry.go
quota "k8s.io/apiserver/pkg/quota/v1" ) // implements a basic registry type simpleRegistry struct { lock sync.RWMutex // evaluators tracked by the registry evaluators map[schema.GroupResource]quota.Evaluator } // NewRegistry creates a simple registry with initial list of evaluators func NewRegistry(evaluators []quota.Evaluator) quota.Registry { return &simpleRegistry{ evaluators: evaluatorsByGroupResource(evaluators),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 04 12:53:52 UTC 2020 - 2.2K bytes - Viewed (0) -
pkg/registry/core/rangeallocation/registry.go
See the License for the specific language governing permissions and limitations under the License. */ package rangeallocation import ( api "k8s.io/kubernetes/pkg/apis/core" ) // RangeRegistry is a registry that can retrieve or persist a RangeAllocation object. type RangeRegistry interface { // Get returns the latest allocation, an empty object if no allocation has been made, // or an error if the allocation could not be retrieved.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 09 11:14:08 UTC 2017 - 1.1K bytes - Viewed (0) -
pkg/util/image/registry.go
"github.com/google/go-containerregistry/pkg/v1/remote" "github.com/google/go-containerregistry/pkg/v1/remote/transport" ) // Exists returns true if the image in the argument exists in a container registry. // The argument must be a complete image name, e.g. "gcr.io/istio-release/pilot:1.20.0". // If the image does not exist, it returns false and an optional error message, for debug purposes. func Exists(image string) (bool, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 25 16:28:36 UTC 2023 - 1.6K bytes - Viewed (0)