Documentation
¶
Index ¶
- type NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithNodeIP(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithVtepIp(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithVtepMac(value string) *NodeApplyConfiguration
- type TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithAPIVersion(value string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithAnnotations(entries map[string]string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithFinalizers(values ...string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithGenerateName(value string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithGeneration(value int64) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithKind(value string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithLabels(entries map[string]string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithName(value string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithNamespace(value string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithResourceVersion(value string) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithSpec(value *TenantSpecApplyConfiguration) *TenantApplyConfiguration
- func (b *TenantApplyConfiguration) WithUID(value types.UID) *TenantApplyConfiguration
- type TenantSpecApplyConfiguration
- func (b *TenantSpecApplyConfiguration) WithName(value string) *TenantSpecApplyConfiguration
- func (b *TenantSpecApplyConfiguration) WithNodes(values ...*NodeApplyConfiguration) *TenantSpecApplyConfiguration
- func (b *TenantSpecApplyConfiguration) WithPrefix(value int) *TenantSpecApplyConfiguration
- func (b *TenantSpecApplyConfiguration) WithVNI(value int) *TenantSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeApplyConfiguration ¶
type NodeApplyConfiguration struct { Name *string `json:"name,omitempty"` VtepMac *string `json:"vtepMac,omitempty"` VtepIp *string `json:"vtepIp,omitempty"` NodeIP *string `json:"nodeIP,omitempty"` }
NodeApplyConfiguration represents an declarative configuration of the Node type for use with apply.
func Node ¶
func Node() *NodeApplyConfiguration
NodeApplyConfiguration constructs an declarative configuration of the Node type for use with apply.
func (*NodeApplyConfiguration) WithName ¶
func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithNodeIP ¶
func (b *NodeApplyConfiguration) WithNodeIP(value string) *NodeApplyConfiguration
WithNodeIP sets the NodeIP 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 NodeIP field is set to the value of the last call.
func (*NodeApplyConfiguration) WithVtepIp ¶
func (b *NodeApplyConfiguration) WithVtepIp(value string) *NodeApplyConfiguration
WithVtepIp sets the VtepIp 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 VtepIp field is set to the value of the last call.
func (*NodeApplyConfiguration) WithVtepMac ¶
func (b *NodeApplyConfiguration) WithVtepMac(value string) *NodeApplyConfiguration
WithVtepMac sets the VtepMac 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 VtepMac field is set to the value of the last call.
type TenantApplyConfiguration ¶
type TenantApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *TenantSpecApplyConfiguration `json:"spec,omitempty"` }
TenantApplyConfiguration represents an declarative configuration of the Tenant type for use with apply.
func Tenant ¶
func Tenant(name, namespace string) *TenantApplyConfiguration
Tenant constructs an declarative configuration of the Tenant type for use with apply.
func (*TenantApplyConfiguration) WithAPIVersion ¶
func (b *TenantApplyConfiguration) WithAPIVersion(value string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithAnnotations ¶
func (b *TenantApplyConfiguration) WithAnnotations(entries map[string]string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithCreationTimestamp ¶
func (b *TenantApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *TenantApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithDeletionTimestamp ¶
func (b *TenantApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithFinalizers ¶
func (b *TenantApplyConfiguration) WithFinalizers(values ...string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithGenerateName ¶
func (b *TenantApplyConfiguration) WithGenerateName(value string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithGeneration ¶
func (b *TenantApplyConfiguration) WithGeneration(value int64) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithKind ¶
func (b *TenantApplyConfiguration) WithKind(value string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithLabels ¶
func (b *TenantApplyConfiguration) WithLabels(entries map[string]string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithName ¶
func (b *TenantApplyConfiguration) WithName(value string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithNamespace ¶
func (b *TenantApplyConfiguration) WithNamespace(value string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithOwnerReferences ¶
func (b *TenantApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithResourceVersion ¶
func (b *TenantApplyConfiguration) WithResourceVersion(value string) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithSpec ¶
func (b *TenantApplyConfiguration) WithSpec(value *TenantSpecApplyConfiguration) *TenantApplyConfiguration
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 (*TenantApplyConfiguration) WithUID ¶
func (b *TenantApplyConfiguration) WithUID(value types.UID) *TenantApplyConfiguration
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 TenantSpecApplyConfiguration ¶
type TenantSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` VNI *int `json:"vni,omitempty"` Prefix *int `json:"prefix,omitempty"` Nodes []NodeApplyConfiguration `json:"nodes,omitempty"` }
TenantSpecApplyConfiguration represents an declarative configuration of the TenantSpec type for use with apply.
func TenantSpec ¶
func TenantSpec() *TenantSpecApplyConfiguration
TenantSpecApplyConfiguration constructs an declarative configuration of the TenantSpec type for use with apply.
func (*TenantSpecApplyConfiguration) WithName ¶
func (b *TenantSpecApplyConfiguration) WithName(value string) *TenantSpecApplyConfiguration
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 (*TenantSpecApplyConfiguration) WithNodes ¶
func (b *TenantSpecApplyConfiguration) WithNodes(values ...*NodeApplyConfiguration) *TenantSpecApplyConfiguration
WithNodes adds the given value to the Nodes 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 Nodes field.
func (*TenantSpecApplyConfiguration) WithPrefix ¶
func (b *TenantSpecApplyConfiguration) WithPrefix(value int) *TenantSpecApplyConfiguration
WithPrefix sets the Prefix 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 Prefix field is set to the value of the last call.
func (*TenantSpecApplyConfiguration) WithVNI ¶
func (b *TenantSpecApplyConfiguration) WithVNI(value int) *TenantSpecApplyConfiguration
WithVNI sets the VNI 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 VNI field is set to the value of the last call.