v1

package
v0.0.0-...-34d502c Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 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 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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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