v1alpha1

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: AGPL-3.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 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 VinceApplyConfiguration

type VinceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VinceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VinceStatusApplyConfiguration `json:"status,omitempty"`
}

VinceApplyConfiguration represents an declarative configuration of the Vince type for use with apply.

func Vince

func Vince(name, namespace string) *VinceApplyConfiguration

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

func (*VinceApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*VinceApplyConfiguration) 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 (*VinceApplyConfiguration) 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 (*VinceApplyConfiguration) 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 VinceSpecApplyConfiguration

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

VinceSpecApplyConfiguration represents an declarative configuration of the VinceSpec type for use with apply.

func VinceSpec

func VinceSpec() *VinceSpecApplyConfiguration

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

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

func (*VinceSpecApplyConfiguration) 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 (*VinceSpecApplyConfiguration) 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 (*VinceSpecApplyConfiguration) WithStorageClass

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

type VinceStatusApplyConfiguration

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

VinceStatusApplyConfiguration represents an declarative configuration of the VinceStatus type for use with apply.

func VinceStatus

func VinceStatus() *VinceStatusApplyConfiguration

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

func (*VinceStatusApplyConfiguration) WithSites

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 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