v1

package
v0.0.0-...-d24fd3e Latest Latest
Warning

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

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

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"`
	UnavailableReplicas *int32                                  `json:"unavailableReplicas,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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"`
	MaxUnavailable      *intstr.IntOrString              `json:"maxUnavailable,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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL