v1alpha1

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminNetworkPolicyApplyConfiguration

type AdminNetworkPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *AdminNetworkPolicySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *AdminNetworkPolicyStatusApplyConfiguration `json:"status,omitempty"`
}

AdminNetworkPolicyApplyConfiguration represents an declarative configuration of the AdminNetworkPolicy type for use with apply.

func AdminNetworkPolicy

func AdminNetworkPolicy(name string) *AdminNetworkPolicyApplyConfiguration

AdminNetworkPolicy constructs an declarative configuration of the AdminNetworkPolicy type for use with apply.

func (*AdminNetworkPolicyApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*AdminNetworkPolicyApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *AdminNetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AdminNetworkPolicyApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*AdminNetworkPolicyApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*AdminNetworkPolicyApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*AdminNetworkPolicyApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*AdminNetworkPolicyApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type AdminNetworkPolicyEgressPeerApplyConfiguration

type AdminNetworkPolicyEgressPeerApplyConfiguration struct {
	Namespaces *v1.LabelSelector                `json:"namespaces,omitempty"`
	Pods       *NamespacedPodApplyConfiguration `json:"pods,omitempty"`
	Nodes      *v1.LabelSelector                `json:"nodes,omitempty"`
	Networks   []apisv1alpha1.CIDR              `json:"networks,omitempty"`
}

AdminNetworkPolicyEgressPeerApplyConfiguration represents an declarative configuration of the AdminNetworkPolicyEgressPeer type for use with apply.

func AdminNetworkPolicyEgressPeer

func AdminNetworkPolicyEgressPeer() *AdminNetworkPolicyEgressPeerApplyConfiguration

AdminNetworkPolicyEgressPeerApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicyEgressPeer type for use with apply.

func (*AdminNetworkPolicyEgressPeerApplyConfiguration) WithNamespaces

WithNamespaces sets the Namespaces field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespaces field is set to the value of the last call.

func (*AdminNetworkPolicyEgressPeerApplyConfiguration) WithNetworks

WithNetworks adds the given value to the Networks field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Networks field.

func (*AdminNetworkPolicyEgressPeerApplyConfiguration) WithNodes

WithNodes sets the Nodes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Nodes field is set to the value of the last call.

func (*AdminNetworkPolicyEgressPeerApplyConfiguration) WithPods

WithPods sets the Pods field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Pods field is set to the value of the last call.

type AdminNetworkPolicyEgressRuleApplyConfiguration

type AdminNetworkPolicyEgressRuleApplyConfiguration struct {
	Name   *string                                          `json:"name,omitempty"`
	Action *v1alpha1.AdminNetworkPolicyRuleAction           `json:"action,omitempty"`
	To     []AdminNetworkPolicyEgressPeerApplyConfiguration `json:"to,omitempty"`
	Ports  *[]AdminNetworkPolicyPortApplyConfiguration      `json:"ports,omitempty"`
}

AdminNetworkPolicyEgressRuleApplyConfiguration represents an declarative configuration of the AdminNetworkPolicyEgressRule type for use with apply.

func AdminNetworkPolicyEgressRule

func AdminNetworkPolicyEgressRule() *AdminNetworkPolicyEgressRuleApplyConfiguration

AdminNetworkPolicyEgressRuleApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicyEgressRule type for use with apply.

func (*AdminNetworkPolicyEgressRuleApplyConfiguration) WithAction

WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.

func (*AdminNetworkPolicyEgressRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*AdminNetworkPolicyEgressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.

func (*AdminNetworkPolicyEgressRuleApplyConfiguration) WithTo

WithTo adds the given value to the To field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the To field.

type AdminNetworkPolicyIngressPeerApplyConfiguration

type AdminNetworkPolicyIngressPeerApplyConfiguration struct {
	Namespaces *v1.LabelSelector                `json:"namespaces,omitempty"`
	Pods       *NamespacedPodApplyConfiguration `json:"pods,omitempty"`
}

AdminNetworkPolicyIngressPeerApplyConfiguration represents an declarative configuration of the AdminNetworkPolicyIngressPeer type for use with apply.

func AdminNetworkPolicyIngressPeer

func AdminNetworkPolicyIngressPeer() *AdminNetworkPolicyIngressPeerApplyConfiguration

AdminNetworkPolicyIngressPeerApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicyIngressPeer type for use with apply.

func (*AdminNetworkPolicyIngressPeerApplyConfiguration) WithNamespaces

WithNamespaces sets the Namespaces field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespaces field is set to the value of the last call.

func (*AdminNetworkPolicyIngressPeerApplyConfiguration) WithPods

WithPods sets the Pods field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Pods field is set to the value of the last call.

type AdminNetworkPolicyIngressRuleApplyConfiguration

type AdminNetworkPolicyIngressRuleApplyConfiguration struct {
	Name   *string                                           `json:"name,omitempty"`
	Action *v1alpha1.AdminNetworkPolicyRuleAction            `json:"action,omitempty"`
	From   []AdminNetworkPolicyIngressPeerApplyConfiguration `json:"from,omitempty"`
	Ports  *[]AdminNetworkPolicyPortApplyConfiguration       `json:"ports,omitempty"`
}

AdminNetworkPolicyIngressRuleApplyConfiguration represents an declarative configuration of the AdminNetworkPolicyIngressRule type for use with apply.

func AdminNetworkPolicyIngressRule

func AdminNetworkPolicyIngressRule() *AdminNetworkPolicyIngressRuleApplyConfiguration

AdminNetworkPolicyIngressRuleApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicyIngressRule type for use with apply.

func (*AdminNetworkPolicyIngressRuleApplyConfiguration) WithAction

WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.

func (*AdminNetworkPolicyIngressRuleApplyConfiguration) WithFrom

WithFrom adds the given value to the From field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the From field.

func (*AdminNetworkPolicyIngressRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*AdminNetworkPolicyIngressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.

type AdminNetworkPolicyPortApplyConfiguration

type AdminNetworkPolicyPortApplyConfiguration struct {
	PortNumber *PortApplyConfiguration      `json:"portNumber,omitempty"`
	NamedPort  *string                      `json:"namedPort,omitempty"`
	PortRange  *PortRangeApplyConfiguration `json:"portRange,omitempty"`
}

AdminNetworkPolicyPortApplyConfiguration represents an declarative configuration of the AdminNetworkPolicyPort type for use with apply.

func AdminNetworkPolicyPort

func AdminNetworkPolicyPort() *AdminNetworkPolicyPortApplyConfiguration

AdminNetworkPolicyPortApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicyPort type for use with apply.

func (*AdminNetworkPolicyPortApplyConfiguration) WithNamedPort

WithNamedPort sets the NamedPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamedPort field is set to the value of the last call.

func (*AdminNetworkPolicyPortApplyConfiguration) WithPortNumber

WithPortNumber sets the PortNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortNumber field is set to the value of the last call.

func (*AdminNetworkPolicyPortApplyConfiguration) WithPortRange

WithPortRange sets the PortRange field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRange field is set to the value of the last call.

type AdminNetworkPolicySpecApplyConfiguration

type AdminNetworkPolicySpecApplyConfiguration struct {
	Priority *int32                                            `json:"priority,omitempty"`
	Subject  *AdminNetworkPolicySubjectApplyConfiguration      `json:"subject,omitempty"`
	Ingress  []AdminNetworkPolicyIngressRuleApplyConfiguration `json:"ingress,omitempty"`
	Egress   []AdminNetworkPolicyEgressRuleApplyConfiguration  `json:"egress,omitempty"`
}

AdminNetworkPolicySpecApplyConfiguration represents an declarative configuration of the AdminNetworkPolicySpec type for use with apply.

func AdminNetworkPolicySpec

func AdminNetworkPolicySpec() *AdminNetworkPolicySpecApplyConfiguration

AdminNetworkPolicySpecApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicySpec type for use with apply.

func (*AdminNetworkPolicySpecApplyConfiguration) WithEgress

WithEgress adds the given value to the Egress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Egress field.

func (*AdminNetworkPolicySpecApplyConfiguration) WithIngress

WithIngress adds the given value to the Ingress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ingress field.

func (*AdminNetworkPolicySpecApplyConfiguration) WithPriority

WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.

func (*AdminNetworkPolicySpecApplyConfiguration) WithSubject

WithSubject sets the Subject field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subject field is set to the value of the last call.

type AdminNetworkPolicyStatusApplyConfiguration

type AdminNetworkPolicyStatusApplyConfiguration struct {
	Conditions []v1.Condition `json:"conditions,omitempty"`
}

AdminNetworkPolicyStatusApplyConfiguration represents an declarative configuration of the AdminNetworkPolicyStatus type for use with apply.

func AdminNetworkPolicyStatus

func AdminNetworkPolicyStatus() *AdminNetworkPolicyStatusApplyConfiguration

AdminNetworkPolicyStatusApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicyStatus type for use with apply.

func (*AdminNetworkPolicyStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

type AdminNetworkPolicySubjectApplyConfiguration

type AdminNetworkPolicySubjectApplyConfiguration struct {
	Namespaces *v1.LabelSelector                `json:"namespaces,omitempty"`
	Pods       *NamespacedPodApplyConfiguration `json:"pods,omitempty"`
}

AdminNetworkPolicySubjectApplyConfiguration represents an declarative configuration of the AdminNetworkPolicySubject type for use with apply.

func AdminNetworkPolicySubject

func AdminNetworkPolicySubject() *AdminNetworkPolicySubjectApplyConfiguration

AdminNetworkPolicySubjectApplyConfiguration constructs an declarative configuration of the AdminNetworkPolicySubject type for use with apply.

func (*AdminNetworkPolicySubjectApplyConfiguration) WithNamespaces

WithNamespaces sets the Namespaces field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespaces field is set to the value of the last call.

func (*AdminNetworkPolicySubjectApplyConfiguration) WithPods

WithPods sets the Pods field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Pods field is set to the value of the last call.

type BaselineAdminNetworkPolicyApplyConfiguration

type BaselineAdminNetworkPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *BaselineAdminNetworkPolicySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *BaselineAdminNetworkPolicyStatusApplyConfiguration `json:"status,omitempty"`
}

BaselineAdminNetworkPolicyApplyConfiguration represents an declarative configuration of the BaselineAdminNetworkPolicy type for use with apply.

func BaselineAdminNetworkPolicy

func BaselineAdminNetworkPolicy(name string) *BaselineAdminNetworkPolicyApplyConfiguration

BaselineAdminNetworkPolicy constructs an declarative configuration of the BaselineAdminNetworkPolicy type for use with apply.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type BaselineAdminNetworkPolicyEgressRuleApplyConfiguration

type BaselineAdminNetworkPolicyEgressRuleApplyConfiguration struct {
	Name   *string                                          `json:"name,omitempty"`
	Action *v1alpha1.BaselineAdminNetworkPolicyRuleAction   `json:"action,omitempty"`
	To     []AdminNetworkPolicyEgressPeerApplyConfiguration `json:"to,omitempty"`
	Ports  *[]AdminNetworkPolicyPortApplyConfiguration      `json:"ports,omitempty"`
}

BaselineAdminNetworkPolicyEgressRuleApplyConfiguration represents an declarative configuration of the BaselineAdminNetworkPolicyEgressRule type for use with apply.

func BaselineAdminNetworkPolicyEgressRule

func BaselineAdminNetworkPolicyEgressRule() *BaselineAdminNetworkPolicyEgressRuleApplyConfiguration

BaselineAdminNetworkPolicyEgressRuleApplyConfiguration constructs an declarative configuration of the BaselineAdminNetworkPolicyEgressRule type for use with apply.

func (*BaselineAdminNetworkPolicyEgressRuleApplyConfiguration) WithAction

WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyEgressRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyEgressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.

func (*BaselineAdminNetworkPolicyEgressRuleApplyConfiguration) WithTo

WithTo adds the given value to the To field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the To field.

type BaselineAdminNetworkPolicyIngressRuleApplyConfiguration

type BaselineAdminNetworkPolicyIngressRuleApplyConfiguration struct {
	Name   *string                                           `json:"name,omitempty"`
	Action *v1alpha1.BaselineAdminNetworkPolicyRuleAction    `json:"action,omitempty"`
	From   []AdminNetworkPolicyIngressPeerApplyConfiguration `json:"from,omitempty"`
	Ports  *[]AdminNetworkPolicyPortApplyConfiguration       `json:"ports,omitempty"`
}

BaselineAdminNetworkPolicyIngressRuleApplyConfiguration represents an declarative configuration of the BaselineAdminNetworkPolicyIngressRule type for use with apply.

func BaselineAdminNetworkPolicyIngressRule

func BaselineAdminNetworkPolicyIngressRule() *BaselineAdminNetworkPolicyIngressRuleApplyConfiguration

BaselineAdminNetworkPolicyIngressRuleApplyConfiguration constructs an declarative configuration of the BaselineAdminNetworkPolicyIngressRule type for use with apply.

func (*BaselineAdminNetworkPolicyIngressRuleApplyConfiguration) WithAction

WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyIngressRuleApplyConfiguration) WithFrom

WithFrom adds the given value to the From field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the From field.

func (*BaselineAdminNetworkPolicyIngressRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*BaselineAdminNetworkPolicyIngressRuleApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.

type BaselineAdminNetworkPolicySpecApplyConfiguration

type BaselineAdminNetworkPolicySpecApplyConfiguration struct {
	Subject *AdminNetworkPolicySubjectApplyConfiguration              `json:"subject,omitempty"`
	Ingress []BaselineAdminNetworkPolicyIngressRuleApplyConfiguration `json:"ingress,omitempty"`
	Egress  []BaselineAdminNetworkPolicyEgressRuleApplyConfiguration  `json:"egress,omitempty"`
}

BaselineAdminNetworkPolicySpecApplyConfiguration represents an declarative configuration of the BaselineAdminNetworkPolicySpec type for use with apply.

func BaselineAdminNetworkPolicySpec

func BaselineAdminNetworkPolicySpec() *BaselineAdminNetworkPolicySpecApplyConfiguration

BaselineAdminNetworkPolicySpecApplyConfiguration constructs an declarative configuration of the BaselineAdminNetworkPolicySpec type for use with apply.

func (*BaselineAdminNetworkPolicySpecApplyConfiguration) WithEgress

WithEgress adds the given value to the Egress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Egress field.

func (*BaselineAdminNetworkPolicySpecApplyConfiguration) WithIngress

WithIngress adds the given value to the Ingress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ingress field.

func (*BaselineAdminNetworkPolicySpecApplyConfiguration) WithSubject

WithSubject sets the Subject field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subject field is set to the value of the last call.

type BaselineAdminNetworkPolicyStatusApplyConfiguration

type BaselineAdminNetworkPolicyStatusApplyConfiguration struct {
	Conditions []v1.Condition `json:"conditions,omitempty"`
}

BaselineAdminNetworkPolicyStatusApplyConfiguration represents an declarative configuration of the BaselineAdminNetworkPolicyStatus type for use with apply.

func BaselineAdminNetworkPolicyStatus

func BaselineAdminNetworkPolicyStatus() *BaselineAdminNetworkPolicyStatusApplyConfiguration

BaselineAdminNetworkPolicyStatusApplyConfiguration constructs an declarative configuration of the BaselineAdminNetworkPolicyStatus type for use with apply.

func (*BaselineAdminNetworkPolicyStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

type NamespacedPeerApplyConfiguration

type NamespacedPeerApplyConfiguration struct {
	NamespaceSelector *v1.LabelSelector `json:"namespaceSelector,omitempty"`
	SameLabels        []string          `json:"sameLabels,omitempty"`
	NotSameLabels     []string          `json:"notSameLabels,omitempty"`
}

NamespacedPeerApplyConfiguration represents an declarative configuration of the NamespacedPeer type for use with apply.

func NamespacedPeer

func NamespacedPeer() *NamespacedPeerApplyConfiguration

NamespacedPeerApplyConfiguration constructs an declarative configuration of the NamespacedPeer type for use with apply.

func (*NamespacedPeerApplyConfiguration) WithNamespaceSelector

WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.

func (*NamespacedPeerApplyConfiguration) WithNotSameLabels

WithNotSameLabels adds the given value to the NotSameLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NotSameLabels field.

func (*NamespacedPeerApplyConfiguration) WithSameLabels

WithSameLabels adds the given value to the SameLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SameLabels field.

type NamespacedPodApplyConfiguration

type NamespacedPodApplyConfiguration struct {
	NamespaceSelector *v1.LabelSelector `json:"namespaceSelector,omitempty"`
	PodSelector       *v1.LabelSelector `json:"podSelector,omitempty"`
}

NamespacedPodApplyConfiguration represents an declarative configuration of the NamespacedPod type for use with apply.

func NamespacedPod

func NamespacedPod() *NamespacedPodApplyConfiguration

NamespacedPodApplyConfiguration constructs an declarative configuration of the NamespacedPod type for use with apply.

func (*NamespacedPodApplyConfiguration) WithNamespaceSelector

WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.

func (*NamespacedPodApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodSelector field is set to the value of the last call.

type NamespacedPodPeerApplyConfiguration

type NamespacedPodPeerApplyConfiguration struct {
	Namespaces  *NamespacedPeerApplyConfiguration `json:"namespaces,omitempty"`
	PodSelector *v1.LabelSelector                 `json:"podSelector,omitempty"`
}

NamespacedPodPeerApplyConfiguration represents an declarative configuration of the NamespacedPodPeer type for use with apply.

func NamespacedPodPeer

func NamespacedPodPeer() *NamespacedPodPeerApplyConfiguration

NamespacedPodPeerApplyConfiguration constructs an declarative configuration of the NamespacedPodPeer type for use with apply.

func (*NamespacedPodPeerApplyConfiguration) WithNamespaces

WithNamespaces sets the Namespaces field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespaces field is set to the value of the last call.

func (*NamespacedPodPeerApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodSelector field is set to the value of the last call.

type NamespacedPodSubjectApplyConfiguration

type NamespacedPodSubjectApplyConfiguration struct {
	NamespaceSelector *v1.LabelSelector `json:"namespaceSelector,omitempty"`
	PodSelector       *v1.LabelSelector `json:"podSelector,omitempty"`
}

NamespacedPodSubjectApplyConfiguration represents an declarative configuration of the NamespacedPodSubject type for use with apply.

func NamespacedPodSubject

func NamespacedPodSubject() *NamespacedPodSubjectApplyConfiguration

NamespacedPodSubjectApplyConfiguration constructs an declarative configuration of the NamespacedPodSubject type for use with apply.

func (*NamespacedPodSubjectApplyConfiguration) WithNamespaceSelector

WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.

func (*NamespacedPodSubjectApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodSelector field is set to the value of the last call.

type PortApplyConfiguration

type PortApplyConfiguration struct {
	Protocol *v1.Protocol `json:"protocol,omitempty"`
	Port     *int32       `json:"port,omitempty"`
}

PortApplyConfiguration represents an declarative configuration of the Port type for use with apply.

func Port

func Port() *PortApplyConfiguration

PortApplyConfiguration constructs an declarative configuration of the Port type for use with apply.

func (*PortApplyConfiguration) WithPort

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*PortApplyConfiguration) WithProtocol

func (b *PortApplyConfiguration) WithProtocol(value v1.Protocol) *PortApplyConfiguration

WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.

type PortRangeApplyConfiguration

type PortRangeApplyConfiguration struct {
	Protocol *v1.Protocol `json:"protocol,omitempty"`
	Start    *int32       `json:"start,omitempty"`
	End      *int32       `json:"end,omitempty"`
}

PortRangeApplyConfiguration represents an declarative configuration of the PortRange type for use with apply.

func PortRange

func PortRange() *PortRangeApplyConfiguration

PortRangeApplyConfiguration constructs an declarative configuration of the PortRange type for use with apply.

func (*PortRangeApplyConfiguration) WithEnd

WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.

func (*PortRangeApplyConfiguration) WithProtocol

WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.

func (*PortRangeApplyConfiguration) WithStart

WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.

Jump to

Keyboard shortcuts

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