Documentation ¶
Index ¶
- type ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithAPIVersion(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithFinalizers(values ...string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithGenerateName(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithGeneration(value int64) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithKind(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithLabels(entries map[string]string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithName(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithNamespace(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithResourceVersion(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithSpec(value *ConfigSpecApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithStatus(value *ConfigStatusApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithUID(value types.UID) *ConfigApplyConfiguration
- type ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithEnv(values ...corev1.EnvVar) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithImage(value string) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithSize(value resource.Quantity) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithStorageClass(value string) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithSubPath(value string) *ConfigSpecApplyConfiguration
- type ConfigStatusApplyConfiguration
- type ContainerApplyConfiguration
- type SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithAPIVersion(value string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithAnnotations(entries map[string]string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithFinalizers(values ...string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithGenerateName(value string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithGeneration(value int64) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithKind(value string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithLabels(entries map[string]string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithName(value string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithNamespace(value string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithResourceVersion(value string) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithSpec(value *SiteSpecApplyConfiguration) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithStatus(value *SiteStatusApplyConfiguration) *SiteApplyConfiguration
- func (b *SiteApplyConfiguration) WithUID(value types.UID) *SiteApplyConfiguration
- type SiteSpecApplyConfiguration
- type SiteStatusApplyConfiguration
- type TargetApplyConfiguration
- type VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithSelector(value v1.LabelSelector) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithSize(value resource.Quantity) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithStorageClass(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithSubPath(value string) *VolumeApplyConfiguration
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
func (b *ConfigApplyConfiguration) WithKind(value string) *ConfigApplyConfiguration
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
func (b *ConfigApplyConfiguration) WithName(value string) *ConfigApplyConfiguration
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
func (b *ConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigApplyConfiguration
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
func (b *ConfigApplyConfiguration) WithSpec(value *ConfigSpecApplyConfiguration) *ConfigApplyConfiguration
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
func (b *ConfigApplyConfiguration) WithStatus(value *ConfigStatusApplyConfiguration) *ConfigApplyConfiguration
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
func (b *ConfigApplyConfiguration) WithUID(value types.UID) *ConfigApplyConfiguration
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
func (b *ConfigSpecApplyConfiguration) WithEnv(values ...corev1.EnvVar) *ConfigSpecApplyConfiguration
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
func (b *ConfigSpecApplyConfiguration) WithImage(value string) *ConfigSpecApplyConfiguration
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
func (b *ConfigSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *ConfigSpecApplyConfiguration
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
func (b *ConfigSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *ConfigSpecApplyConfiguration
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
func (b *ConfigSpecApplyConfiguration) WithSize(value resource.Quantity) *ConfigSpecApplyConfiguration
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
func (b *ConfigSpecApplyConfiguration) WithStorageClass(value string) *ConfigSpecApplyConfiguration
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
func (b *ConfigSpecApplyConfiguration) WithSubPath(value string) *ConfigSpecApplyConfiguration
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
func (b *ConfigStatusApplyConfiguration) WithSites(values ...string) *ConfigStatusApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithEnv(values ...v1.EnvVar) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithImage(value string) *ContainerApplyConfiguration
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 ¶
func (b *ContainerApplyConfiguration) WithResources(value v1.ResourceRequirements) *ContainerApplyConfiguration
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 ¶
func (b *SiteApplyConfiguration) WithKind(value string) *SiteApplyConfiguration
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 ¶
func (b *SiteApplyConfiguration) WithName(value string) *SiteApplyConfiguration
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 ¶
func (b *SiteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SiteApplyConfiguration
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 ¶
func (b *SiteApplyConfiguration) WithSpec(value *SiteSpecApplyConfiguration) *SiteApplyConfiguration
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 ¶
func (b *SiteApplyConfiguration) WithStatus(value *SiteStatusApplyConfiguration) *SiteApplyConfiguration
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 ¶
func (b *SiteApplyConfiguration) WithUID(value types.UID) *SiteApplyConfiguration
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 ¶
func (b *SiteSpecApplyConfiguration) WithDomain(value string) *SiteSpecApplyConfiguration
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 ¶
func (b *SiteSpecApplyConfiguration) WithPublic(value bool) *SiteSpecApplyConfiguration
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 ¶
func (b *SiteSpecApplyConfiguration) WithTarget(value *TargetApplyConfiguration) *SiteSpecApplyConfiguration
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 ¶
func (b *SiteStatusApplyConfiguration) WithStatus(value string) *SiteStatusApplyConfiguration
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 ¶
func (b *TargetApplyConfiguration) WithName(value string) *TargetApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithSelector(value v1.LabelSelector) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithSize(value resource.Quantity) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithSubPath(value string) *VolumeApplyConfiguration
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.