v1alpha1

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigApplyConfiguration added in v0.0.35

type ConfigApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ConfigSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ConfigStatusApplyConfiguration `json:"status,omitempty"`
}

ConfigApplyConfiguration represents an declarative configuration of the Config type for use with apply.

func Config added in v0.0.35

func Config(name, namespace string) *ConfigApplyConfiguration

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

func (*ConfigApplyConfiguration) WithAPIVersion added in v0.0.35

func (b *ConfigApplyConfiguration) WithAPIVersion(value string) *ConfigApplyConfiguration

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 (*ConfigApplyConfiguration) WithAnnotations added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithCreationTimestamp added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithDeletionTimestamp added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithFinalizers added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithGenerateName added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithGeneration added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithKind added in v0.0.35

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 (*ConfigApplyConfiguration) WithLabels added in v0.0.35

func (b *ConfigApplyConfiguration) WithLabels(entries map[string]string) *ConfigApplyConfiguration

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 (*ConfigApplyConfiguration) WithName added in v0.0.35

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 (*ConfigApplyConfiguration) WithNamespace added in v0.0.35

func (b *ConfigApplyConfiguration) WithNamespace(value string) *ConfigApplyConfiguration

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 (*ConfigApplyConfiguration) WithOwnerReferences added in v0.0.35

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 (*ConfigApplyConfiguration) WithResourceVersion added in v0.0.35

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

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 (*ConfigApplyConfiguration) WithSpec added in v0.0.35

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 (*ConfigApplyConfiguration) WithStatus added in v0.0.35

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 (*ConfigApplyConfiguration) WithUID added in v0.0.35

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 ConfigSpecApplyConfiguration added in v0.0.35

type ConfigSpecApplyConfiguration struct {
	*VolumeApplyConfiguration    `json:"volume,omitempty"`
	*ContainerApplyConfiguration `json:"container,omitempty"`
}

ConfigSpecApplyConfiguration represents an declarative configuration of the ConfigSpec type for use with apply.

func ConfigSpec added in v0.0.35

func ConfigSpec() *ConfigSpecApplyConfiguration

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

func (*ConfigSpecApplyConfiguration) WithEnv added in v0.0.35

WithEnv adds the given value to the Env 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 Env field.

func (*ConfigSpecApplyConfiguration) WithImage added in v0.0.35

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 (*ConfigSpecApplyConfiguration) WithResources added in v0.0.35

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

func (*ConfigSpecApplyConfiguration) WithSelector added in v0.0.35

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

func (*ConfigSpecApplyConfiguration) WithSize added in v0.0.35

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

func (*ConfigSpecApplyConfiguration) WithStorageClass added in v0.0.35

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

func (*ConfigSpecApplyConfiguration) WithSubPath added in v0.0.35

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

type ConfigStatusApplyConfiguration added in v0.0.35

type ConfigStatusApplyConfiguration struct {
	Sites []string `json:"sites,omitempty"`
}

ConfigStatusApplyConfiguration represents an declarative configuration of the ConfigStatus type for use with apply.

func ConfigStatus added in v0.0.35

func ConfigStatus() *ConfigStatusApplyConfiguration

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

func (*ConfigStatusApplyConfiguration) WithSites added in v0.0.35

WithSites adds the given value to the Sites 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 Sites field.

type ContainerApplyConfiguration

type ContainerApplyConfiguration struct {
	Image     *string                  `json:"image,omitempty"`
	Env       []v1.EnvVar              `json:"env,omitempty"`
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
}

ContainerApplyConfiguration represents an declarative configuration of the Container type for use with apply.

func Container

func Container() *ContainerApplyConfiguration

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

func (*ContainerApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*ContainerApplyConfiguration) 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 (*ContainerApplyConfiguration) WithResources

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

type SiteApplyConfiguration

type SiteApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SiteSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SiteStatusApplyConfiguration `json:"status,omitempty"`
}

SiteApplyConfiguration represents an declarative configuration of the Site type for use with apply.

func Site

func Site(name, namespace string) *SiteApplyConfiguration

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

func (*SiteApplyConfiguration) WithAPIVersion

func (b *SiteApplyConfiguration) WithAPIVersion(value string) *SiteApplyConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (b *SiteApplyConfiguration) WithLabels(entries map[string]string) *SiteApplyConfiguration

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

func (b *SiteApplyConfiguration) WithNamespace(value string) *SiteApplyConfiguration

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

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

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 (*SiteApplyConfiguration) 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 (*SiteApplyConfiguration) 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 (*SiteApplyConfiguration) 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 SiteSpecApplyConfiguration

type SiteSpecApplyConfiguration struct {
	Domain *string                   `json:"domain,omitempty"`
	Public *bool                     `json:"public,omitempty"`
	Target *TargetApplyConfiguration `json:"target,omitempty"`
}

SiteSpecApplyConfiguration represents an declarative configuration of the SiteSpec type for use with apply.

func SiteSpec

func SiteSpec() *SiteSpecApplyConfiguration

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

func (*SiteSpecApplyConfiguration) WithDomain

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

func (*SiteSpecApplyConfiguration) WithPublic

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

func (*SiteSpecApplyConfiguration) WithTarget

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

type SiteStatusApplyConfiguration

type SiteStatusApplyConfiguration struct {
	Status *string `json:"status,omitempty"`
}

SiteStatusApplyConfiguration represents an declarative configuration of the SiteStatus type for use with apply.

func SiteStatus

func SiteStatus() *SiteStatusApplyConfiguration

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

func (*SiteStatusApplyConfiguration) 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.

type TargetApplyConfiguration

type TargetApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
}

TargetApplyConfiguration represents an declarative configuration of the Target type for use with apply.

func Target

func Target() *TargetApplyConfiguration

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

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

func (b *TargetApplyConfiguration) WithNamespace(value string) *TargetApplyConfiguration

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.

type VolumeApplyConfiguration

type VolumeApplyConfiguration struct {
	Selector     *v1.LabelSelector  `json:"selector,omitempty"`
	Size         *resource.Quantity `json:"size,omitempty"`
	StorageClass *string            `json:"storageClass,omitempty"`
	SubPath      *string            `json:"subPath,omitempty"`
}

VolumeApplyConfiguration represents an declarative configuration of the Volume type for use with apply.

func Volume

func Volume() *VolumeApplyConfiguration

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

func (*VolumeApplyConfiguration) WithSelector

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

func (*VolumeApplyConfiguration) WithSize

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

func (*VolumeApplyConfiguration) WithStorageClass

func (b *VolumeApplyConfiguration) WithStorageClass(value string) *VolumeApplyConfiguration

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

func (*VolumeApplyConfiguration) WithSubPath

WithSubPath sets the SubPath 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 SubPath 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