v1alpha1

package
v0.10.0-devel Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TopologyApplyConfiguration added in v0.9.0

type TopologyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *TopologySpecApplyConfiguration `json:"spec,omitempty"`
}

TopologyApplyConfiguration represents a declarative configuration of the Topology type for use with apply.

func Topology added in v0.9.0

func Topology(name string) *TopologyApplyConfiguration

Topology constructs a declarative configuration of the Topology type for use with apply.

func (*TopologyApplyConfiguration) GetName added in v0.9.0

func (b *TopologyApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*TopologyApplyConfiguration) WithAPIVersion added in v0.9.0

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 (*TopologyApplyConfiguration) WithAnnotations added in v0.9.0

func (b *TopologyApplyConfiguration) WithAnnotations(entries map[string]string) *TopologyApplyConfiguration

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 (*TopologyApplyConfiguration) WithCreationTimestamp added in v0.9.0

func (b *TopologyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TopologyApplyConfiguration

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 (*TopologyApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.9.0

func (b *TopologyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TopologyApplyConfiguration

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 (*TopologyApplyConfiguration) WithDeletionTimestamp added in v0.9.0

func (b *TopologyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TopologyApplyConfiguration

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 (*TopologyApplyConfiguration) WithFinalizers added in v0.9.0

func (b *TopologyApplyConfiguration) WithFinalizers(values ...string) *TopologyApplyConfiguration

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 (*TopologyApplyConfiguration) WithGenerateName added in v0.9.0

func (b *TopologyApplyConfiguration) WithGenerateName(value string) *TopologyApplyConfiguration

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 (*TopologyApplyConfiguration) WithGeneration added in v0.9.0

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 (*TopologyApplyConfiguration) WithKind added in v0.9.0

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 (*TopologyApplyConfiguration) WithLabels added in v0.9.0

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 (*TopologyApplyConfiguration) WithName added in v0.9.0

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 (*TopologyApplyConfiguration) WithNamespace added in v0.9.0

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 (*TopologyApplyConfiguration) WithOwnerReferences added in v0.9.0

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 (*TopologyApplyConfiguration) WithResourceVersion added in v0.9.0

func (b *TopologyApplyConfiguration) WithResourceVersion(value string) *TopologyApplyConfiguration

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 (*TopologyApplyConfiguration) WithSpec added in v0.9.0

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 (*TopologyApplyConfiguration) WithUID added in v0.9.0

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 TopologyLevelApplyConfiguration added in v0.9.0

type TopologyLevelApplyConfiguration struct {
	NodeLabel *string `json:"nodeLabel,omitempty"`
}

TopologyLevelApplyConfiguration represents a declarative configuration of the TopologyLevel type for use with apply.

func TopologyLevel added in v0.9.0

func TopologyLevel() *TopologyLevelApplyConfiguration

TopologyLevelApplyConfiguration constructs a declarative configuration of the TopologyLevel type for use with apply.

func (*TopologyLevelApplyConfiguration) WithNodeLabel added in v0.9.0

WithNodeLabel sets the NodeLabel 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 NodeLabel field is set to the value of the last call.

type TopologySpecApplyConfiguration added in v0.9.0

type TopologySpecApplyConfiguration struct {
	Levels []TopologyLevelApplyConfiguration `json:"levels,omitempty"`
}

TopologySpecApplyConfiguration represents a declarative configuration of the TopologySpec type for use with apply.

func TopologySpec added in v0.9.0

func TopologySpec() *TopologySpecApplyConfiguration

TopologySpecApplyConfiguration constructs a declarative configuration of the TopologySpec type for use with apply.

func (*TopologySpecApplyConfiguration) WithLevels added in v0.9.0

WithLevels adds the given value to the Levels 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 Levels field.

Jump to

Keyboard shortcuts

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