v1alpha1

package
v0.0.0-...-4f31ccc Latest Latest
Warning

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

Go to latest
Published: Sep 15, 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 SessionApplyConfiguration

type SessionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SessionSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SessionStatusApplyConfiguration `json:"status,omitempty"`
}

SessionApplyConfiguration represents an declarative configuration of the Session type for use with apply.

func Session

func Session(name, namespace string) *SessionApplyConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*SessionApplyConfiguration) 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 (*SessionApplyConfiguration) 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 (*SessionApplyConfiguration) 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 SessionSpecApplyConfiguration

type SessionSpecApplyConfiguration struct {
	Data *string `json:"data,omitempty"`
}

SessionSpecApplyConfiguration represents an declarative configuration of the SessionSpec type for use with apply.

func SessionSpec

func SessionSpec() *SessionSpecApplyConfiguration

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

func (*SessionSpecApplyConfiguration) WithData

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

type SessionStatusApplyConfiguration

type SessionStatusApplyConfiguration struct {
	TTL *v1.Time `json:"ttl,omitempty"`
}

SessionStatusApplyConfiguration represents an declarative configuration of the SessionStatus type for use with apply.

func SessionStatus

func SessionStatus() *SessionStatusApplyConfiguration

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

func (*SessionStatusApplyConfiguration) WithTTL

WithTTL sets the TTL 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 TTL 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