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 ¶
func (m *V1alpha1CommonPolicySpecNetworkV1AllowAllToPods) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1alpha1CommonPolicySpecNetworkV1AllowAllToPods) UnmarshalBinary ¶
func (m *V1alpha1CommonPolicySpecNetworkV1AllowAllToPods) UnmarshalBinary(b []byte) error
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 ¶
func (m *V1alpha1CommonPolicySpecNetworkV1CustomEgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1alpha1CommonPolicySpecNetworkV1CustomEgress) UnmarshalBinary ¶
func (m *V1alpha1CommonPolicySpecNetworkV1CustomEgress) UnmarshalBinary(b []byte) error
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 ¶
func (m *V1alpha1CommonPolicySpecNetworkV1CustomIngress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1alpha1CommonPolicySpecNetworkV1CustomIngress) UnmarshalBinary ¶
func (m *V1alpha1CommonPolicySpecNetworkV1CustomIngress) UnmarshalBinary(b []byte) error
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 ¶
func (m *V1alpha1CommonPolicySpecNetworkV1DenyAllToPods) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1alpha1CommonPolicySpecNetworkV1DenyAllToPods) UnmarshalBinary ¶
func (m *V1alpha1CommonPolicySpecNetworkV1DenyAllToPods) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation