Documentation ¶
Index ¶
- type TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) GetName() *string
- func (b *TopologyApplyConfiguration) WithAPIVersion(value string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithAnnotations(entries map[string]string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithFinalizers(values ...string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithGenerateName(value string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithGeneration(value int64) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithKind(value string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithLabels(entries map[string]string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithName(value string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithNamespace(value string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithResourceVersion(value string) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithSpec(value *TopologySpecApplyConfiguration) *TopologyApplyConfiguration
- func (b *TopologyApplyConfiguration) WithUID(value types.UID) *TopologyApplyConfiguration
- type TopologyLevelApplyConfiguration
- type TopologySpecApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithAPIVersion(value string) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithGeneration(value int64) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithKind(value string) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithLabels(entries map[string]string) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithName(value string) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithNamespace(value string) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithSpec(value *TopologySpecApplyConfiguration) *TopologyApplyConfiguration
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
func (b *TopologyApplyConfiguration) WithUID(value types.UID) *TopologyApplyConfiguration
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
func (b *TopologyLevelApplyConfiguration) WithNodeLabel(value string) *TopologyLevelApplyConfiguration
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
func (b *TopologySpecApplyConfiguration) WithLevels(values ...*TopologyLevelApplyConfiguration) *TopologySpecApplyConfiguration
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.