policyrecipenetworkmodel

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1alpha1CommonPolicySpecNetworkV1AllowAll

type V1alpha1CommonPolicySpecNetworkV1AllowAll struct {

	// Allow traffic only from own namespace
	// Allow traffic only from pods in the same namespace as the destination pod. Defaults to false (allow from all namespaces).
	FromOwnNamespace *bool `json:"fromOwnNamespace,omitempty"`
}

V1alpha1CommonPolicySpecNetworkV1AllowAll allow-all schema

swagger:model V1alpha1CommonPolicySpecNetworkV1AllowAll

func (*V1alpha1CommonPolicySpecNetworkV1AllowAll) MarshalBinary

func (m *V1alpha1CommonPolicySpecNetworkV1AllowAll) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1alpha1CommonPolicySpecNetworkV1AllowAll) UnmarshalBinary

func (m *V1alpha1CommonPolicySpecNetworkV1AllowAll) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

type V1alpha1CommonPolicySpecNetworkV1AllowAllToPods

type V1alpha1CommonPolicySpecNetworkV1AllowAllToPods struct {

	// Allow traffic only from own namespace
	// Allow traffic only from pods in the same namespace as the destination pod. Defaults to false (allow from all namespaces).
	FromOwnNamespace *bool `json:"fromOwnNamespace,omitempty"`

	// Pod Labels on which traffic should be allowed
	// Use a label selector to identify the pods to which the policy applies
	// Required: true
	ToPodLabels []*policyrecipenetworkcommonmodel.V1alpha1CommonPolicySpecNetworkV1Labels `json:"toPodLabels"`
}

V1alpha1CommonPolicySpecNetworkV1AllowAllToPods allow-all-to-pods schema

swagger:model V1alpha1CommonPolicySpecNetworkV1AllowAllToPods

func (*V1alpha1CommonPolicySpecNetworkV1AllowAllToPods) MarshalBinary

MarshalBinary interface implementation

func (*V1alpha1CommonPolicySpecNetworkV1AllowAllToPods) UnmarshalBinary

UnmarshalBinary interface implementation

type V1alpha1CommonPolicySpecNetworkV1CustomEgress

type V1alpha1CommonPolicySpecNetworkV1CustomEgress struct {

	// This specifies list of egress rules to be applied to the selected pods.
	Rules []policyrecipenetworkcommonmodel.V1alpha1CommonPolicySpecNetworkV1CustomRules `json:"rules"`

	// Use a label selector to identify the pods to which the policy applies.
	ToPodLabels *[]policyrecipenetworkcommonmodel.V1alpha1CommonPolicySpecNetworkV1Labels `json:"toPodLabels"`
}

V1alpha1CommonPolicySpecNetworkV1CustomEgress The input schema for network policy custom egress recipe version v1.

func (*V1alpha1CommonPolicySpecNetworkV1CustomEgress) MarshalBinary

MarshalBinary interface implementation

func (*V1alpha1CommonPolicySpecNetworkV1CustomEgress) UnmarshalBinary

UnmarshalBinary interface implementation

type V1alpha1CommonPolicySpecNetworkV1CustomIngress

type V1alpha1CommonPolicySpecNetworkV1CustomIngress struct {

	// This specifies list of ingress rules to be applied to the selected pods.
	Rules []policyrecipenetworkcommonmodel.V1alpha1CommonPolicySpecNetworkV1CustomRules `json:"rules"`

	// Use a label selector to identify the pods to which the policy applies.
	ToPodLabels *[]policyrecipenetworkcommonmodel.V1alpha1CommonPolicySpecNetworkV1Labels `json:"toPodLabels"`
}

V1alpha1CommonPolicySpecNetworkV1CustomIngress The input schema for network policy custom ingress recipe version v1.

func (*V1alpha1CommonPolicySpecNetworkV1CustomIngress) MarshalBinary

MarshalBinary interface implementation

func (*V1alpha1CommonPolicySpecNetworkV1CustomIngress) UnmarshalBinary

UnmarshalBinary interface implementation

type V1alpha1CommonPolicySpecNetworkV1DenyAllToPods

type V1alpha1CommonPolicySpecNetworkV1DenyAllToPods struct {

	// Pod Labels on which traffic should be denied
	// Use a label selector to identify the pods to which the policy applies
	// Required: true
	ToPodLabels []*policyrecipenetworkcommonmodel.V1alpha1CommonPolicySpecNetworkV1Labels `json:"toPodLabels"`
}

V1alpha1CommonPolicySpecNetworkV1DenyAllToPods allow-all-to-pods schema

swagger:model V1alpha1CommonPolicySpecNetworkV1DenyAllToPods

func (*V1alpha1CommonPolicySpecNetworkV1DenyAllToPods) MarshalBinary

MarshalBinary interface implementation

func (*V1alpha1CommonPolicySpecNetworkV1DenyAllToPods) UnmarshalBinary

UnmarshalBinary interface implementation

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL