Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API +groupName=openebs.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type CStorPool
- type CStorVolume
- type DataItem
- type JivaVolume
- type Options
- type ResourceDetails
- type ResourceOptions
- type ResourceSpec
- type ResourceState
- type Status
- type StepPhase
- type StoragePoolClaim
- type UpgradeConfig
- type UpgradeDetailedStatuses
- type UpgradePhase
- type UpgradeResource
- type UpgradeResult
- type UpgradeResultConfig
- type UpgradeResultList
- type UpgradeResultStatus
- type UpgradeResultTask
- type UpgradeStep
- type UpgradeSubResource
- type UpgradeTask
- type UpgradeTaskList
- type UpgradeTaskSpec
- type UpgradeTaskStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion defines the group version // for upgrade SchemeGroupVersion = schema.GroupVersion{Group: "openebs.io", Version: "v1alpha1"} // SchemeBuilder for upgrade SchemeBuilder runtime.SchemeBuilder // AddToScheme function for upgrade is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type CStorPool ¶
type CStorPool struct { // PoolName contains the name of the cstor pool to be upgraded PoolName string `json:"poolName,omitempty" protobuf:"bytes,1,name=poolName"` // Options can be used to change the default behaviour of upgrade Options *ResourceOptions `json:"options,omitempty" protobuf:"bytes,2,opt,name=options"` }
CStorPool is the ResourceType for cstor pool
func (*CStorPool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPool.
func (*CStorPool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CStorVolume ¶
type CStorVolume struct { // PVName contains the name of the pv associated with the cstor volume PVName string `json:"pvName,omitempty" protobuf:"bytes,1,name=pvName"` // Options can be used to change the default behaviour of upgrade Options *ResourceOptions `json:"options,omitempty" protobuf:"bytes,2,opt,name=options"` }
CStorVolume is the ResourceType for cstor volume
func (*CStorVolume) DeepCopy ¶
func (in *CStorVolume) DeepCopy() *CStorVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolume.
func (*CStorVolume) DeepCopyInto ¶
func (in *CStorVolume) DeepCopyInto(out *CStorVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataItem ¶
type DataItem struct { // Name of the configuration Name string `json:"name"` // Value represents any specific value that is applicable // to this configuration Value string `json:"value"` // Entries represents an arbitrary map of key value pairs Entries map[string]string `json:"entries"` }
DataItem holds a runtime configuration for executor
func (*DataItem) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataItem.
func (*DataItem) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JivaVolume ¶
type JivaVolume struct { // PVName contains the name of the pv associated with the jiva volume PVName string `json:"pvName,omitempty" protobuf:"bytes,1,name=pvName"` // Options can be used to change the default behaviour of upgrade Options *ResourceOptions `json:"options,omitempty" protobuf:"bytes,2,opt,name=options"` }
JivaVolume is the ResourceType for jiva volume
func (*JivaVolume) DeepCopy ¶
func (in *JivaVolume) DeepCopy() *JivaVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JivaVolume.
func (*JivaVolume) DeepCopyInto ¶
func (in *JivaVolume) DeepCopyInto(out *JivaVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Options ¶
type Options struct { // Timeout is maximum seconds to wait at any given step in the upgrade Timeout int `json:"timeout,omitempty" protobuf:"varint,1,opt,name=resourceType"` }
Options provides additional optional arguments
func (*Options) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options.
func (*Options) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceDetails ¶
type ResourceDetails struct { // Name of the resource Name string `json:"name"` // Kind is the type of resource i.e. // cvr, deployment, .. Kind string `json:"kind"` // APIVersion of the resource APIVersion string `json:"apiVersion"` // Namespace of the resource Namespace string `json:"namespace"` // Generation of resource represents last successful Generation // observed by resource controller (ie. - deployment controller). // Every time we patched a resource it will assign a new Generation. // This is helpful at the time of roll back. Generation string `json:"generation"` }
ResourceDetails represents the basic details of a particular resource
func (*ResourceDetails) DeepCopy ¶
func (in *ResourceDetails) DeepCopy() *ResourceDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDetails.
func (*ResourceDetails) DeepCopyInto ¶
func (in *ResourceDetails) DeepCopyInto(out *ResourceDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResourceDetails) GoString ¶
func (rd ResourceDetails) GoString() string
GoString implements GoStringer interface
func (ResourceDetails) String ¶
func (rd ResourceDetails) String() string
String implements Stringer interface
type ResourceOptions ¶
type ResourceOptions struct { // IgnoreStepsOnError allows to ignore steps which failed IgnoreStepsOnError []string `json:"ignoreStepsOnError,omitempty" protobuf:"bytes,1,opt,name=ignoreStepsOnError"` }
ResourceOptions provides additional options for a particular resource
func (*ResourceOptions) DeepCopy ¶
func (in *ResourceOptions) DeepCopy() *ResourceOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceOptions.
func (*ResourceOptions) DeepCopyInto ¶
func (in *ResourceOptions) DeepCopyInto(out *ResourceOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSpec ¶
type ResourceSpec struct { // JivaVolume contains the details of the jiva volume to be upgraded JivaVolume *JivaVolume `json:"jivaVolume,omitempty" protobuf:"bytes,1,opt,name=jivaVolume"` // CStorVolume contains the details of the cstor volume to be upgraded CStorVolume *CStorVolume `json:"cstorVolume,omitempty" protobuf:"bytes,2,opt,name=cstorVolume"` // CStorPool contains the details of the cstor pool to be upgraded CStorPool *CStorPool `json:"cstorPool,omitempty" protobuf:"bytes,3,opt,name=cstorPool"` // StoragePoolClaim contains the details of the storage pool claim to be upgraded StoragePoolClaim *StoragePoolClaim `json:"storagePoolClaim,omitempty" protobuf:"bytes,4,opt,name=storagePoolClaim"` }
ResourceSpec is the type of resource which is to be upgraded. Exactly one of its members must be set.
func (*ResourceSpec) DeepCopy ¶
func (in *ResourceSpec) DeepCopy() *ResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec.
func (*ResourceSpec) DeepCopyInto ¶
func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceState ¶
type ResourceState struct { // Status of the resource Status string `json:"status"` // LastTransitionTime is the last time the status // transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Message is a human readable message indicating details about the transition. Message string `json:"message"` }
ResourceState represents the state of a resource
func (*ResourceState) DeepCopy ¶
func (in *ResourceState) DeepCopy() *ResourceState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceState.
func (*ResourceState) DeepCopyInto ¶
func (in *ResourceState) DeepCopyInto(out *ResourceState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Status ¶
type Status struct { // Phase indicates if the UpgradeStep is waiting, errored or completed. Phase StepPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase"` // A human-readable message indicating details about why the upgradeStep // is in this state Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` // Reason is a brief CamelCase string that describes any failure and is meant // for machine parsing and tidy display in the CLI Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"` }
Status represents the state of the step performed during the upgrade.
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StoragePoolClaim ¶
type StoragePoolClaim struct { // SPCName contains the name of the storage pool claim to be upgraded SPCName string `json:"spcName,omitempty" protobuf:"bytes,1,name=spcName"` // Options can be used to change the default behaviour of upgrade Options *ResourceOptions `json:"options,omitempty" protobuf:"bytes,2,opt,name=options"` }
StoragePoolClaim is the ResourceType for storage pool claim
func (*StoragePoolClaim) DeepCopy ¶
func (in *StoragePoolClaim) DeepCopy() *StoragePoolClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePoolClaim.
func (*StoragePoolClaim) DeepCopyInto ¶
func (in *StoragePoolClaim) DeepCopyInto(out *StoragePoolClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeConfig ¶
type UpgradeConfig struct { // CASTemplate contain castemplate name which task executor // will use to upgrade single unit of resources. CASTemplate string `json:"casTemplate"` // Data is used to provide some runtime configurations to // castemplate engine. Task executor will directly copy these // configurations to castemplate engine. Data []DataItem `json:"data"` // Resources contains list of resources which we are going to upgrade Resources []ResourceDetails `json:"resources"` }
UpgradeConfig represents configuration for a job or executor or some other component. This contains Resources, Castemplate and RuntimeConfigs Mentioned Resources will be updated using mention castemplate
func (*UpgradeConfig) DeepCopy ¶
func (in *UpgradeConfig) DeepCopy() *UpgradeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeConfig.
func (*UpgradeConfig) DeepCopyInto ¶
func (in *UpgradeConfig) DeepCopyInto(out *UpgradeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (UpgradeConfig) GoString ¶
func (uc UpgradeConfig) GoString() string
GoString implements GoStringer interface
func (UpgradeConfig) String ¶
func (uc UpgradeConfig) String() string
String implements Stringer interface
type UpgradeDetailedStatuses ¶
type UpgradeDetailedStatuses struct { Step UpgradeStep `json:"step,omitempty" protobuf:"bytes,1,opt,name=step"` // StartTime of a UpgradeStep StartTime metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"` // LastUpdatedTime of a UpgradeStep LastUpdatedTime metav1.Time `json:"lastUpdatedAt,omitempty" protobuf:"bytes,3,opt,name=lastUpdatedAt"` // Status of a UpgradeStep Status `json:",inline" protobuf:"bytes,4,opt,name=state"` }
UpgradeDetailedStatuses represents the latest available observations of a UpgradeTask current state.
func (*UpgradeDetailedStatuses) DeepCopy ¶
func (in *UpgradeDetailedStatuses) DeepCopy() *UpgradeDetailedStatuses
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDetailedStatuses.
func (*UpgradeDetailedStatuses) DeepCopyInto ¶
func (in *UpgradeDetailedStatuses) DeepCopyInto(out *UpgradeDetailedStatuses)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradePhase ¶
type UpgradePhase string
UpgradePhase defines phase of a UpgradeTask
const ( // UpgradeStarted - used for Upgrades that are Started UpgradeStarted UpgradePhase = "Started" // UpgradeSuccess - used for Upgrades that are not available UpgradeSuccess UpgradePhase = "Success" // UpgradeError - used for Upgrades that Error for some reason UpgradeError UpgradePhase = "Error" )
type UpgradeResource ¶
type UpgradeResource struct { ResourceDetails // PreState represents the state of the resource // before upgrade PreState ResourceState `json:"preState"` // PostState represents the state of the resource // after upgrade PostState ResourceState `json:"postState"` // SubResources are the resources related to // this resource which needs to be upgraded SubResources []UpgradeSubResource `json:"subResources"` }
UpgradeResource represents a resource that needs to be upgraded to a desired version
func (*UpgradeResource) DeepCopy ¶
func (in *UpgradeResource) DeepCopy() *UpgradeResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeResource.
func (*UpgradeResource) DeepCopyInto ¶
func (in *UpgradeResource) DeepCopyInto(out *UpgradeResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeResult ¶
type UpgradeResult struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Config UpgradeResultConfig `json:"config"` // Tasks are the runtasks that needs to be // executed to perform this upgrade Tasks []UpgradeResultTask `json:"tasks"` Status UpgradeResultStatus `json:"status"` }
UpgradeResult contains the desired specifications of an upgrade result
func (*UpgradeResult) DeepCopy ¶
func (in *UpgradeResult) DeepCopy() *UpgradeResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeResult.
func (*UpgradeResult) DeepCopyInto ¶
func (in *UpgradeResult) DeepCopyInto(out *UpgradeResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpgradeResult) DeepCopyObject ¶
func (in *UpgradeResult) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradeResultConfig ¶
type UpgradeResultConfig struct { ResourceDetails // data is used to provide some runtime configurations to // castemplate engine. Task executor will directly copy these // configurations to castemplate engine. Data []DataItem `json:"data"` }
UpgradeResultConfig represents the config of UpgradeResult i.e. It contains resource details of single unit of upgrade and all runtime configuration.
func (*UpgradeResultConfig) DeepCopy ¶
func (in *UpgradeResultConfig) DeepCopy() *UpgradeResultConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeResultConfig.
func (*UpgradeResultConfig) DeepCopyInto ¶
func (in *UpgradeResultConfig) DeepCopyInto(out *UpgradeResultConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeResultList ¶
type UpgradeResultList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []UpgradeResult `json:"items"` }
UpgradeResultList is a list of UpgradeResults
func (*UpgradeResultList) DeepCopy ¶
func (in *UpgradeResultList) DeepCopy() *UpgradeResultList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeResultList.
func (*UpgradeResultList) DeepCopyInto ¶
func (in *UpgradeResultList) DeepCopyInto(out *UpgradeResultList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpgradeResultList) DeepCopyObject ¶
func (in *UpgradeResultList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (UpgradeResultList) GoString ¶
func (urList UpgradeResultList) GoString() string
GoString implements GoStringer interface
func (UpgradeResultList) String ¶
func (urList UpgradeResultList) String() string
String implements Stringer interface
type UpgradeResultStatus ¶
type UpgradeResultStatus struct { // DesiredCount is the total no of resources that // needs to be upgraded to a desired version DesiredCount int `json:"desiredCount"` // ActualCount represents the no of resources // that has been successfully upgraded ActualCount int `json:"actualCount"` // FailedCount represents the no of resources // that has failed to upgrade FailedCount int `json:"failedCount"` // Resource is the resource that needs to // be upgraded Resource UpgradeResource `json:"resource"` }
UpgradeResultStatus represents the current state of UpgradeResult
func (*UpgradeResultStatus) DeepCopy ¶
func (in *UpgradeResultStatus) DeepCopy() *UpgradeResultStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeResultStatus.
func (*UpgradeResultStatus) DeepCopyInto ¶
func (in *UpgradeResultStatus) DeepCopyInto(out *UpgradeResultStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeResultTask ¶
type UpgradeResultTask struct { // Name of the task Name string `json:"name"` // Status is the status of the task which // could be successful or failed Status string `json:"status"` // LastTransitionTime is the last time the status // transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Message is a human readable message // indicating details about the task Message string `json:"message"` // LastError is the last error occurred // while executing this task LastError string `json:"lastError"` // StartTime of the task StartTime *metav1.Time `json:"startTime"` // EndTime of the task EndTime *metav1.Time `json:"endTime"` // Retries is the no of times this task // has tried to execute Retries int `json:"retries"` }
UpgradeResultTask represents details of a task(runtask) required to be executed for upgrading a particular resource
func (*UpgradeResultTask) DeepCopy ¶
func (in *UpgradeResultTask) DeepCopy() *UpgradeResultTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeResultTask.
func (*UpgradeResultTask) DeepCopyInto ¶
func (in *UpgradeResultTask) DeepCopyInto(out *UpgradeResultTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeStep ¶
type UpgradeStep string
UpgradeStep is the current step being performed for a particular resource upgrade
const ( // PreUpgrade is the step to verify resource before upgrade PreUpgrade UpgradeStep = "PRE_UPGRADE" // TargetUpgrade is the step to upgrade Target depoyment of resource TargetUpgrade UpgradeStep = "TARGET_UPGRADE" // ReplicaUpgrade is the step to upgrade replica deployment of resource ReplicaUpgrade UpgradeStep = "REPLICA_UPGRADE" // Verify is the step to verify the upgrade Verify UpgradeStep = "VERIFY" // Rollback is the step to rollback to previous version if upgrade fails Rollback UpgradeStep = "ROLLBACK" // PoolInstanceUpgrade is the step to verify resource before upgrade PoolInstanceUpgrade UpgradeStep = "POOL_INSTANCE_UPGRADE" )
type UpgradeSubResource ¶
type UpgradeSubResource struct { ResourceDetails // PreState represents the state of the // subresource before upgrade PreState ResourceState `json:"preState"` // PostState represents the state of the // subresource after upgrade PostState ResourceState `json:"postState"` }
UpgradeSubResource represents the details of a subresource which needs to be upgraded
func (*UpgradeSubResource) DeepCopy ¶
func (in *UpgradeSubResource) DeepCopy() *UpgradeSubResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeSubResource.
func (*UpgradeSubResource) DeepCopyInto ¶
func (in *UpgradeSubResource) DeepCopyInto(out *UpgradeSubResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeTask ¶
type UpgradeTask struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec i.e. specifications of the UpgradeTask Spec UpgradeTaskSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status of UpgradeTask Status UpgradeTaskStatus `json:"status" protobuf:"bytes,3,opt,name=status"` }
UpgradeTask represents an upgrade task
func (*UpgradeTask) DeepCopy ¶
func (in *UpgradeTask) DeepCopy() *UpgradeTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTask.
func (*UpgradeTask) DeepCopyInto ¶
func (in *UpgradeTask) DeepCopyInto(out *UpgradeTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpgradeTask) DeepCopyObject ¶
func (in *UpgradeTask) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradeTaskList ¶
type UpgradeTaskList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items are the list of upgrade task items Items []UpgradeTask `json:"items" protobuf:"bytes,2,rep,name=items"` }
UpgradeTaskList is a list of UpgradeTask resources
func (*UpgradeTaskList) DeepCopy ¶
func (in *UpgradeTaskList) DeepCopy() *UpgradeTaskList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTaskList.
func (*UpgradeTaskList) DeepCopyInto ¶
func (in *UpgradeTaskList) DeepCopyInto(out *UpgradeTaskList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpgradeTaskList) DeepCopyObject ¶
func (in *UpgradeTaskList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradeTaskSpec ¶
type UpgradeTaskSpec struct { // FromVersion is the current version of the resource. FromVersion string `json:"fromVersion" protobuf:"bytes,1,name=fromVersion"` // ToVersion is the upgraded version of the resource. It should be same // as the version of control plane components version. ToVersion string `json:"toVersion" protobuf:"bytes,2,name=toVersion"` // Options contains the optional flags that can be passed during upgrade. Options *Options `json:"options,omitempty" protobuf:"bytes,3,name=options"` // ResourceSpec contains the details of the resource that has to upgraded. ResourceSpec `json:",inline" protobuf:"bytes,4,name=resourceType"` // ImagePrefix contains the url prefix of the image url. This field is // optional. If not present upgrade takes the previously present ImagePrefix. ImagePrefix string `json:"imagePrefix" protobuf:"bytes,5,name=imagePrefix"` // ImageTag contains the customized tag for ToVersion if any. This field is // optional. If not present upgrade takes the ToVersion as the ImageTag ImageTag string `json:"imageTag" protobuf:"bytes,6,name=imageTag"` }
UpgradeTaskSpec is the properties of an upgrade task
func (*UpgradeTaskSpec) DeepCopy ¶
func (in *UpgradeTaskSpec) DeepCopy() *UpgradeTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTaskSpec.
func (*UpgradeTaskSpec) DeepCopyInto ¶
func (in *UpgradeTaskSpec) DeepCopyInto(out *UpgradeTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeTaskStatus ¶
type UpgradeTaskStatus struct { // Phase indicates if a upgradeTask is started, success or errored Phase UpgradePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=UpgradePhase"` // StartTime of Upgrade StartTime metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"` // CompletedTime of Upgrade CompletedTime metav1.Time `json:"completedTime,omitempty" protobuf:"bytes,3,opt,name=completedTime"` // UpgradeDetailedStatuses contains the list of statuses of each step UpgradeDetailedStatuses []UpgradeDetailedStatuses `json:"upgradeDetailedStatuses,omitempty" protobuf:"bytes,4,rep,name=upgradeDetailedStatuses"` // Retries is the number of times the job attempted to upgrade the resource Retries int `json:"retries" protobuf:"bytes,2,opt,name=retries"` }
UpgradeTaskStatus provides status of a upgradeTask
func (*UpgradeTaskStatus) DeepCopy ¶
func (in *UpgradeTaskStatus) DeepCopy() *UpgradeTaskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTaskStatus.
func (*UpgradeTaskStatus) DeepCopyInto ¶
func (in *UpgradeTaskStatus) DeepCopyInto(out *UpgradeTaskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.