Documentation ¶
Index ¶
- type ContainerSpecApplyConfiguration
- type CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithAPIVersion(value string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithAnnotations(entries map[string]string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithFinalizers(values ...string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithGenerateName(value string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithGeneration(value int64) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithKind(value string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithLabels(entries map[string]string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithName(value string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithNamespace(value string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithResourceVersion(value string) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithSpec(value *CustomSpecApplyConfiguration) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithStatus(value *CustomStatusApplyConfiguration) *CustomApplyConfiguration
- func (b *CustomApplyConfiguration) WithUID(value types.UID) *CustomApplyConfiguration
- type CustomSpecApplyConfiguration
- func (b *CustomSpecApplyConfiguration) WithContainer(value *ContainerSpecApplyConfiguration) *CustomSpecApplyConfiguration
- func (b *CustomSpecApplyConfiguration) WithName(value string) *CustomSpecApplyConfiguration
- func (b *CustomSpecApplyConfiguration) WithReplicas(value int32) *CustomSpecApplyConfiguration
- type CustomStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerSpecApplyConfiguration ¶
type ContainerSpecApplyConfiguration struct { Image *string `json:"image,omitempty"` Port *int32 `json:"port,omitempty"` }
ContainerSpecApplyConfiguration represents an declarative configuration of the ContainerSpec type for use with apply.
func ContainerSpec ¶
func ContainerSpec() *ContainerSpecApplyConfiguration
ContainerSpecApplyConfiguration constructs an declarative configuration of the ContainerSpec type for use with apply.
func (*ContainerSpecApplyConfiguration) WithImage ¶
func (b *ContainerSpecApplyConfiguration) WithImage(value string) *ContainerSpecApplyConfiguration
WithImage sets the Image 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 Image field is set to the value of the last call.
func (*ContainerSpecApplyConfiguration) WithPort ¶
func (b *ContainerSpecApplyConfiguration) WithPort(value int32) *ContainerSpecApplyConfiguration
WithPort sets the Port 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 Port field is set to the value of the last call.
type CustomApplyConfiguration ¶
type CustomApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *CustomSpecApplyConfiguration `json:"spec,omitempty"` Status *CustomStatusApplyConfiguration `json:"status,omitempty"` }
CustomApplyConfiguration represents an declarative configuration of the Custom type for use with apply.
func Custom ¶
func Custom(name, namespace string) *CustomApplyConfiguration
Custom constructs an declarative configuration of the Custom type for use with apply.
func (*CustomApplyConfiguration) WithAPIVersion ¶
func (b *CustomApplyConfiguration) WithAPIVersion(value string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithAnnotations ¶
func (b *CustomApplyConfiguration) WithAnnotations(entries map[string]string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithCreationTimestamp ¶
func (b *CustomApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *CustomApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithDeletionTimestamp ¶
func (b *CustomApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithFinalizers ¶
func (b *CustomApplyConfiguration) WithFinalizers(values ...string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithGenerateName ¶
func (b *CustomApplyConfiguration) WithGenerateName(value string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithGeneration ¶
func (b *CustomApplyConfiguration) WithGeneration(value int64) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithKind ¶
func (b *CustomApplyConfiguration) WithKind(value string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithLabels ¶
func (b *CustomApplyConfiguration) WithLabels(entries map[string]string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithName ¶
func (b *CustomApplyConfiguration) WithName(value string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithNamespace ¶
func (b *CustomApplyConfiguration) WithNamespace(value string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithOwnerReferences ¶
func (b *CustomApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithResourceVersion ¶
func (b *CustomApplyConfiguration) WithResourceVersion(value string) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithSpec ¶
func (b *CustomApplyConfiguration) WithSpec(value *CustomSpecApplyConfiguration) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithStatus ¶
func (b *CustomApplyConfiguration) WithStatus(value *CustomStatusApplyConfiguration) *CustomApplyConfiguration
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 (*CustomApplyConfiguration) WithUID ¶
func (b *CustomApplyConfiguration) WithUID(value types.UID) *CustomApplyConfiguration
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 CustomSpecApplyConfiguration ¶
type CustomSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` Replicas *int32 `json:"replicas,omitempty"` Container *ContainerSpecApplyConfiguration `json:"container,omitempty"` }
CustomSpecApplyConfiguration represents an declarative configuration of the CustomSpec type for use with apply.
func CustomSpec ¶
func CustomSpec() *CustomSpecApplyConfiguration
CustomSpecApplyConfiguration constructs an declarative configuration of the CustomSpec type for use with apply.
func (*CustomSpecApplyConfiguration) WithContainer ¶
func (b *CustomSpecApplyConfiguration) WithContainer(value *ContainerSpecApplyConfiguration) *CustomSpecApplyConfiguration
WithContainer sets the Container 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 Container field is set to the value of the last call.
func (*CustomSpecApplyConfiguration) WithName ¶
func (b *CustomSpecApplyConfiguration) WithName(value string) *CustomSpecApplyConfiguration
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 (*CustomSpecApplyConfiguration) WithReplicas ¶
func (b *CustomSpecApplyConfiguration) WithReplicas(value int32) *CustomSpecApplyConfiguration
WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.
type CustomStatusApplyConfiguration ¶
type CustomStatusApplyConfiguration struct {
AvailableReplicas *int32 `json:"availableReplicas,omitempty"`
}
CustomStatusApplyConfiguration represents an declarative configuration of the CustomStatus type for use with apply.
func CustomStatus ¶
func CustomStatus() *CustomStatusApplyConfiguration
CustomStatusApplyConfiguration constructs an declarative configuration of the CustomStatus type for use with apply.
func (*CustomStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *CustomStatusApplyConfiguration) WithAvailableReplicas(value int32) *CustomStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas 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 AvailableReplicas field is set to the value of the last call.