- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for networkpolicies (0.47 sec)
-
pkg/registry/networking/networkpolicy/storage/storage.go
"k8s.io/kubernetes/pkg/registry/networking/networkpolicy" ) // REST implements a RESTStorage for NetworkPolicies against etcd. type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against NetworkPolicies. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/config/schema/kubeclient/common_test.go
) func TestCustomRegistration(t *testing.T) { Register[*v1.NetworkPolicy]( v1.SchemeGroupVersion.WithResource("networkpolicies"), v1.SchemeGroupVersion.WithKind("NetworkPolicy"), func(c ClientGetter, namespace string, o metav1.ListOptions) (runtime.Object, error) { return c.Kube().NetworkingV1().NetworkPolicies(namespace).List(context.Background(), o) },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 1.8K bytes - Viewed (0) -
cluster/addons/kube-network-policies/kube-network-policies-rbac.yaml
resources: - pods - nodes - namespaces verbs: - get - watch - list # Watch for changes to Kubernetes NetworkPolicies. - apiGroups: ["networking.k8s.io"] resources: - networkpolicies verbs: - watch - list --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: kube-network-policies labels:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 21 10:01:31 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/kube/krt/informer_test.go
} c := kube.NewFakeClient(np) kubeclient.Register[*v1.NetworkPolicy]( v1.SchemeGroupVersion.WithResource("networkpolicies"), v1.SchemeGroupVersion.WithKind("NetworkPolicy"), func(c kubeclient.ClientGetter, namespace string, o metav1.ListOptions) (runtime.Object, error) { return c.Kube().NetworkingV1().NetworkPolicies(namespace).List(context.Background(), o) },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 3.3K bytes - Viewed (0) -
api/discovery/apis__networking.k8s.io__v1.json
"namespaced": true, "singularName": "", "verbs": [ "get", "patch", "update" ] }, { "kind": "NetworkPolicy", "name": "networkpolicies", "namespaced": true, "shortNames": [ "netpol" ], "singularName": "networkpolicy", "storageVersionHash": "YpfwF18m1G8=", "verbs": [ "create",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 15 18:18:19 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/registry/networking/networkpolicy/strategy.go
// networkPolicyStrategy implements verification logic for NetworkPolicies type networkPolicyStrategy struct { runtime.ObjectTyper names.NameGenerator } // Strategy is the default logic that applies when creating and updating NetworkPolicy objects. var Strategy = networkPolicyStrategy{legacyscheme.Scheme, names.SimpleNameGenerator} // NamespaceScoped returns true because all NetworkPolicies need to be within a namespace.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/registry/networking/rest/storage_settings.go
storage := map[string]rest.Storage{} // networkpolicies if resource := "networkpolicies"; apiResourceConfigSource.ResourceEnabled(networkingapiv1.SchemeGroupVersion.WithResource(resource)) { networkPolicyStorage, err := networkpolicystore.NewREST(restOptionsGetter) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/kubeapiserver/default_storage_factory_builder.go
c.DefaultStorageMediaType, c.Serializer, resourceEncodingConfig, c.APIResourceConfig, SpecialDefaultResourcePrefixes) storageFactory.AddCohabitatingResources(networking.Resource("networkpolicies"), extensions.Resource("networkpolicies")) storageFactory.AddCohabitatingResources(apps.Resource("deployments"), extensions.Resource("deployments"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 20:14:51 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/controlplane/storageversionhashdata/data.go
"coordination.k8s.io/v1/leases": "gqkMMb/YqFM=", "discovery.k8s.io/v1/endpointslices": "qgS0xkrxYAI=", "networking.k8s.io/v1/networkpolicies": "YpfwF18m1G8=", "networking.k8s.io/v1/ingresses": "39NQlfNR+bo=", "networking.k8s.io/v1/ingressclasses": "l/iqIbDgFyQ=",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 20:14:51 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/registry/networking/networkpolicy/storage/storage_test.go
restOptions := generic.RESTOptions{ StorageConfig: etcdStorage, Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "networkpolicies", } rest, err := NewREST(restOptions) if err != nil { t.Fatalf("unexpected error from REST storage: %v", err) } return rest, server } func validNetworkPolicy() *networking.NetworkPolicy {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 5K bytes - Viewed (0)