NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

Hierarchy

  • V1NetworkPolicyPeer

Constructors

Properties

ipBlock?: V1IPBlock
namespaceSelector?: V1LabelSelector
podSelector?: V1LabelSelector
attributeTypeMap: {
    baseName: string;
    name: string;
    type: string;
}[] = ...

Type declaration

  • baseName: string
  • name: string
  • type: string
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        name: string;
        type: string;
    }[]

Generated using TypeDoc