Documentation
¶
Index ¶
- type FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithAPIVersion(value string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithAnnotations(entries map[string]string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithFinalizers(values ...string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithGenerateName(value string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithGeneration(value int64) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithKind(value string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithLabels(entries map[string]string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithName(value string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithNamespace(value string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithResourceVersion(value string) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithSpec(value *FunctionSpecApplyConfiguration) *FunctionApplyConfiguration
- func (b *FunctionApplyConfiguration) WithUID(value types.UID) *FunctionApplyConfiguration
- type FunctionResourcesApplyConfiguration
- type FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithAnnotations(value map[string]string) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithConstraints(values ...string) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithEnvironment(value map[string]string) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithHandler(value string) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithImage(value string) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithLabels(value map[string]string) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithLimits(value *FunctionResourcesApplyConfiguration) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithName(value string) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithReadOnlyRootFilesystem(value bool) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithRequests(value *FunctionResourcesApplyConfiguration) *FunctionSpecApplyConfiguration
- func (b *FunctionSpecApplyConfiguration) WithSecrets(values ...string) *FunctionSpecApplyConfiguration
- type ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithAPIVersion(value string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithAnnotations(entries map[string]string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithFinalizers(values ...string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithGenerateName(value string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithGeneration(value int64) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithKind(value string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithLabels(entries map[string]string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithName(value string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithNamespace(value string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithResourceVersion(value string) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithSpec(value *ProfileSpecApplyConfiguration) *ProfileApplyConfiguration
- func (b *ProfileApplyConfiguration) WithUID(value types.UID) *ProfileApplyConfiguration
- type ProfileSpecApplyConfiguration
- func (b *ProfileSpecApplyConfiguration) WithAffinity(value v1.Affinity) *ProfileSpecApplyConfiguration
- func (b *ProfileSpecApplyConfiguration) WithPodSecurityContext(value v1.PodSecurityContext) *ProfileSpecApplyConfiguration
- func (b *ProfileSpecApplyConfiguration) WithRuntimeClassName(value string) *ProfileSpecApplyConfiguration
- func (b *ProfileSpecApplyConfiguration) WithTolerations(values ...v1.Toleration) *ProfileSpecApplyConfiguration
- func (b *ProfileSpecApplyConfiguration) WithTopologySpreadConstraints(values ...v1.TopologySpreadConstraint) *ProfileSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionApplyConfiguration ¶
type FunctionApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *FunctionSpecApplyConfiguration `json:"spec,omitempty"` }
FunctionApplyConfiguration represents an declarative configuration of the Function type for use with apply.
func Function ¶
func Function(name, namespace string) *FunctionApplyConfiguration
Function constructs an declarative configuration of the Function type for use with apply.
func (*FunctionApplyConfiguration) WithAPIVersion ¶
func (b *FunctionApplyConfiguration) WithAPIVersion(value string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithAnnotations ¶
func (b *FunctionApplyConfiguration) WithAnnotations(entries map[string]string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithCreationTimestamp ¶
func (b *FunctionApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *FunctionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithDeletionTimestamp ¶
func (b *FunctionApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithFinalizers ¶
func (b *FunctionApplyConfiguration) WithFinalizers(values ...string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithGenerateName ¶
func (b *FunctionApplyConfiguration) WithGenerateName(value string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithGeneration ¶
func (b *FunctionApplyConfiguration) WithGeneration(value int64) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithKind ¶
func (b *FunctionApplyConfiguration) WithKind(value string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithLabels ¶
func (b *FunctionApplyConfiguration) WithLabels(entries map[string]string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithName ¶
func (b *FunctionApplyConfiguration) WithName(value string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithNamespace ¶
func (b *FunctionApplyConfiguration) WithNamespace(value string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithOwnerReferences ¶
func (b *FunctionApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithResourceVersion ¶
func (b *FunctionApplyConfiguration) WithResourceVersion(value string) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithSpec ¶
func (b *FunctionApplyConfiguration) WithSpec(value *FunctionSpecApplyConfiguration) *FunctionApplyConfiguration
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 (*FunctionApplyConfiguration) WithUID ¶
func (b *FunctionApplyConfiguration) WithUID(value types.UID) *FunctionApplyConfiguration
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 FunctionResourcesApplyConfiguration ¶
type FunctionResourcesApplyConfiguration struct { Memory *string `json:"memory,omitempty"` CPU *string `json:"cpu,omitempty"` }
FunctionResourcesApplyConfiguration represents an declarative configuration of the FunctionResources type for use with apply.
func FunctionResources ¶
func FunctionResources() *FunctionResourcesApplyConfiguration
FunctionResourcesApplyConfiguration constructs an declarative configuration of the FunctionResources type for use with apply.
func (*FunctionResourcesApplyConfiguration) WithCPU ¶
func (b *FunctionResourcesApplyConfiguration) WithCPU(value string) *FunctionResourcesApplyConfiguration
WithCPU sets the CPU 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 CPU field is set to the value of the last call.
func (*FunctionResourcesApplyConfiguration) WithMemory ¶
func (b *FunctionResourcesApplyConfiguration) WithMemory(value string) *FunctionResourcesApplyConfiguration
WithMemory sets the Memory 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 Memory field is set to the value of the last call.
type FunctionSpecApplyConfiguration ¶
type FunctionSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` Image *string `json:"image,omitempty"` Handler *string `json:"handler,omitempty"` Annotations *map[string]string `json:"annotations,omitempty"` Labels *map[string]string `json:"labels,omitempty"` Environment *map[string]string `json:"environment,omitempty"` Constraints []string `json:"constraints,omitempty"` Secrets []string `json:"secrets,omitempty"` Limits *FunctionResourcesApplyConfiguration `json:"limits,omitempty"` Requests *FunctionResourcesApplyConfiguration `json:"requests,omitempty"` ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem,omitempty"` }
FunctionSpecApplyConfiguration represents an declarative configuration of the FunctionSpec type for use with apply.
func FunctionSpec ¶
func FunctionSpec() *FunctionSpecApplyConfiguration
FunctionSpecApplyConfiguration constructs an declarative configuration of the FunctionSpec type for use with apply.
func (*FunctionSpecApplyConfiguration) WithAnnotations ¶
func (b *FunctionSpecApplyConfiguration) WithAnnotations(value map[string]string) *FunctionSpecApplyConfiguration
WithAnnotations sets the Annotations 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 Annotations field is set to the value of the last call.
func (*FunctionSpecApplyConfiguration) WithConstraints ¶
func (b *FunctionSpecApplyConfiguration) WithConstraints(values ...string) *FunctionSpecApplyConfiguration
WithConstraints adds the given value to the Constraints 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 Constraints field.
func (*FunctionSpecApplyConfiguration) WithEnvironment ¶
func (b *FunctionSpecApplyConfiguration) WithEnvironment(value map[string]string) *FunctionSpecApplyConfiguration
WithEnvironment sets the Environment 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 Environment field is set to the value of the last call.
func (*FunctionSpecApplyConfiguration) WithHandler ¶
func (b *FunctionSpecApplyConfiguration) WithHandler(value string) *FunctionSpecApplyConfiguration
WithHandler sets the Handler 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 Handler field is set to the value of the last call.
func (*FunctionSpecApplyConfiguration) WithImage ¶
func (b *FunctionSpecApplyConfiguration) WithImage(value string) *FunctionSpecApplyConfiguration
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 (*FunctionSpecApplyConfiguration) WithLabels ¶
func (b *FunctionSpecApplyConfiguration) WithLabels(value map[string]string) *FunctionSpecApplyConfiguration
WithLabels sets the Labels 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 Labels field is set to the value of the last call.
func (*FunctionSpecApplyConfiguration) WithLimits ¶
func (b *FunctionSpecApplyConfiguration) WithLimits(value *FunctionResourcesApplyConfiguration) *FunctionSpecApplyConfiguration
WithLimits sets the Limits 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 Limits field is set to the value of the last call.
func (*FunctionSpecApplyConfiguration) WithName ¶
func (b *FunctionSpecApplyConfiguration) WithName(value string) *FunctionSpecApplyConfiguration
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 (*FunctionSpecApplyConfiguration) WithReadOnlyRootFilesystem ¶
func (b *FunctionSpecApplyConfiguration) WithReadOnlyRootFilesystem(value bool) *FunctionSpecApplyConfiguration
WithReadOnlyRootFilesystem sets the ReadOnlyRootFilesystem 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 ReadOnlyRootFilesystem field is set to the value of the last call.
func (*FunctionSpecApplyConfiguration) WithRequests ¶
func (b *FunctionSpecApplyConfiguration) WithRequests(value *FunctionResourcesApplyConfiguration) *FunctionSpecApplyConfiguration
WithRequests sets the Requests 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 Requests field is set to the value of the last call.
func (*FunctionSpecApplyConfiguration) WithSecrets ¶
func (b *FunctionSpecApplyConfiguration) WithSecrets(values ...string) *FunctionSpecApplyConfiguration
WithSecrets adds the given value to the Secrets 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 Secrets field.
type ProfileApplyConfiguration ¶
type ProfileApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ProfileSpecApplyConfiguration `json:"spec,omitempty"` }
ProfileApplyConfiguration represents an declarative configuration of the Profile type for use with apply.
func Profile ¶
func Profile(name, namespace string) *ProfileApplyConfiguration
Profile constructs an declarative configuration of the Profile type for use with apply.
func (*ProfileApplyConfiguration) WithAPIVersion ¶
func (b *ProfileApplyConfiguration) WithAPIVersion(value string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithAnnotations ¶
func (b *ProfileApplyConfiguration) WithAnnotations(entries map[string]string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithCreationTimestamp ¶
func (b *ProfileApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ProfileApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithDeletionTimestamp ¶
func (b *ProfileApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithFinalizers ¶
func (b *ProfileApplyConfiguration) WithFinalizers(values ...string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithGenerateName ¶
func (b *ProfileApplyConfiguration) WithGenerateName(value string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithGeneration ¶
func (b *ProfileApplyConfiguration) WithGeneration(value int64) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithKind ¶
func (b *ProfileApplyConfiguration) WithKind(value string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithLabels ¶
func (b *ProfileApplyConfiguration) WithLabels(entries map[string]string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithName ¶
func (b *ProfileApplyConfiguration) WithName(value string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithNamespace ¶
func (b *ProfileApplyConfiguration) WithNamespace(value string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithOwnerReferences ¶
func (b *ProfileApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithResourceVersion ¶
func (b *ProfileApplyConfiguration) WithResourceVersion(value string) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithSpec ¶
func (b *ProfileApplyConfiguration) WithSpec(value *ProfileSpecApplyConfiguration) *ProfileApplyConfiguration
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 (*ProfileApplyConfiguration) WithUID ¶
func (b *ProfileApplyConfiguration) WithUID(value types.UID) *ProfileApplyConfiguration
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 ProfileSpecApplyConfiguration ¶
type ProfileSpecApplyConfiguration struct { Tolerations []v1.Toleration `json:"tolerations,omitempty"` RuntimeClassName *string `json:"runtimeClassName,omitempty"` PodSecurityContext *v1.PodSecurityContext `json:"podSecurityContext,omitempty"` Affinity *v1.Affinity `json:"affinity,omitempty"` TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` }
ProfileSpecApplyConfiguration represents an declarative configuration of the ProfileSpec type for use with apply.
func ProfileSpec ¶
func ProfileSpec() *ProfileSpecApplyConfiguration
ProfileSpecApplyConfiguration constructs an declarative configuration of the ProfileSpec type for use with apply.
func (*ProfileSpecApplyConfiguration) WithAffinity ¶
func (b *ProfileSpecApplyConfiguration) WithAffinity(value v1.Affinity) *ProfileSpecApplyConfiguration
WithAffinity sets the Affinity 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 Affinity field is set to the value of the last call.
func (*ProfileSpecApplyConfiguration) WithPodSecurityContext ¶
func (b *ProfileSpecApplyConfiguration) WithPodSecurityContext(value v1.PodSecurityContext) *ProfileSpecApplyConfiguration
WithPodSecurityContext sets the PodSecurityContext 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 PodSecurityContext field is set to the value of the last call.
func (*ProfileSpecApplyConfiguration) WithRuntimeClassName ¶
func (b *ProfileSpecApplyConfiguration) WithRuntimeClassName(value string) *ProfileSpecApplyConfiguration
WithRuntimeClassName sets the RuntimeClassName 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 RuntimeClassName field is set to the value of the last call.
func (*ProfileSpecApplyConfiguration) WithTolerations ¶
func (b *ProfileSpecApplyConfiguration) WithTolerations(values ...v1.Toleration) *ProfileSpecApplyConfiguration
WithTolerations adds the given value to the Tolerations 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 Tolerations field.
func (*ProfileSpecApplyConfiguration) WithTopologySpreadConstraints ¶
func (b *ProfileSpecApplyConfiguration) WithTopologySpreadConstraints(values ...v1.TopologySpreadConstraint) *ProfileSpecApplyConfiguration
WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints 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 TopologySpreadConstraints field.