v1

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleApplyConfiguration

type ExampleApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ExampleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ExampleStatusApplyConfiguration `json:"status,omitempty"`
}

ExampleApplyConfiguration represents an declarative configuration of the Example type for use with apply.

func Example

func Example(name, namespace string) *ExampleApplyConfiguration

Example constructs an declarative configuration of the Example type for use with apply.

func (*ExampleApplyConfiguration) WithAPIVersion

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 (*ExampleApplyConfiguration) WithAnnotations

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

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 (*ExampleApplyConfiguration) WithCreationTimestamp

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

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 (*ExampleApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*ExampleApplyConfiguration) WithDeletionTimestamp

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

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 (*ExampleApplyConfiguration) WithFinalizers

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

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 (*ExampleApplyConfiguration) WithGenerateName

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

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 (*ExampleApplyConfiguration) WithGeneration

func (b *ExampleApplyConfiguration) WithGeneration(value int64) *ExampleApplyConfiguration

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 (*ExampleApplyConfiguration) 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 (*ExampleApplyConfiguration) WithLabels

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 (*ExampleApplyConfiguration) 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 (*ExampleApplyConfiguration) WithNamespace

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 (*ExampleApplyConfiguration) 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 (*ExampleApplyConfiguration) WithResourceVersion

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

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 (*ExampleApplyConfiguration) 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 (*ExampleApplyConfiguration) 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 (*ExampleApplyConfiguration) 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 ExampleSpecApplyConfiguration

type ExampleSpecApplyConfiguration struct {
	Foo *string `json:"foo,omitempty"`
	Bar *bool   `json:"bar,omitempty"`
}

ExampleSpecApplyConfiguration represents an declarative configuration of the ExampleSpec type for use with apply.

func ExampleSpec

func ExampleSpec() *ExampleSpecApplyConfiguration

ExampleSpecApplyConfiguration constructs an declarative configuration of the ExampleSpec type for use with apply.

func (*ExampleSpecApplyConfiguration) WithBar

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

func (*ExampleSpecApplyConfiguration) WithFoo

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

type ExampleStatusApplyConfiguration

type ExampleStatusApplyConfiguration struct {
	State   *v1.ExampleState `json:"state,omitempty"`
	Message *string          `json:"message,omitempty"`
}

ExampleStatusApplyConfiguration represents an declarative configuration of the ExampleStatus type for use with apply.

func ExampleStatus

func ExampleStatus() *ExampleStatusApplyConfiguration

ExampleStatusApplyConfiguration constructs an declarative configuration of the ExampleStatus type for use with apply.

func (*ExampleStatusApplyConfiguration) WithMessage

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

func (*ExampleStatusApplyConfiguration) WithState

WithState sets the State 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 State 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