Documentation ¶
Index ¶
- type IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithAPIVersion(value string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithAnnotations(entries map[string]string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithFinalizers(values ...string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithGenerateName(value string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithGeneration(value int64) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithKind(value string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithLabels(entries map[string]string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithName(value string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithNamespace(value string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithResourceVersion(value string) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithSpec(value *IPPoolSpecApplyConfiguration) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithStatus(value *IPPoolStatusApplyConfiguration) *IPPoolApplyConfiguration
- func (b *IPPoolApplyConfiguration) WithUID(value types.UID) *IPPoolApplyConfiguration
- type IPPoolSpecApplyConfiguration
- func (b *IPPoolSpecApplyConfiguration) WithBindInterface(value string) *IPPoolSpecApplyConfiguration
- func (b *IPPoolSpecApplyConfiguration) WithIPv4Config(value *IPv4ConfigApplyConfiguration) *IPPoolSpecApplyConfiguration
- func (b *IPPoolSpecApplyConfiguration) WithNetworkName(value string) *IPPoolSpecApplyConfiguration
- type IPPoolStatusApplyConfiguration
- func (b *IPPoolStatusApplyConfiguration) WithIPv4(value *IPv4StatusApplyConfiguration) *IPPoolStatusApplyConfiguration
- func (b *IPPoolStatusApplyConfiguration) WithLastUpdate(value v1.Time) *IPPoolStatusApplyConfiguration
- func (b *IPPoolStatusApplyConfiguration) WithLastUpdateBeforeStart(value v1.Time) *IPPoolStatusApplyConfiguration
- type IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithDNS(values ...string) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithDomainName(value string) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithDomainSearch(values ...string) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithLeaseTime(value int) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithNTP(values ...string) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithPool(value *PoolApplyConfiguration) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithRouter(value string) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithServerIP(value string) *IPv4ConfigApplyConfiguration
- func (b *IPv4ConfigApplyConfiguration) WithSubnet(value string) *IPv4ConfigApplyConfiguration
- type IPv4StatusApplyConfiguration
- type NetworkConfigApplyConfiguration
- func (b *NetworkConfigApplyConfiguration) WithIPAddress(value string) *NetworkConfigApplyConfiguration
- func (b *NetworkConfigApplyConfiguration) WithMACAddress(value string) *NetworkConfigApplyConfiguration
- func (b *NetworkConfigApplyConfiguration) WithNetworkName(value string) *NetworkConfigApplyConfiguration
- type NetworkConfigStatusApplyConfiguration
- func (b *NetworkConfigStatusApplyConfiguration) WithMACAddress(value string) *NetworkConfigStatusApplyConfiguration
- func (b *NetworkConfigStatusApplyConfiguration) WithMessage(value string) *NetworkConfigStatusApplyConfiguration
- func (b *NetworkConfigStatusApplyConfiguration) WithNetworkName(value string) *NetworkConfigStatusApplyConfiguration
- func (b *NetworkConfigStatusApplyConfiguration) WithStatus(value string) *NetworkConfigStatusApplyConfiguration
- type PoolApplyConfiguration
- type VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithAPIVersion(value string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithAnnotations(entries map[string]string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithFinalizers(values ...string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithGenerateName(value string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithGeneration(value int64) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithKind(value string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithLabels(entries map[string]string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithName(value string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithNamespace(value string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithResourceVersion(value string) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithSpec(value *VirtualMachineNetworkConfigSpecApplyConfiguration) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithStatus(value *VirtualMachineNetworkConfigStatusApplyConfiguration) *VirtualMachineNetworkConfigApplyConfiguration
- func (b *VirtualMachineNetworkConfigApplyConfiguration) WithUID(value types.UID) *VirtualMachineNetworkConfigApplyConfiguration
- type VirtualMachineNetworkConfigSpecApplyConfiguration
- func (b *VirtualMachineNetworkConfigSpecApplyConfiguration) WithNetworkConfig(values ...*NetworkConfigApplyConfiguration) *VirtualMachineNetworkConfigSpecApplyConfiguration
- func (b *VirtualMachineNetworkConfigSpecApplyConfiguration) WithVMName(value string) *VirtualMachineNetworkConfigSpecApplyConfiguration
- type VirtualMachineNetworkConfigStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPPoolApplyConfiguration ¶
type IPPoolApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *IPPoolSpecApplyConfiguration `json:"spec,omitempty"` Status *IPPoolStatusApplyConfiguration `json:"status,omitempty"` }
IPPoolApplyConfiguration represents an declarative configuration of the IPPool type for use with apply.
func IPPool ¶
func IPPool(name string) *IPPoolApplyConfiguration
IPPool constructs an declarative configuration of the IPPool type for use with apply.
func (*IPPoolApplyConfiguration) WithAPIVersion ¶
func (b *IPPoolApplyConfiguration) WithAPIVersion(value string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithAnnotations ¶
func (b *IPPoolApplyConfiguration) WithAnnotations(entries map[string]string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithCreationTimestamp ¶
func (b *IPPoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *IPPoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithDeletionTimestamp ¶
func (b *IPPoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithFinalizers ¶
func (b *IPPoolApplyConfiguration) WithFinalizers(values ...string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithGenerateName ¶
func (b *IPPoolApplyConfiguration) WithGenerateName(value string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithGeneration ¶
func (b *IPPoolApplyConfiguration) WithGeneration(value int64) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithKind ¶
func (b *IPPoolApplyConfiguration) WithKind(value string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithLabels ¶
func (b *IPPoolApplyConfiguration) WithLabels(entries map[string]string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithName ¶
func (b *IPPoolApplyConfiguration) WithName(value string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithNamespace ¶
func (b *IPPoolApplyConfiguration) WithNamespace(value string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithOwnerReferences ¶
func (b *IPPoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithResourceVersion ¶
func (b *IPPoolApplyConfiguration) WithResourceVersion(value string) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithSpec ¶
func (b *IPPoolApplyConfiguration) WithSpec(value *IPPoolSpecApplyConfiguration) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithStatus ¶
func (b *IPPoolApplyConfiguration) WithStatus(value *IPPoolStatusApplyConfiguration) *IPPoolApplyConfiguration
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 (*IPPoolApplyConfiguration) WithUID ¶
func (b *IPPoolApplyConfiguration) WithUID(value types.UID) *IPPoolApplyConfiguration
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 IPPoolSpecApplyConfiguration ¶
type IPPoolSpecApplyConfiguration struct { IPv4Config *IPv4ConfigApplyConfiguration `json:"ipv4config,omitempty"` NetworkName *string `json:"networkname,omitempty"` BindInterface *string `json:"bindinterface,omitempty"` }
IPPoolSpecApplyConfiguration represents an declarative configuration of the IPPoolSpec type for use with apply.
func IPPoolSpec ¶
func IPPoolSpec() *IPPoolSpecApplyConfiguration
IPPoolSpecApplyConfiguration constructs an declarative configuration of the IPPoolSpec type for use with apply.
func (*IPPoolSpecApplyConfiguration) WithBindInterface ¶ added in v0.5.0
func (b *IPPoolSpecApplyConfiguration) WithBindInterface(value string) *IPPoolSpecApplyConfiguration
WithBindInterface sets the BindInterface 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 BindInterface field is set to the value of the last call.
func (*IPPoolSpecApplyConfiguration) WithIPv4Config ¶
func (b *IPPoolSpecApplyConfiguration) WithIPv4Config(value *IPv4ConfigApplyConfiguration) *IPPoolSpecApplyConfiguration
WithIPv4Config sets the IPv4Config 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 IPv4Config field is set to the value of the last call.
func (*IPPoolSpecApplyConfiguration) WithNetworkName ¶
func (b *IPPoolSpecApplyConfiguration) WithNetworkName(value string) *IPPoolSpecApplyConfiguration
WithNetworkName sets the NetworkName 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 NetworkName field is set to the value of the last call.
type IPPoolStatusApplyConfiguration ¶
type IPPoolStatusApplyConfiguration struct { LastUpdate *v1.Time `json:"lastupdate,omitempty"` LastUpdateBeforeStart *v1.Time `json:"lastupdatebeforestart,omitempty"` IPv4 *IPv4StatusApplyConfiguration `json:"ipv4,omitempty"` }
IPPoolStatusApplyConfiguration represents an declarative configuration of the IPPoolStatus type for use with apply.
func IPPoolStatus ¶
func IPPoolStatus() *IPPoolStatusApplyConfiguration
IPPoolStatusApplyConfiguration constructs an declarative configuration of the IPPoolStatus type for use with apply.
func (*IPPoolStatusApplyConfiguration) WithIPv4 ¶
func (b *IPPoolStatusApplyConfiguration) WithIPv4(value *IPv4StatusApplyConfiguration) *IPPoolStatusApplyConfiguration
WithIPv4 sets the IPv4 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 IPv4 field is set to the value of the last call.
func (*IPPoolStatusApplyConfiguration) WithLastUpdate ¶
func (b *IPPoolStatusApplyConfiguration) WithLastUpdate(value v1.Time) *IPPoolStatusApplyConfiguration
WithLastUpdate sets the LastUpdate 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 LastUpdate field is set to the value of the last call.
func (*IPPoolStatusApplyConfiguration) WithLastUpdateBeforeStart ¶
func (b *IPPoolStatusApplyConfiguration) WithLastUpdateBeforeStart(value v1.Time) *IPPoolStatusApplyConfiguration
WithLastUpdateBeforeStart sets the LastUpdateBeforeStart 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 LastUpdateBeforeStart field is set to the value of the last call.
type IPv4ConfigApplyConfiguration ¶
type IPv4ConfigApplyConfiguration struct { ServerIP *string `json:"serverip,omitempty"` Subnet *string `json:"subnet,omitempty"` Pool *PoolApplyConfiguration `json:"pool,omitempty"` Router *string `json:"router,omitempty"` DNS []string `json:"dns,omitempty"` DomainName *string `json:"domainname,omitempty"` DomainSearch []string `json:"domainsearch,omitempty"` NTP []string `json:"ntp,omitempty"` LeaseTime *int `json:"leasetime,omitempty"` }
IPv4ConfigApplyConfiguration represents an declarative configuration of the IPv4Config type for use with apply.
func IPv4Config ¶
func IPv4Config() *IPv4ConfigApplyConfiguration
IPv4ConfigApplyConfiguration constructs an declarative configuration of the IPv4Config type for use with apply.
func (*IPv4ConfigApplyConfiguration) WithDNS ¶
func (b *IPv4ConfigApplyConfiguration) WithDNS(values ...string) *IPv4ConfigApplyConfiguration
WithDNS adds the given value to the DNS 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 DNS field.
func (*IPv4ConfigApplyConfiguration) WithDomainName ¶ added in v0.2.0
func (b *IPv4ConfigApplyConfiguration) WithDomainName(value string) *IPv4ConfigApplyConfiguration
WithDomainName sets the DomainName 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 DomainName field is set to the value of the last call.
func (*IPv4ConfigApplyConfiguration) WithDomainSearch ¶ added in v0.2.0
func (b *IPv4ConfigApplyConfiguration) WithDomainSearch(values ...string) *IPv4ConfigApplyConfiguration
WithDomainSearch adds the given value to the DomainSearch 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 DomainSearch field.
func (*IPv4ConfigApplyConfiguration) WithLeaseTime ¶ added in v0.2.0
func (b *IPv4ConfigApplyConfiguration) WithLeaseTime(value int) *IPv4ConfigApplyConfiguration
WithLeaseTime sets the LeaseTime 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 LeaseTime field is set to the value of the last call.
func (*IPv4ConfigApplyConfiguration) WithNTP ¶ added in v0.2.0
func (b *IPv4ConfigApplyConfiguration) WithNTP(values ...string) *IPv4ConfigApplyConfiguration
WithNTP adds the given value to the NTP 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 NTP field.
func (*IPv4ConfigApplyConfiguration) WithPool ¶
func (b *IPv4ConfigApplyConfiguration) WithPool(value *PoolApplyConfiguration) *IPv4ConfigApplyConfiguration
WithPool sets the Pool 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 Pool field is set to the value of the last call.
func (*IPv4ConfigApplyConfiguration) WithRouter ¶
func (b *IPv4ConfigApplyConfiguration) WithRouter(value string) *IPv4ConfigApplyConfiguration
WithRouter sets the Router 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 Router field is set to the value of the last call.
func (*IPv4ConfigApplyConfiguration) WithServerIP ¶
func (b *IPv4ConfigApplyConfiguration) WithServerIP(value string) *IPv4ConfigApplyConfiguration
WithServerIP sets the ServerIP 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 ServerIP field is set to the value of the last call.
func (*IPv4ConfigApplyConfiguration) WithSubnet ¶
func (b *IPv4ConfigApplyConfiguration) WithSubnet(value string) *IPv4ConfigApplyConfiguration
WithSubnet sets the Subnet 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 Subnet field is set to the value of the last call.
type IPv4StatusApplyConfiguration ¶
type IPv4StatusApplyConfiguration struct { Allocated map[string]string `json:"allocated,omitempty"` Used *int `json:"used,omitempty"` Available *int `json:"available,omitempty"` }
IPv4StatusApplyConfiguration represents an declarative configuration of the IPv4Status type for use with apply.
func IPv4Status ¶
func IPv4Status() *IPv4StatusApplyConfiguration
IPv4StatusApplyConfiguration constructs an declarative configuration of the IPv4Status type for use with apply.
func (*IPv4StatusApplyConfiguration) WithAllocated ¶
func (b *IPv4StatusApplyConfiguration) WithAllocated(entries map[string]string) *IPv4StatusApplyConfiguration
WithAllocated puts the entries into the Allocated 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 Allocated field, overwriting an existing map entries in Allocated field with the same key.
func (*IPv4StatusApplyConfiguration) WithAvailable ¶
func (b *IPv4StatusApplyConfiguration) WithAvailable(value int) *IPv4StatusApplyConfiguration
WithAvailable sets the Available 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 Available field is set to the value of the last call.
func (*IPv4StatusApplyConfiguration) WithUsed ¶
func (b *IPv4StatusApplyConfiguration) WithUsed(value int) *IPv4StatusApplyConfiguration
WithUsed sets the Used 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 Used field is set to the value of the last call.
type NetworkConfigApplyConfiguration ¶
type NetworkConfigApplyConfiguration struct { IPAddress *string `json:"ipaddress,omitempty"` MACAddress *string `json:"macaddress,omitempty"` NetworkName *string `json:"networkname,omitempty"` }
NetworkConfigApplyConfiguration represents an declarative configuration of the NetworkConfig type for use with apply.
func NetworkConfig ¶
func NetworkConfig() *NetworkConfigApplyConfiguration
NetworkConfigApplyConfiguration constructs an declarative configuration of the NetworkConfig type for use with apply.
func (*NetworkConfigApplyConfiguration) WithIPAddress ¶
func (b *NetworkConfigApplyConfiguration) WithIPAddress(value string) *NetworkConfigApplyConfiguration
WithIPAddress sets the IPAddress 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 IPAddress field is set to the value of the last call.
func (*NetworkConfigApplyConfiguration) WithMACAddress ¶
func (b *NetworkConfigApplyConfiguration) WithMACAddress(value string) *NetworkConfigApplyConfiguration
WithMACAddress sets the MACAddress 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 MACAddress field is set to the value of the last call.
func (*NetworkConfigApplyConfiguration) WithNetworkName ¶
func (b *NetworkConfigApplyConfiguration) WithNetworkName(value string) *NetworkConfigApplyConfiguration
WithNetworkName sets the NetworkName 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 NetworkName field is set to the value of the last call.
type NetworkConfigStatusApplyConfiguration ¶
type NetworkConfigStatusApplyConfiguration struct { MACAddress *string `json:"macaddress,omitempty"` NetworkName *string `json:"networkname,omitempty"` Status *string `json:"status,omitempty"` Message *string `json:"message,omitempty"` }
NetworkConfigStatusApplyConfiguration represents an declarative configuration of the NetworkConfigStatus type for use with apply.
func NetworkConfigStatus ¶
func NetworkConfigStatus() *NetworkConfigStatusApplyConfiguration
NetworkConfigStatusApplyConfiguration constructs an declarative configuration of the NetworkConfigStatus type for use with apply.
func (*NetworkConfigStatusApplyConfiguration) WithMACAddress ¶
func (b *NetworkConfigStatusApplyConfiguration) WithMACAddress(value string) *NetworkConfigStatusApplyConfiguration
WithMACAddress sets the MACAddress 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 MACAddress field is set to the value of the last call.
func (*NetworkConfigStatusApplyConfiguration) WithMessage ¶
func (b *NetworkConfigStatusApplyConfiguration) WithMessage(value string) *NetworkConfigStatusApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*NetworkConfigStatusApplyConfiguration) WithNetworkName ¶
func (b *NetworkConfigStatusApplyConfiguration) WithNetworkName(value string) *NetworkConfigStatusApplyConfiguration
WithNetworkName sets the NetworkName 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 NetworkName field is set to the value of the last call.
func (*NetworkConfigStatusApplyConfiguration) WithStatus ¶
func (b *NetworkConfigStatusApplyConfiguration) WithStatus(value string) *NetworkConfigStatusApplyConfiguration
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.
type PoolApplyConfiguration ¶
type PoolApplyConfiguration struct { Start *string `json:"start,omitempty"` End *string `json:"end,omitempty"` Exclude []string `json:"exclude,omitempty"` }
PoolApplyConfiguration represents an declarative configuration of the Pool type for use with apply.
func Pool ¶
func Pool() *PoolApplyConfiguration
PoolApplyConfiguration constructs an declarative configuration of the Pool type for use with apply.
func (*PoolApplyConfiguration) WithEnd ¶
func (b *PoolApplyConfiguration) WithEnd(value string) *PoolApplyConfiguration
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 (*PoolApplyConfiguration) WithExclude ¶
func (b *PoolApplyConfiguration) WithExclude(values ...string) *PoolApplyConfiguration
WithExclude adds the given value to the Exclude 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 Exclude field.
func (*PoolApplyConfiguration) WithStart ¶
func (b *PoolApplyConfiguration) WithStart(value string) *PoolApplyConfiguration
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.
type VirtualMachineNetworkConfigApplyConfiguration ¶
type VirtualMachineNetworkConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *VirtualMachineNetworkConfigSpecApplyConfiguration `json:"spec,omitempty"` Status *VirtualMachineNetworkConfigStatusApplyConfiguration `json:"status,omitempty"` }
VirtualMachineNetworkConfigApplyConfiguration represents an declarative configuration of the VirtualMachineNetworkConfig type for use with apply.
func VirtualMachineNetworkConfig ¶
func VirtualMachineNetworkConfig(name, namespace string) *VirtualMachineNetworkConfigApplyConfiguration
VirtualMachineNetworkConfig constructs an declarative configuration of the VirtualMachineNetworkConfig type for use with apply.
func (*VirtualMachineNetworkConfigApplyConfiguration) WithAPIVersion ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithAPIVersion(value string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithAnnotations ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithAnnotations(entries map[string]string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithFinalizers ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithFinalizers(values ...string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithGenerateName ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithGenerateName(value string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithGeneration ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithGeneration(value int64) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithKind ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithKind(value string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithLabels ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithLabels(entries map[string]string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithName ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithName(value string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithNamespace ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithNamespace(value string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithOwnerReferences ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithResourceVersion ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithResourceVersion(value string) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithSpec ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithSpec(value *VirtualMachineNetworkConfigSpecApplyConfiguration) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithStatus ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithStatus(value *VirtualMachineNetworkConfigStatusApplyConfiguration) *VirtualMachineNetworkConfigApplyConfiguration
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 (*VirtualMachineNetworkConfigApplyConfiguration) WithUID ¶
func (b *VirtualMachineNetworkConfigApplyConfiguration) WithUID(value types.UID) *VirtualMachineNetworkConfigApplyConfiguration
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 VirtualMachineNetworkConfigSpecApplyConfiguration ¶
type VirtualMachineNetworkConfigSpecApplyConfiguration struct { VMName *string `json:"vmname,omitempty"` NetworkConfig []NetworkConfigApplyConfiguration `json:"networkconfig,omitempty"` }
VirtualMachineNetworkConfigSpecApplyConfiguration represents an declarative configuration of the VirtualMachineNetworkConfigSpec type for use with apply.
func VirtualMachineNetworkConfigSpec ¶
func VirtualMachineNetworkConfigSpec() *VirtualMachineNetworkConfigSpecApplyConfiguration
VirtualMachineNetworkConfigSpecApplyConfiguration constructs an declarative configuration of the VirtualMachineNetworkConfigSpec type for use with apply.
func (*VirtualMachineNetworkConfigSpecApplyConfiguration) WithNetworkConfig ¶
func (b *VirtualMachineNetworkConfigSpecApplyConfiguration) WithNetworkConfig(values ...*NetworkConfigApplyConfiguration) *VirtualMachineNetworkConfigSpecApplyConfiguration
WithNetworkConfig adds the given value to the NetworkConfig 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 NetworkConfig field.
func (*VirtualMachineNetworkConfigSpecApplyConfiguration) WithVMName ¶
func (b *VirtualMachineNetworkConfigSpecApplyConfiguration) WithVMName(value string) *VirtualMachineNetworkConfigSpecApplyConfiguration
WithVMName sets the VMName 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 VMName field is set to the value of the last call.
type VirtualMachineNetworkConfigStatusApplyConfiguration ¶
type VirtualMachineNetworkConfigStatusApplyConfiguration struct {
NetworkConfig []NetworkConfigStatusApplyConfiguration `json:"networkconfig,omitempty"`
}
VirtualMachineNetworkConfigStatusApplyConfiguration represents an declarative configuration of the VirtualMachineNetworkConfigStatus type for use with apply.
func VirtualMachineNetworkConfigStatus ¶
func VirtualMachineNetworkConfigStatus() *VirtualMachineNetworkConfigStatusApplyConfiguration
VirtualMachineNetworkConfigStatusApplyConfiguration constructs an declarative configuration of the VirtualMachineNetworkConfigStatus type for use with apply.
func (*VirtualMachineNetworkConfigStatusApplyConfiguration) WithNetworkConfig ¶
func (b *VirtualMachineNetworkConfigStatusApplyConfiguration) WithNetworkConfig(values ...*NetworkConfigStatusApplyConfiguration) *VirtualMachineNetworkConfigStatusApplyConfiguration
WithNetworkConfig adds the given value to the NetworkConfig 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 NetworkConfig field.