Skip to main content

Interface: KubeNetworkPolicy

This is the base interface for all Kubernetes resources, i.e. it contains fields that all Kubernetes resources have.

Extends

Properties

actionType?

optional actionType: any;

Inherited from

KubeObjectInterface.actionType

Defined in

src/lib/k8s/KubeObject.ts:644


apiVersion?

optional apiVersion: string;

Inherited from

KubeObjectInterface.apiVersion

Defined in

src/lib/k8s/KubeObject.ts:639


egress

egress: NetworkPolicyEgressRule[];

Defined in

src/lib/k8s/networkpolicy.tsx:32


ingress

ingress: NetworkPolicyIngressRule[];

Defined in

src/lib/k8s/networkpolicy.tsx:33


items?

optional items: any[];

Inherited from

KubeObjectInterface.items

Defined in

src/lib/k8s/KubeObject.ts:643


key?

optional key: any;

Inherited from

KubeObjectInterface.key

Defined in

src/lib/k8s/KubeObject.ts:646


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

src/lib/k8s/KubeObject.ts:638


lastTimestamp?

optional lastTimestamp: string;

Inherited from

KubeObjectInterface.lastTimestamp

Defined in

src/lib/k8s/KubeObject.ts:645


metadata

metadata: KubeMetadata;

Inherited from

KubeObjectInterface.metadata

Defined in

src/lib/k8s/KubeObject.ts:640


podSelector

podSelector: LabelSelector;

Defined in

src/lib/k8s/networkpolicy.tsx:34


policyTypes

policyTypes: string[];

Defined in

src/lib/k8s/networkpolicy.tsx:35


spec?

optional spec: any;

Inherited from

KubeObjectInterface.spec

Defined in

src/lib/k8s/KubeObject.ts:641


status?

optional status: any;

Inherited from

KubeObjectInterface.status

Defined in

src/lib/k8s/KubeObject.ts:642