v1

package
v0.0.0-...-c6fb7fd Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EgressFirewallApplyConfiguration

type EgressFirewallApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *EgressFirewallSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *EgressFirewallStatusApplyConfiguration `json:"status,omitempty"`
}

EgressFirewallApplyConfiguration represents a declarative configuration of the EgressFirewall type for use with apply.

func EgressFirewall

func EgressFirewall(name, namespace string) *EgressFirewallApplyConfiguration

EgressFirewall constructs a declarative configuration of the EgressFirewall type for use with apply.

func (*EgressFirewallApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 (*EgressFirewallApplyConfiguration) 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 EgressFirewallDestinationApplyConfiguration

type EgressFirewallDestinationApplyConfiguration struct {
	CIDRSelector *string                             `json:"cidrSelector,omitempty"`
	DNSName      *string                             `json:"dnsName,omitempty"`
	NodeSelector *v1.LabelSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
}

EgressFirewallDestinationApplyConfiguration represents a declarative configuration of the EgressFirewallDestination type for use with apply.

func EgressFirewallDestination

func EgressFirewallDestination() *EgressFirewallDestinationApplyConfiguration

EgressFirewallDestinationApplyConfiguration constructs a declarative configuration of the EgressFirewallDestination type for use with apply.

func (*EgressFirewallDestinationApplyConfiguration) WithCIDRSelector

WithCIDRSelector sets the CIDRSelector 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 CIDRSelector field is set to the value of the last call.

func (*EgressFirewallDestinationApplyConfiguration) WithDNSName

WithDNSName sets the DNSName 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 DNSName field is set to the value of the last call.

func (*EgressFirewallDestinationApplyConfiguration) WithNodeSelector

WithNodeSelector sets the NodeSelector 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 NodeSelector field is set to the value of the last call.

type EgressFirewallPortApplyConfiguration

type EgressFirewallPortApplyConfiguration struct {
	Protocol *string `json:"protocol,omitempty"`
	Port     *int32  `json:"port,omitempty"`
}

EgressFirewallPortApplyConfiguration represents a declarative configuration of the EgressFirewallPort type for use with apply.

func EgressFirewallPort

func EgressFirewallPort() *EgressFirewallPortApplyConfiguration

EgressFirewallPortApplyConfiguration constructs a declarative configuration of the EgressFirewallPort type for use with apply.

func (*EgressFirewallPortApplyConfiguration) 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 (*EgressFirewallPortApplyConfiguration) 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.

type EgressFirewallRuleApplyConfiguration

type EgressFirewallRuleApplyConfiguration struct {
	Type  *v1.EgressFirewallRuleType                   `json:"type,omitempty"`
	Ports []EgressFirewallPortApplyConfiguration       `json:"ports,omitempty"`
	To    *EgressFirewallDestinationApplyConfiguration `json:"to,omitempty"`
}

EgressFirewallRuleApplyConfiguration represents a declarative configuration of the EgressFirewallRule type for use with apply.

func EgressFirewallRule

func EgressFirewallRule() *EgressFirewallRuleApplyConfiguration

EgressFirewallRuleApplyConfiguration constructs a declarative configuration of the EgressFirewallRule type for use with apply.

func (*EgressFirewallRuleApplyConfiguration) 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 (*EgressFirewallRuleApplyConfiguration) WithTo

WithTo sets the To 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 To field is set to the value of the last call.

func (*EgressFirewallRuleApplyConfiguration) WithType

WithType sets the Type 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 Type field is set to the value of the last call.

type EgressFirewallSpecApplyConfiguration

type EgressFirewallSpecApplyConfiguration struct {
	Egress []EgressFirewallRuleApplyConfiguration `json:"egress,omitempty"`
}

EgressFirewallSpecApplyConfiguration represents a declarative configuration of the EgressFirewallSpec type for use with apply.

func EgressFirewallSpec

func EgressFirewallSpec() *EgressFirewallSpecApplyConfiguration

EgressFirewallSpecApplyConfiguration constructs a declarative configuration of the EgressFirewallSpec type for use with apply.

func (*EgressFirewallSpecApplyConfiguration) 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.

type EgressFirewallStatusApplyConfiguration

type EgressFirewallStatusApplyConfiguration struct {
	Status   *string  `json:"status,omitempty"`
	Messages []string `json:"messages,omitempty"`
}

EgressFirewallStatusApplyConfiguration represents a declarative configuration of the EgressFirewallStatus type for use with apply.

func EgressFirewallStatus

func EgressFirewallStatus() *EgressFirewallStatusApplyConfiguration

EgressFirewallStatusApplyConfiguration constructs a declarative configuration of the EgressFirewallStatus type for use with apply.

func (*EgressFirewallStatusApplyConfiguration) WithMessages

WithMessages adds the given value to the Messages 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 Messages field.

func (*EgressFirewallStatusApplyConfiguration) 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.

Jump to

Keyboard shortcuts

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