Documentation
¶
Index ¶
- type NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithSpec(value *NetworkSpecApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
- type NetworkSpecApplyConfiguration
- type NetworkStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkApplyConfiguration ¶
type NetworkApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *NetworkSpecApplyConfiguration `json:"spec,omitempty"` Status *NetworkStatusApplyConfiguration `json:"status,omitempty"` }
NetworkApplyConfiguration represents an declarative configuration of the Network type for use with apply.
func Network ¶
func Network(name, namespace string) *NetworkApplyConfiguration
Network constructs an declarative configuration of the Network type for use with apply.
func (*NetworkApplyConfiguration) WithAPIVersion ¶
func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithAnnotations ¶
func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithFinalizers ¶
func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithGenerateName ¶
func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithGeneration ¶
func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithKind ¶
func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithLabels ¶
func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithName ¶
func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithNamespace ¶
func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithResourceVersion ¶
func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithSpec ¶
func (b *NetworkApplyConfiguration) WithSpec(value *NetworkSpecApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithStatus ¶
func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithUID ¶
func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
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 NetworkSpecApplyConfiguration ¶
type NetworkSpecApplyConfiguration struct { Provider *string `json:"provider,omitempty"` Hints map[string]string `json:"hints,omitempty"` }
NetworkSpecApplyConfiguration represents an declarative configuration of the NetworkSpec type for use with apply.
func NetworkSpec ¶
func NetworkSpec() *NetworkSpecApplyConfiguration
NetworkSpecApplyConfiguration constructs an declarative configuration of the NetworkSpec type for use with apply.
func (*NetworkSpecApplyConfiguration) WithHints ¶
func (b *NetworkSpecApplyConfiguration) WithHints(entries map[string]string) *NetworkSpecApplyConfiguration
WithHints puts the entries into the Hints 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 Hints field, overwriting an existing map entries in Hints field with the same key.
func (*NetworkSpecApplyConfiguration) WithProvider ¶
func (b *NetworkSpecApplyConfiguration) WithProvider(value string) *NetworkSpecApplyConfiguration
WithProvider sets the Provider 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 Provider field is set to the value of the last call.
type NetworkStatusApplyConfiguration ¶
type NetworkStatusApplyConfiguration struct { NetworkAttachmentDefinitions []string `json:"networkAttachmentDefinitions,omitempty"` Deployments []string `json:"deployments,omitempty"` }
NetworkStatusApplyConfiguration represents an declarative configuration of the NetworkStatus type for use with apply.
func NetworkStatus ¶
func NetworkStatus() *NetworkStatusApplyConfiguration
NetworkStatusApplyConfiguration constructs an declarative configuration of the NetworkStatus type for use with apply.
func (*NetworkStatusApplyConfiguration) WithDeployments ¶
func (b *NetworkStatusApplyConfiguration) WithDeployments(values ...string) *NetworkStatusApplyConfiguration
WithDeployments adds the given value to the Deployments 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 Deployments field.
func (*NetworkStatusApplyConfiguration) WithNetworkAttachmentDefinitions ¶
func (b *NetworkStatusApplyConfiguration) WithNetworkAttachmentDefinitions(values ...string) *NetworkStatusApplyConfiguration
WithNetworkAttachmentDefinitions adds the given value to the NetworkAttachmentDefinitions 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 NetworkAttachmentDefinitions field.