Skip to main content

Interface: KubeNetworkPolicy

lib/k8s/networkpolicy.KubeNetworkPolicy

Hierarchy

Properties

apiVersion

Optional apiVersion: string

Inherited from

KubeObjectInterface.apiVersion

Defined in

lib/k8s/cluster.ts:55


egress

egress: NetworkPolicyEgressRule[]

Defined in

lib/k8s/networkpolicy.tsx:32


ingress

ingress: NetworkPolicyIngressRule[]

Defined in

lib/k8s/networkpolicy.tsx:33


kind

kind: string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to.

In CamelCase.

Cannot be updated.

see more info

Inherited from

KubeObjectInterface.kind

Defined in

lib/k8s/cluster.ts:54


metadata

metadata: KubeMetadata

Inherited from

KubeObjectInterface.metadata

Defined in

lib/k8s/cluster.ts:56


podSelector

podSelector: LabelSelector

Defined in

lib/k8s/networkpolicy.tsx:34


policyTypes

policyTypes: string[]

Defined in

lib/k8s/networkpolicy.tsx:35