Documentation ¶
Index ¶
- type CustomDeploymentStrategyParamsApplyConfiguration
- func (b *CustomDeploymentStrategyParamsApplyConfiguration) WithCommand(values ...string) *CustomDeploymentStrategyParamsApplyConfiguration
- func (b *CustomDeploymentStrategyParamsApplyConfiguration) WithEnvironment(values ...v1.EnvVar) *CustomDeploymentStrategyParamsApplyConfiguration
- func (b *CustomDeploymentStrategyParamsApplyConfiguration) WithImage(value string) *CustomDeploymentStrategyParamsApplyConfiguration
- type DeploymentCauseApplyConfiguration
- type DeploymentCauseImageTriggerApplyConfiguration
- type DeploymentConditionApplyConfiguration
- func (b *DeploymentConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *DeploymentConditionApplyConfiguration
- func (b *DeploymentConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *DeploymentConditionApplyConfiguration
- func (b *DeploymentConditionApplyConfiguration) WithMessage(value string) *DeploymentConditionApplyConfiguration
- func (b *DeploymentConditionApplyConfiguration) WithReason(value string) *DeploymentConditionApplyConfiguration
- func (b *DeploymentConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *DeploymentConditionApplyConfiguration
- func (b *DeploymentConditionApplyConfiguration) WithType(value v1.DeploymentConditionType) *DeploymentConditionApplyConfiguration
- type DeploymentConfigApplyConfiguration
- func DeploymentConfig(name, namespace string) *DeploymentConfigApplyConfiguration
- func ExtractDeploymentConfig(deploymentConfig *apiappsv1.DeploymentConfig, fieldManager string) (*DeploymentConfigApplyConfiguration, error)
- func ExtractDeploymentConfigStatus(deploymentConfig *apiappsv1.DeploymentConfig, fieldManager string) (*DeploymentConfigApplyConfiguration, error)
- func (b *DeploymentConfigApplyConfiguration) WithAPIVersion(value string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithFinalizers(values ...string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithGenerateName(value string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithGeneration(value int64) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithKind(value string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithLabels(entries map[string]string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithName(value string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithNamespace(value string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithResourceVersion(value string) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithSpec(value *DeploymentConfigSpecApplyConfiguration) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithStatus(value *DeploymentConfigStatusApplyConfiguration) *DeploymentConfigApplyConfiguration
- func (b *DeploymentConfigApplyConfiguration) WithUID(value types.UID) *DeploymentConfigApplyConfiguration
- type DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithMinReadySeconds(value int32) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithPaused(value bool) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithReplicas(value int32) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithRevisionHistoryLimit(value int32) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithSelector(entries map[string]string) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithStrategy(value *DeploymentStrategyApplyConfiguration) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithTemplate(value corev1.PodTemplateSpec) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithTest(value bool) *DeploymentConfigSpecApplyConfiguration
- func (b *DeploymentConfigSpecApplyConfiguration) WithTriggers(value appsv1.DeploymentTriggerPolicies) *DeploymentConfigSpecApplyConfiguration
- type DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithAvailableReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithConditions(values ...*DeploymentConditionApplyConfiguration) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithDetails(value *DeploymentDetailsApplyConfiguration) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithLatestVersion(value int64) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithObservedGeneration(value int64) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithReadyReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithUnavailableReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
- func (b *DeploymentConfigStatusApplyConfiguration) WithUpdatedReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
- type DeploymentDetailsApplyConfiguration
- type DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithActiveDeadlineSeconds(value int64) *DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithCustomParams(value *CustomDeploymentStrategyParamsApplyConfiguration) *DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithLabels(entries map[string]string) *DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithRecreateParams(value *RecreateDeploymentStrategyParamsApplyConfiguration) *DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithResources(value corev1.ResourceRequirements) *DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithRollingParams(value *RollingDeploymentStrategyParamsApplyConfiguration) *DeploymentStrategyApplyConfiguration
- func (b *DeploymentStrategyApplyConfiguration) WithType(value v1.DeploymentStrategyType) *DeploymentStrategyApplyConfiguration
- type DeploymentTriggerImageChangeParamsApplyConfiguration
- func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithAutomatic(value bool) *DeploymentTriggerImageChangeParamsApplyConfiguration
- func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithContainerNames(values ...string) *DeploymentTriggerImageChangeParamsApplyConfiguration
- func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithFrom(value v1.ObjectReference) *DeploymentTriggerImageChangeParamsApplyConfiguration
- func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithLastTriggeredImage(value string) *DeploymentTriggerImageChangeParamsApplyConfiguration
- type DeploymentTriggerPolicyApplyConfiguration
- func (b *DeploymentTriggerPolicyApplyConfiguration) WithImageChangeParams(value *DeploymentTriggerImageChangeParamsApplyConfiguration) *DeploymentTriggerPolicyApplyConfiguration
- func (b *DeploymentTriggerPolicyApplyConfiguration) WithType(value v1.DeploymentTriggerType) *DeploymentTriggerPolicyApplyConfiguration
- type ExecNewPodHookApplyConfiguration
- func (b *ExecNewPodHookApplyConfiguration) WithCommand(values ...string) *ExecNewPodHookApplyConfiguration
- func (b *ExecNewPodHookApplyConfiguration) WithContainerName(value string) *ExecNewPodHookApplyConfiguration
- func (b *ExecNewPodHookApplyConfiguration) WithEnv(values ...v1.EnvVar) *ExecNewPodHookApplyConfiguration
- func (b *ExecNewPodHookApplyConfiguration) WithVolumes(values ...string) *ExecNewPodHookApplyConfiguration
- type LifecycleHookApplyConfiguration
- func (b *LifecycleHookApplyConfiguration) WithExecNewPod(value *ExecNewPodHookApplyConfiguration) *LifecycleHookApplyConfiguration
- func (b *LifecycleHookApplyConfiguration) WithFailurePolicy(value v1.LifecycleHookFailurePolicy) *LifecycleHookApplyConfiguration
- func (b *LifecycleHookApplyConfiguration) WithTagImages(values ...*TagImageHookApplyConfiguration) *LifecycleHookApplyConfiguration
- type RecreateDeploymentStrategyParamsApplyConfiguration
- func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithMid(value *LifecycleHookApplyConfiguration) *RecreateDeploymentStrategyParamsApplyConfiguration
- func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithPost(value *LifecycleHookApplyConfiguration) *RecreateDeploymentStrategyParamsApplyConfiguration
- func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithPre(value *LifecycleHookApplyConfiguration) *RecreateDeploymentStrategyParamsApplyConfiguration
- func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithTimeoutSeconds(value int64) *RecreateDeploymentStrategyParamsApplyConfiguration
- type RollingDeploymentStrategyParamsApplyConfiguration
- func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithIntervalSeconds(value int64) *RollingDeploymentStrategyParamsApplyConfiguration
- func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithMaxSurge(value intstr.IntOrString) *RollingDeploymentStrategyParamsApplyConfiguration
- func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithMaxUnavailable(value intstr.IntOrString) *RollingDeploymentStrategyParamsApplyConfiguration
- func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithPost(value *LifecycleHookApplyConfiguration) *RollingDeploymentStrategyParamsApplyConfiguration
- func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithPre(value *LifecycleHookApplyConfiguration) *RollingDeploymentStrategyParamsApplyConfiguration
- func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithTimeoutSeconds(value int64) *RollingDeploymentStrategyParamsApplyConfiguration
- func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithUpdatePeriodSeconds(value int64) *RollingDeploymentStrategyParamsApplyConfiguration
- type TagImageHookApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomDeploymentStrategyParamsApplyConfiguration ¶
type CustomDeploymentStrategyParamsApplyConfiguration struct { Image *string `json:"image,omitempty"` Environment []v1.EnvVar `json:"environment,omitempty"` Command []string `json:"command,omitempty"` }
CustomDeploymentStrategyParamsApplyConfiguration represents an declarative configuration of the CustomDeploymentStrategyParams type for use with apply.
func CustomDeploymentStrategyParams ¶
func CustomDeploymentStrategyParams() *CustomDeploymentStrategyParamsApplyConfiguration
CustomDeploymentStrategyParamsApplyConfiguration constructs an declarative configuration of the CustomDeploymentStrategyParams type for use with apply.
func (*CustomDeploymentStrategyParamsApplyConfiguration) WithCommand ¶
func (b *CustomDeploymentStrategyParamsApplyConfiguration) WithCommand(values ...string) *CustomDeploymentStrategyParamsApplyConfiguration
WithCommand adds the given value to the Command 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 Command field.
func (*CustomDeploymentStrategyParamsApplyConfiguration) WithEnvironment ¶
func (b *CustomDeploymentStrategyParamsApplyConfiguration) WithEnvironment(values ...v1.EnvVar) *CustomDeploymentStrategyParamsApplyConfiguration
WithEnvironment adds the given value to the Environment 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 Environment field.
func (*CustomDeploymentStrategyParamsApplyConfiguration) WithImage ¶
func (b *CustomDeploymentStrategyParamsApplyConfiguration) WithImage(value string) *CustomDeploymentStrategyParamsApplyConfiguration
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.
type DeploymentCauseApplyConfiguration ¶
type DeploymentCauseApplyConfiguration struct { Type *v1.DeploymentTriggerType `json:"type,omitempty"` ImageTrigger *DeploymentCauseImageTriggerApplyConfiguration `json:"imageTrigger,omitempty"` }
DeploymentCauseApplyConfiguration represents an declarative configuration of the DeploymentCause type for use with apply.
func DeploymentCause ¶
func DeploymentCause() *DeploymentCauseApplyConfiguration
DeploymentCauseApplyConfiguration constructs an declarative configuration of the DeploymentCause type for use with apply.
func (*DeploymentCauseApplyConfiguration) WithImageTrigger ¶
func (b *DeploymentCauseApplyConfiguration) WithImageTrigger(value *DeploymentCauseImageTriggerApplyConfiguration) *DeploymentCauseApplyConfiguration
WithImageTrigger sets the ImageTrigger 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 ImageTrigger field is set to the value of the last call.
func (*DeploymentCauseApplyConfiguration) WithType ¶
func (b *DeploymentCauseApplyConfiguration) WithType(value v1.DeploymentTriggerType) *DeploymentCauseApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type DeploymentCauseImageTriggerApplyConfiguration ¶
type DeploymentCauseImageTriggerApplyConfiguration struct {
From *v1.ObjectReference `json:"from,omitempty"`
}
DeploymentCauseImageTriggerApplyConfiguration represents an declarative configuration of the DeploymentCauseImageTrigger type for use with apply.
func DeploymentCauseImageTrigger ¶
func DeploymentCauseImageTrigger() *DeploymentCauseImageTriggerApplyConfiguration
DeploymentCauseImageTriggerApplyConfiguration constructs an declarative configuration of the DeploymentCauseImageTrigger type for use with apply.
func (*DeploymentCauseImageTriggerApplyConfiguration) WithFrom ¶
func (b *DeploymentCauseImageTriggerApplyConfiguration) WithFrom(value v1.ObjectReference) *DeploymentCauseImageTriggerApplyConfiguration
WithFrom sets the From 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 From field is set to the value of the last call.
type DeploymentConditionApplyConfiguration ¶
type DeploymentConditionApplyConfiguration struct { Type *v1.DeploymentConditionType `json:"type,omitempty"` Status *corev1.ConditionStatus `json:"status,omitempty"` LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
DeploymentConditionApplyConfiguration represents an declarative configuration of the DeploymentCondition type for use with apply.
func DeploymentCondition ¶
func DeploymentCondition() *DeploymentConditionApplyConfiguration
DeploymentConditionApplyConfiguration constructs an declarative configuration of the DeploymentCondition type for use with apply.
func (*DeploymentConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *DeploymentConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *DeploymentConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.
func (*DeploymentConditionApplyConfiguration) WithLastUpdateTime ¶
func (b *DeploymentConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *DeploymentConditionApplyConfiguration
WithLastUpdateTime sets the LastUpdateTime 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 LastUpdateTime field is set to the value of the last call.
func (*DeploymentConditionApplyConfiguration) WithMessage ¶
func (b *DeploymentConditionApplyConfiguration) WithMessage(value string) *DeploymentConditionApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*DeploymentConditionApplyConfiguration) WithReason ¶
func (b *DeploymentConditionApplyConfiguration) WithReason(value string) *DeploymentConditionApplyConfiguration
WithReason sets the Reason 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 Reason field is set to the value of the last call.
func (*DeploymentConditionApplyConfiguration) WithStatus ¶
func (b *DeploymentConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *DeploymentConditionApplyConfiguration
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 (*DeploymentConditionApplyConfiguration) WithType ¶
func (b *DeploymentConditionApplyConfiguration) WithType(value v1.DeploymentConditionType) *DeploymentConditionApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type DeploymentConfigApplyConfiguration ¶
type DeploymentConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *DeploymentConfigSpecApplyConfiguration `json:"spec,omitempty"` Status *DeploymentConfigStatusApplyConfiguration `json:"status,omitempty"` }
DeploymentConfigApplyConfiguration represents an declarative configuration of the DeploymentConfig type for use with apply.
func DeploymentConfig ¶
func DeploymentConfig(name, namespace string) *DeploymentConfigApplyConfiguration
DeploymentConfig constructs an declarative configuration of the DeploymentConfig type for use with apply.
func ExtractDeploymentConfig ¶
func ExtractDeploymentConfig(deploymentConfig *apiappsv1.DeploymentConfig, fieldManager string) (*DeploymentConfigApplyConfiguration, error)
ExtractDeploymentConfig extracts the applied configuration owned by fieldManager from deploymentConfig. If no managedFields are found in deploymentConfig for fieldManager, a DeploymentConfigApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. deploymentConfig must be a unmodified DeploymentConfig API object that was retrieved from the Kubernetes API. ExtractDeploymentConfig provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractDeploymentConfigStatus ¶
func ExtractDeploymentConfigStatus(deploymentConfig *apiappsv1.DeploymentConfig, fieldManager string) (*DeploymentConfigApplyConfiguration, error)
ExtractDeploymentConfigStatus is the same as ExtractDeploymentConfig except that it extracts the status subresource applied configuration. Experimental!
func (*DeploymentConfigApplyConfiguration) WithAPIVersion ¶
func (b *DeploymentConfigApplyConfiguration) WithAPIVersion(value string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithAnnotations ¶
func (b *DeploymentConfigApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *DeploymentConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *DeploymentConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *DeploymentConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithFinalizers ¶
func (b *DeploymentConfigApplyConfiguration) WithFinalizers(values ...string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithGenerateName ¶
func (b *DeploymentConfigApplyConfiguration) WithGenerateName(value string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithGeneration ¶
func (b *DeploymentConfigApplyConfiguration) WithGeneration(value int64) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithKind ¶
func (b *DeploymentConfigApplyConfiguration) WithKind(value string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithLabels ¶
func (b *DeploymentConfigApplyConfiguration) WithLabels(entries map[string]string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithName ¶
func (b *DeploymentConfigApplyConfiguration) WithName(value string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithNamespace ¶
func (b *DeploymentConfigApplyConfiguration) WithNamespace(value string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithOwnerReferences ¶
func (b *DeploymentConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithResourceVersion ¶
func (b *DeploymentConfigApplyConfiguration) WithResourceVersion(value string) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithSpec ¶
func (b *DeploymentConfigApplyConfiguration) WithSpec(value *DeploymentConfigSpecApplyConfiguration) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithStatus ¶
func (b *DeploymentConfigApplyConfiguration) WithStatus(value *DeploymentConfigStatusApplyConfiguration) *DeploymentConfigApplyConfiguration
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 (*DeploymentConfigApplyConfiguration) WithUID ¶
func (b *DeploymentConfigApplyConfiguration) WithUID(value types.UID) *DeploymentConfigApplyConfiguration
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 DeploymentConfigSpecApplyConfiguration ¶
type DeploymentConfigSpecApplyConfiguration struct { Strategy *DeploymentStrategyApplyConfiguration `json:"strategy,omitempty"` MinReadySeconds *int32 `json:"minReadySeconds,omitempty"` Triggers *appsv1.DeploymentTriggerPolicies `json:"triggers,omitempty"` Replicas *int32 `json:"replicas,omitempty"` RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"` Test *bool `json:"test,omitempty"` Paused *bool `json:"paused,omitempty"` Selector map[string]string `json:"selector,omitempty"` Template *corev1.PodTemplateSpec `json:"template,omitempty"` }
DeploymentConfigSpecApplyConfiguration represents an declarative configuration of the DeploymentConfigSpec type for use with apply.
func DeploymentConfigSpec ¶
func DeploymentConfigSpec() *DeploymentConfigSpecApplyConfiguration
DeploymentConfigSpecApplyConfiguration constructs an declarative configuration of the DeploymentConfigSpec type for use with apply.
func (*DeploymentConfigSpecApplyConfiguration) WithMinReadySeconds ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithMinReadySeconds(value int32) *DeploymentConfigSpecApplyConfiguration
WithMinReadySeconds sets the MinReadySeconds 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 MinReadySeconds field is set to the value of the last call.
func (*DeploymentConfigSpecApplyConfiguration) WithPaused ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithPaused(value bool) *DeploymentConfigSpecApplyConfiguration
WithPaused sets the Paused 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 Paused field is set to the value of the last call.
func (*DeploymentConfigSpecApplyConfiguration) WithReplicas ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithReplicas(value int32) *DeploymentConfigSpecApplyConfiguration
WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.
func (*DeploymentConfigSpecApplyConfiguration) WithRevisionHistoryLimit ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithRevisionHistoryLimit(value int32) *DeploymentConfigSpecApplyConfiguration
WithRevisionHistoryLimit sets the RevisionHistoryLimit 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 RevisionHistoryLimit field is set to the value of the last call.
func (*DeploymentConfigSpecApplyConfiguration) WithSelector ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithSelector(entries map[string]string) *DeploymentConfigSpecApplyConfiguration
WithSelector puts the entries into the Selector 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 Selector field, overwriting an existing map entries in Selector field with the same key.
func (*DeploymentConfigSpecApplyConfiguration) WithStrategy ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithStrategy(value *DeploymentStrategyApplyConfiguration) *DeploymentConfigSpecApplyConfiguration
WithStrategy sets the Strategy 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 Strategy field is set to the value of the last call.
func (*DeploymentConfigSpecApplyConfiguration) WithTemplate ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithTemplate(value corev1.PodTemplateSpec) *DeploymentConfigSpecApplyConfiguration
WithTemplate sets the Template 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 Template field is set to the value of the last call.
func (*DeploymentConfigSpecApplyConfiguration) WithTest ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithTest(value bool) *DeploymentConfigSpecApplyConfiguration
WithTest sets the Test 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 Test field is set to the value of the last call.
func (*DeploymentConfigSpecApplyConfiguration) WithTriggers ¶
func (b *DeploymentConfigSpecApplyConfiguration) WithTriggers(value appsv1.DeploymentTriggerPolicies) *DeploymentConfigSpecApplyConfiguration
WithTriggers sets the Triggers 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 Triggers field is set to the value of the last call.
type DeploymentConfigStatusApplyConfiguration ¶
type DeploymentConfigStatusApplyConfiguration struct { LatestVersion *int64 `json:"latestVersion,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` Replicas *int32 `json:"replicas,omitempty"` UpdatedReplicas *int32 `json:"updatedReplicas,omitempty"` AvailableReplicas *int32 `json:"availableReplicas,omitempty"` Details *DeploymentDetailsApplyConfiguration `json:"details,omitempty"` Conditions []DeploymentConditionApplyConfiguration `json:"conditions,omitempty"` ReadyReplicas *int32 `json:"readyReplicas,omitempty"` }
DeploymentConfigStatusApplyConfiguration represents an declarative configuration of the DeploymentConfigStatus type for use with apply.
func DeploymentConfigStatus ¶
func DeploymentConfigStatus() *DeploymentConfigStatusApplyConfiguration
DeploymentConfigStatusApplyConfiguration constructs an declarative configuration of the DeploymentConfigStatus type for use with apply.
func (*DeploymentConfigStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithAvailableReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas 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 AvailableReplicas field is set to the value of the last call.
func (*DeploymentConfigStatusApplyConfiguration) WithConditions ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithConditions(values ...*DeploymentConditionApplyConfiguration) *DeploymentConfigStatusApplyConfiguration
WithConditions adds the given value to the Conditions 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 Conditions field.
func (*DeploymentConfigStatusApplyConfiguration) WithDetails ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithDetails(value *DeploymentDetailsApplyConfiguration) *DeploymentConfigStatusApplyConfiguration
WithDetails sets the Details 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 Details field is set to the value of the last call.
func (*DeploymentConfigStatusApplyConfiguration) WithLatestVersion ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithLatestVersion(value int64) *DeploymentConfigStatusApplyConfiguration
WithLatestVersion sets the LatestVersion 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 LatestVersion field is set to the value of the last call.
func (*DeploymentConfigStatusApplyConfiguration) WithObservedGeneration ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithObservedGeneration(value int64) *DeploymentConfigStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.
func (*DeploymentConfigStatusApplyConfiguration) WithReadyReplicas ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithReadyReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas 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 ReadyReplicas field is set to the value of the last call.
func (*DeploymentConfigStatusApplyConfiguration) WithReplicas ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.
func (*DeploymentConfigStatusApplyConfiguration) WithUnavailableReplicas ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithUnavailableReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
WithUnavailableReplicas sets the UnavailableReplicas 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 UnavailableReplicas field is set to the value of the last call.
func (*DeploymentConfigStatusApplyConfiguration) WithUpdatedReplicas ¶
func (b *DeploymentConfigStatusApplyConfiguration) WithUpdatedReplicas(value int32) *DeploymentConfigStatusApplyConfiguration
WithUpdatedReplicas sets the UpdatedReplicas 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 UpdatedReplicas field is set to the value of the last call.
type DeploymentDetailsApplyConfiguration ¶
type DeploymentDetailsApplyConfiguration struct { Message *string `json:"message,omitempty"` Causes []DeploymentCauseApplyConfiguration `json:"causes,omitempty"` }
DeploymentDetailsApplyConfiguration represents an declarative configuration of the DeploymentDetails type for use with apply.
func DeploymentDetails ¶
func DeploymentDetails() *DeploymentDetailsApplyConfiguration
DeploymentDetailsApplyConfiguration constructs an declarative configuration of the DeploymentDetails type for use with apply.
func (*DeploymentDetailsApplyConfiguration) WithCauses ¶
func (b *DeploymentDetailsApplyConfiguration) WithCauses(values ...*DeploymentCauseApplyConfiguration) *DeploymentDetailsApplyConfiguration
WithCauses adds the given value to the Causes 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 Causes field.
func (*DeploymentDetailsApplyConfiguration) WithMessage ¶
func (b *DeploymentDetailsApplyConfiguration) WithMessage(value string) *DeploymentDetailsApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
type DeploymentStrategyApplyConfiguration ¶
type DeploymentStrategyApplyConfiguration struct { Type *v1.DeploymentStrategyType `json:"type,omitempty"` CustomParams *CustomDeploymentStrategyParamsApplyConfiguration `json:"customParams,omitempty"` RecreateParams *RecreateDeploymentStrategyParamsApplyConfiguration `json:"recreateParams,omitempty"` RollingParams *RollingDeploymentStrategyParamsApplyConfiguration `json:"rollingParams,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"` }
DeploymentStrategyApplyConfiguration represents an declarative configuration of the DeploymentStrategy type for use with apply.
func DeploymentStrategy ¶
func DeploymentStrategy() *DeploymentStrategyApplyConfiguration
DeploymentStrategyApplyConfiguration constructs an declarative configuration of the DeploymentStrategy type for use with apply.
func (*DeploymentStrategyApplyConfiguration) WithActiveDeadlineSeconds ¶
func (b *DeploymentStrategyApplyConfiguration) WithActiveDeadlineSeconds(value int64) *DeploymentStrategyApplyConfiguration
WithActiveDeadlineSeconds sets the ActiveDeadlineSeconds 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 ActiveDeadlineSeconds field is set to the value of the last call.
func (*DeploymentStrategyApplyConfiguration) WithAnnotations ¶
func (b *DeploymentStrategyApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentStrategyApplyConfiguration
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 (*DeploymentStrategyApplyConfiguration) WithCustomParams ¶
func (b *DeploymentStrategyApplyConfiguration) WithCustomParams(value *CustomDeploymentStrategyParamsApplyConfiguration) *DeploymentStrategyApplyConfiguration
WithCustomParams sets the CustomParams 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 CustomParams field is set to the value of the last call.
func (*DeploymentStrategyApplyConfiguration) WithLabels ¶
func (b *DeploymentStrategyApplyConfiguration) WithLabels(entries map[string]string) *DeploymentStrategyApplyConfiguration
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 (*DeploymentStrategyApplyConfiguration) WithRecreateParams ¶
func (b *DeploymentStrategyApplyConfiguration) WithRecreateParams(value *RecreateDeploymentStrategyParamsApplyConfiguration) *DeploymentStrategyApplyConfiguration
WithRecreateParams sets the RecreateParams 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 RecreateParams field is set to the value of the last call.
func (*DeploymentStrategyApplyConfiguration) WithResources ¶
func (b *DeploymentStrategyApplyConfiguration) WithResources(value corev1.ResourceRequirements) *DeploymentStrategyApplyConfiguration
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 (*DeploymentStrategyApplyConfiguration) WithRollingParams ¶
func (b *DeploymentStrategyApplyConfiguration) WithRollingParams(value *RollingDeploymentStrategyParamsApplyConfiguration) *DeploymentStrategyApplyConfiguration
WithRollingParams sets the RollingParams 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 RollingParams field is set to the value of the last call.
func (*DeploymentStrategyApplyConfiguration) WithType ¶
func (b *DeploymentStrategyApplyConfiguration) WithType(value v1.DeploymentStrategyType) *DeploymentStrategyApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type DeploymentTriggerImageChangeParamsApplyConfiguration ¶
type DeploymentTriggerImageChangeParamsApplyConfiguration struct { Automatic *bool `json:"automatic,omitempty"` ContainerNames []string `json:"containerNames,omitempty"` From *v1.ObjectReference `json:"from,omitempty"` LastTriggeredImage *string `json:"lastTriggeredImage,omitempty"` }
DeploymentTriggerImageChangeParamsApplyConfiguration represents an declarative configuration of the DeploymentTriggerImageChangeParams type for use with apply.
func DeploymentTriggerImageChangeParams ¶
func DeploymentTriggerImageChangeParams() *DeploymentTriggerImageChangeParamsApplyConfiguration
DeploymentTriggerImageChangeParamsApplyConfiguration constructs an declarative configuration of the DeploymentTriggerImageChangeParams type for use with apply.
func (*DeploymentTriggerImageChangeParamsApplyConfiguration) WithAutomatic ¶
func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithAutomatic(value bool) *DeploymentTriggerImageChangeParamsApplyConfiguration
WithAutomatic sets the Automatic 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 Automatic field is set to the value of the last call.
func (*DeploymentTriggerImageChangeParamsApplyConfiguration) WithContainerNames ¶
func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithContainerNames(values ...string) *DeploymentTriggerImageChangeParamsApplyConfiguration
WithContainerNames adds the given value to the ContainerNames 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 ContainerNames field.
func (*DeploymentTriggerImageChangeParamsApplyConfiguration) WithFrom ¶
func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithFrom(value v1.ObjectReference) *DeploymentTriggerImageChangeParamsApplyConfiguration
WithFrom sets the From 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 From field is set to the value of the last call.
func (*DeploymentTriggerImageChangeParamsApplyConfiguration) WithLastTriggeredImage ¶
func (b *DeploymentTriggerImageChangeParamsApplyConfiguration) WithLastTriggeredImage(value string) *DeploymentTriggerImageChangeParamsApplyConfiguration
WithLastTriggeredImage sets the LastTriggeredImage 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 LastTriggeredImage field is set to the value of the last call.
type DeploymentTriggerPolicyApplyConfiguration ¶
type DeploymentTriggerPolicyApplyConfiguration struct { Type *v1.DeploymentTriggerType `json:"type,omitempty"` ImageChangeParams *DeploymentTriggerImageChangeParamsApplyConfiguration `json:"imageChangeParams,omitempty"` }
DeploymentTriggerPolicyApplyConfiguration represents an declarative configuration of the DeploymentTriggerPolicy type for use with apply.
func DeploymentTriggerPolicy ¶
func DeploymentTriggerPolicy() *DeploymentTriggerPolicyApplyConfiguration
DeploymentTriggerPolicyApplyConfiguration constructs an declarative configuration of the DeploymentTriggerPolicy type for use with apply.
func (*DeploymentTriggerPolicyApplyConfiguration) WithImageChangeParams ¶
func (b *DeploymentTriggerPolicyApplyConfiguration) WithImageChangeParams(value *DeploymentTriggerImageChangeParamsApplyConfiguration) *DeploymentTriggerPolicyApplyConfiguration
WithImageChangeParams sets the ImageChangeParams 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 ImageChangeParams field is set to the value of the last call.
func (*DeploymentTriggerPolicyApplyConfiguration) WithType ¶
func (b *DeploymentTriggerPolicyApplyConfiguration) WithType(value v1.DeploymentTriggerType) *DeploymentTriggerPolicyApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type ExecNewPodHookApplyConfiguration ¶
type ExecNewPodHookApplyConfiguration struct { Command []string `json:"command,omitempty"` Env []v1.EnvVar `json:"env,omitempty"` ContainerName *string `json:"containerName,omitempty"` Volumes []string `json:"volumes,omitempty"` }
ExecNewPodHookApplyConfiguration represents an declarative configuration of the ExecNewPodHook type for use with apply.
func ExecNewPodHook ¶
func ExecNewPodHook() *ExecNewPodHookApplyConfiguration
ExecNewPodHookApplyConfiguration constructs an declarative configuration of the ExecNewPodHook type for use with apply.
func (*ExecNewPodHookApplyConfiguration) WithCommand ¶
func (b *ExecNewPodHookApplyConfiguration) WithCommand(values ...string) *ExecNewPodHookApplyConfiguration
WithCommand adds the given value to the Command 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 Command field.
func (*ExecNewPodHookApplyConfiguration) WithContainerName ¶
func (b *ExecNewPodHookApplyConfiguration) WithContainerName(value string) *ExecNewPodHookApplyConfiguration
WithContainerName sets the ContainerName 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 ContainerName field is set to the value of the last call.
func (*ExecNewPodHookApplyConfiguration) WithEnv ¶
func (b *ExecNewPodHookApplyConfiguration) WithEnv(values ...v1.EnvVar) *ExecNewPodHookApplyConfiguration
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 (*ExecNewPodHookApplyConfiguration) WithVolumes ¶
func (b *ExecNewPodHookApplyConfiguration) WithVolumes(values ...string) *ExecNewPodHookApplyConfiguration
WithVolumes adds the given value to the Volumes 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 Volumes field.
type LifecycleHookApplyConfiguration ¶
type LifecycleHookApplyConfiguration struct { FailurePolicy *v1.LifecycleHookFailurePolicy `json:"failurePolicy,omitempty"` ExecNewPod *ExecNewPodHookApplyConfiguration `json:"execNewPod,omitempty"` TagImages []TagImageHookApplyConfiguration `json:"tagImages,omitempty"` }
LifecycleHookApplyConfiguration represents an declarative configuration of the LifecycleHook type for use with apply.
func LifecycleHook ¶
func LifecycleHook() *LifecycleHookApplyConfiguration
LifecycleHookApplyConfiguration constructs an declarative configuration of the LifecycleHook type for use with apply.
func (*LifecycleHookApplyConfiguration) WithExecNewPod ¶
func (b *LifecycleHookApplyConfiguration) WithExecNewPod(value *ExecNewPodHookApplyConfiguration) *LifecycleHookApplyConfiguration
WithExecNewPod sets the ExecNewPod 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 ExecNewPod field is set to the value of the last call.
func (*LifecycleHookApplyConfiguration) WithFailurePolicy ¶
func (b *LifecycleHookApplyConfiguration) WithFailurePolicy(value v1.LifecycleHookFailurePolicy) *LifecycleHookApplyConfiguration
WithFailurePolicy sets the FailurePolicy 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 FailurePolicy field is set to the value of the last call.
func (*LifecycleHookApplyConfiguration) WithTagImages ¶
func (b *LifecycleHookApplyConfiguration) WithTagImages(values ...*TagImageHookApplyConfiguration) *LifecycleHookApplyConfiguration
WithTagImages adds the given value to the TagImages 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 TagImages field.
type RecreateDeploymentStrategyParamsApplyConfiguration ¶
type RecreateDeploymentStrategyParamsApplyConfiguration struct { TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"` Pre *LifecycleHookApplyConfiguration `json:"pre,omitempty"` Mid *LifecycleHookApplyConfiguration `json:"mid,omitempty"` Post *LifecycleHookApplyConfiguration `json:"post,omitempty"` }
RecreateDeploymentStrategyParamsApplyConfiguration represents an declarative configuration of the RecreateDeploymentStrategyParams type for use with apply.
func RecreateDeploymentStrategyParams ¶
func RecreateDeploymentStrategyParams() *RecreateDeploymentStrategyParamsApplyConfiguration
RecreateDeploymentStrategyParamsApplyConfiguration constructs an declarative configuration of the RecreateDeploymentStrategyParams type for use with apply.
func (*RecreateDeploymentStrategyParamsApplyConfiguration) WithMid ¶
func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithMid(value *LifecycleHookApplyConfiguration) *RecreateDeploymentStrategyParamsApplyConfiguration
WithMid sets the Mid 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 Mid field is set to the value of the last call.
func (*RecreateDeploymentStrategyParamsApplyConfiguration) WithPost ¶
func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithPost(value *LifecycleHookApplyConfiguration) *RecreateDeploymentStrategyParamsApplyConfiguration
WithPost sets the Post 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 Post field is set to the value of the last call.
func (*RecreateDeploymentStrategyParamsApplyConfiguration) WithPre ¶
func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithPre(value *LifecycleHookApplyConfiguration) *RecreateDeploymentStrategyParamsApplyConfiguration
WithPre sets the Pre 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 Pre field is set to the value of the last call.
func (*RecreateDeploymentStrategyParamsApplyConfiguration) WithTimeoutSeconds ¶
func (b *RecreateDeploymentStrategyParamsApplyConfiguration) WithTimeoutSeconds(value int64) *RecreateDeploymentStrategyParamsApplyConfiguration
WithTimeoutSeconds sets the TimeoutSeconds 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 TimeoutSeconds field is set to the value of the last call.
type RollingDeploymentStrategyParamsApplyConfiguration ¶
type RollingDeploymentStrategyParamsApplyConfiguration struct { UpdatePeriodSeconds *int64 `json:"updatePeriodSeconds,omitempty"` IntervalSeconds *int64 `json:"intervalSeconds,omitempty"` TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"` MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty"` Pre *LifecycleHookApplyConfiguration `json:"pre,omitempty"` Post *LifecycleHookApplyConfiguration `json:"post,omitempty"` }
RollingDeploymentStrategyParamsApplyConfiguration represents an declarative configuration of the RollingDeploymentStrategyParams type for use with apply.
func RollingDeploymentStrategyParams ¶
func RollingDeploymentStrategyParams() *RollingDeploymentStrategyParamsApplyConfiguration
RollingDeploymentStrategyParamsApplyConfiguration constructs an declarative configuration of the RollingDeploymentStrategyParams type for use with apply.
func (*RollingDeploymentStrategyParamsApplyConfiguration) WithIntervalSeconds ¶
func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithIntervalSeconds(value int64) *RollingDeploymentStrategyParamsApplyConfiguration
WithIntervalSeconds sets the IntervalSeconds 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 IntervalSeconds field is set to the value of the last call.
func (*RollingDeploymentStrategyParamsApplyConfiguration) WithMaxSurge ¶
func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithMaxSurge(value intstr.IntOrString) *RollingDeploymentStrategyParamsApplyConfiguration
WithMaxSurge sets the MaxSurge 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 MaxSurge field is set to the value of the last call.
func (*RollingDeploymentStrategyParamsApplyConfiguration) WithMaxUnavailable ¶
func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithMaxUnavailable(value intstr.IntOrString) *RollingDeploymentStrategyParamsApplyConfiguration
WithMaxUnavailable sets the MaxUnavailable 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 MaxUnavailable field is set to the value of the last call.
func (*RollingDeploymentStrategyParamsApplyConfiguration) WithPost ¶
func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithPost(value *LifecycleHookApplyConfiguration) *RollingDeploymentStrategyParamsApplyConfiguration
WithPost sets the Post 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 Post field is set to the value of the last call.
func (*RollingDeploymentStrategyParamsApplyConfiguration) WithPre ¶
func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithPre(value *LifecycleHookApplyConfiguration) *RollingDeploymentStrategyParamsApplyConfiguration
WithPre sets the Pre 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 Pre field is set to the value of the last call.
func (*RollingDeploymentStrategyParamsApplyConfiguration) WithTimeoutSeconds ¶
func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithTimeoutSeconds(value int64) *RollingDeploymentStrategyParamsApplyConfiguration
WithTimeoutSeconds sets the TimeoutSeconds 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 TimeoutSeconds field is set to the value of the last call.
func (*RollingDeploymentStrategyParamsApplyConfiguration) WithUpdatePeriodSeconds ¶
func (b *RollingDeploymentStrategyParamsApplyConfiguration) WithUpdatePeriodSeconds(value int64) *RollingDeploymentStrategyParamsApplyConfiguration
WithUpdatePeriodSeconds sets the UpdatePeriodSeconds 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 UpdatePeriodSeconds field is set to the value of the last call.
type TagImageHookApplyConfiguration ¶
type TagImageHookApplyConfiguration struct { ContainerName *string `json:"containerName,omitempty"` To *v1.ObjectReference `json:"to,omitempty"` }
TagImageHookApplyConfiguration represents an declarative configuration of the TagImageHook type for use with apply.
func TagImageHook ¶
func TagImageHook() *TagImageHookApplyConfiguration
TagImageHookApplyConfiguration constructs an declarative configuration of the TagImageHook type for use with apply.
func (*TagImageHookApplyConfiguration) WithContainerName ¶
func (b *TagImageHookApplyConfiguration) WithContainerName(value string) *TagImageHookApplyConfiguration
WithContainerName sets the ContainerName 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 ContainerName field is set to the value of the last call.
func (*TagImageHookApplyConfiguration) WithTo ¶
func (b *TagImageHookApplyConfiguration) WithTo(value v1.ObjectReference) *TagImageHookApplyConfiguration
WithTo sets the To 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 To field is set to the value of the last call.
Source Files ¶
- customdeploymentstrategyparams.go
- deploymentcause.go
- deploymentcauseimagetrigger.go
- deploymentcondition.go
- deploymentconfig.go
- deploymentconfigspec.go
- deploymentconfigstatus.go
- deploymentdetails.go
- deploymentstrategy.go
- deploymenttriggerimagechangeparams.go
- deploymenttriggerpolicy.go
- execnewpodhook.go
- lifecyclehook.go
- recreatedeploymentstrategyparams.go
- rollingdeploymentstrategyparams.go
- tagimagehook.go