Documentation ¶
Index ¶
- type EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) GetName() *string
- func (b *EgressFirewallApplyConfiguration) WithAPIVersion(value string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithAnnotations(entries map[string]string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithFinalizers(values ...string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithGenerateName(value string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithGeneration(value int64) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithKind(value string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithLabels(entries map[string]string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithName(value string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithNamespace(value string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithResourceVersion(value string) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithSpec(value *EgressFirewallSpecApplyConfiguration) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithStatus(value *EgressFirewallStatusApplyConfiguration) *EgressFirewallApplyConfiguration
- func (b *EgressFirewallApplyConfiguration) WithUID(value types.UID) *EgressFirewallApplyConfiguration
- type EgressFirewallDestinationApplyConfiguration
- func (b *EgressFirewallDestinationApplyConfiguration) WithCIDRSelector(value string) *EgressFirewallDestinationApplyConfiguration
- func (b *EgressFirewallDestinationApplyConfiguration) WithDNSName(value string) *EgressFirewallDestinationApplyConfiguration
- func (b *EgressFirewallDestinationApplyConfiguration) WithNodeSelector(value *v1.LabelSelectorApplyConfiguration) *EgressFirewallDestinationApplyConfiguration
- type EgressFirewallPortApplyConfiguration
- type EgressFirewallRuleApplyConfiguration
- func (b *EgressFirewallRuleApplyConfiguration) WithPorts(values ...*EgressFirewallPortApplyConfiguration) *EgressFirewallRuleApplyConfiguration
- func (b *EgressFirewallRuleApplyConfiguration) WithTo(value *EgressFirewallDestinationApplyConfiguration) *EgressFirewallRuleApplyConfiguration
- func (b *EgressFirewallRuleApplyConfiguration) WithType(value v1.EgressFirewallRuleType) *EgressFirewallRuleApplyConfiguration
- type EgressFirewallSpecApplyConfiguration
- type EgressFirewallStatusApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*EgressFirewallApplyConfiguration) WithAPIVersion ¶
func (b *EgressFirewallApplyConfiguration) WithAPIVersion(value string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithAnnotations(entries map[string]string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithFinalizers(values ...string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithGenerateName(value string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithGeneration(value int64) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithKind(value string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithLabels(entries map[string]string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithName(value string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithNamespace(value string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithResourceVersion(value string) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithSpec(value *EgressFirewallSpecApplyConfiguration) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithStatus(value *EgressFirewallStatusApplyConfiguration) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallApplyConfiguration) WithUID(value types.UID) *EgressFirewallApplyConfiguration
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 ¶
func (b *EgressFirewallDestinationApplyConfiguration) WithCIDRSelector(value string) *EgressFirewallDestinationApplyConfiguration
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 ¶
func (b *EgressFirewallDestinationApplyConfiguration) WithDNSName(value string) *EgressFirewallDestinationApplyConfiguration
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 ¶
func (b *EgressFirewallDestinationApplyConfiguration) WithNodeSelector(value *v1.LabelSelectorApplyConfiguration) *EgressFirewallDestinationApplyConfiguration
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 ¶
func (b *EgressFirewallPortApplyConfiguration) WithPort(value int32) *EgressFirewallPortApplyConfiguration
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 ¶
func (b *EgressFirewallPortApplyConfiguration) WithProtocol(value string) *EgressFirewallPortApplyConfiguration
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 ¶
func (b *EgressFirewallRuleApplyConfiguration) WithPorts(values ...*EgressFirewallPortApplyConfiguration) *EgressFirewallRuleApplyConfiguration
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 ¶
func (b *EgressFirewallRuleApplyConfiguration) WithTo(value *EgressFirewallDestinationApplyConfiguration) *EgressFirewallRuleApplyConfiguration
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 ¶
func (b *EgressFirewallRuleApplyConfiguration) WithType(value v1.EgressFirewallRuleType) *EgressFirewallRuleApplyConfiguration
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 ¶
func (b *EgressFirewallSpecApplyConfiguration) WithEgress(values ...*EgressFirewallRuleApplyConfiguration) *EgressFirewallSpecApplyConfiguration
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 ¶
func (b *EgressFirewallStatusApplyConfiguration) WithMessages(values ...string) *EgressFirewallStatusApplyConfiguration
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 ¶
func (b *EgressFirewallStatusApplyConfiguration) WithStatus(value string) *EgressFirewallStatusApplyConfiguration
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.