v1alpha1

package
v0.0.0-...-4e94bcd Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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