Documentation ¶
Index ¶
- func PossibleValuesForManagedClusterUpgradeType() []string
- func PossibleValuesForNodeImageSelectionType() []string
- func PossibleValuesForTargetType() []string
- func PossibleValuesForUpdateRunProvisioningState() []string
- func PossibleValuesForUpdateState() []string
- func ValidateFleetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUpdateRunID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type FleetId
- type GetOperationResponse
- type ListByFleetCompleteResult
- type ListByFleetCustomPager
- type ListByFleetOperationResponse
- type ManagedClusterUpdate
- type ManagedClusterUpgradeSpec
- type ManagedClusterUpgradeType
- type MemberUpdateStatus
- type NodeImageSelection
- type NodeImageSelectionStatus
- type NodeImageSelectionType
- type NodeImageVersion
- type SkipOperationOptions
- type SkipOperationResponse
- type SkipProperties
- type SkipTarget
- type StartOperationOptions
- type StartOperationResponse
- type StopOperationOptions
- type StopOperationResponse
- type TargetType
- type UpdateGroup
- type UpdateGroupStatus
- type UpdateRun
- type UpdateRunId
- type UpdateRunOperationPredicate
- type UpdateRunProperties
- type UpdateRunProvisioningState
- type UpdateRunStatus
- type UpdateRunStrategy
- type UpdateRunsClient
- func (c UpdateRunsClient) CreateOrUpdate(ctx context.Context, id UpdateRunId, input UpdateRun, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c UpdateRunsClient) CreateOrUpdateThenPoll(ctx context.Context, id UpdateRunId, input UpdateRun, ...) error
- func (c UpdateRunsClient) Delete(ctx context.Context, id UpdateRunId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c UpdateRunsClient) DeleteThenPoll(ctx context.Context, id UpdateRunId, options DeleteOperationOptions) error
- func (c UpdateRunsClient) Get(ctx context.Context, id UpdateRunId) (result GetOperationResponse, err error)
- func (c UpdateRunsClient) ListByFleet(ctx context.Context, id FleetId) (result ListByFleetOperationResponse, err error)
- func (c UpdateRunsClient) ListByFleetComplete(ctx context.Context, id FleetId) (ListByFleetCompleteResult, error)
- func (c UpdateRunsClient) ListByFleetCompleteMatchingPredicate(ctx context.Context, id FleetId, predicate UpdateRunOperationPredicate) (result ListByFleetCompleteResult, err error)
- func (c UpdateRunsClient) Skip(ctx context.Context, id UpdateRunId, input SkipProperties, ...) (result SkipOperationResponse, err error)
- func (c UpdateRunsClient) SkipThenPoll(ctx context.Context, id UpdateRunId, input SkipProperties, ...) error
- func (c UpdateRunsClient) Start(ctx context.Context, id UpdateRunId, options StartOperationOptions) (result StartOperationResponse, err error)
- func (c UpdateRunsClient) StartThenPoll(ctx context.Context, id UpdateRunId, options StartOperationOptions) error
- func (c UpdateRunsClient) Stop(ctx context.Context, id UpdateRunId, options StopOperationOptions) (result StopOperationResponse, err error)
- func (c UpdateRunsClient) StopThenPoll(ctx context.Context, id UpdateRunId, options StopOperationOptions) error
- type UpdateStage
- type UpdateStageStatus
- type UpdateState
- type UpdateStatus
- type WaitStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagedClusterUpgradeType ¶
func PossibleValuesForManagedClusterUpgradeType() []string
func PossibleValuesForNodeImageSelectionType ¶
func PossibleValuesForNodeImageSelectionType() []string
func PossibleValuesForTargetType ¶
func PossibleValuesForTargetType() []string
func PossibleValuesForUpdateRunProvisioningState ¶
func PossibleValuesForUpdateRunProvisioningState() []string
func PossibleValuesForUpdateState ¶
func PossibleValuesForUpdateState() []string
func ValidateFleetID ¶
ValidateFleetID checks that 'input' can be parsed as a Fleet ID
func ValidateUpdateRunID ¶
ValidateUpdateRunID checks that 'input' can be parsed as a Update Run ID
Types ¶
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type FleetId ¶
FleetId is a struct representing the Resource ID for a Fleet
func NewFleetID ¶
NewFleetID returns a new FleetId struct
func ParseFleetID ¶
ParseFleetID parses 'input' into a FleetId
func ParseFleetIDInsensitively ¶
ParseFleetIDInsensitively parses 'input' case-insensitively into a FleetId note: this method should only be used for API response data and not user input
func (*FleetId) FromParseResult ¶
func (id *FleetId) FromParseResult(input resourceids.ParseResult) error
func (FleetId) Segments ¶
func (id FleetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Fleet ID
type GetOperationResponse ¶
type ListByFleetCustomPager ¶
func (*ListByFleetCustomPager) NextPageLink ¶
func (p *ListByFleetCustomPager) NextPageLink() *odata.Link
type ManagedClusterUpdate ¶
type ManagedClusterUpdate struct { NodeImageSelection *NodeImageSelection `json:"nodeImageSelection,omitempty"` Upgrade ManagedClusterUpgradeSpec `json:"upgrade"` }
type ManagedClusterUpgradeSpec ¶
type ManagedClusterUpgradeSpec struct { KubernetesVersion *string `json:"kubernetesVersion,omitempty"` Type ManagedClusterUpgradeType `json:"type"` }
type ManagedClusterUpgradeType ¶
type ManagedClusterUpgradeType string
const ( ManagedClusterUpgradeTypeControlPlaneOnly ManagedClusterUpgradeType = "ControlPlaneOnly" ManagedClusterUpgradeTypeFull ManagedClusterUpgradeType = "Full" ManagedClusterUpgradeTypeNodeImageOnly ManagedClusterUpgradeType = "NodeImageOnly" )
func (*ManagedClusterUpgradeType) UnmarshalJSON ¶
func (s *ManagedClusterUpgradeType) UnmarshalJSON(bytes []byte) error
type MemberUpdateStatus ¶
type MemberUpdateStatus struct { ClusterResourceId *string `json:"clusterResourceId,omitempty"` Message *string `json:"message,omitempty"` Name *string `json:"name,omitempty"` OperationId *string `json:"operationId,omitempty"` Status *UpdateStatus `json:"status,omitempty"` }
type NodeImageSelection ¶
type NodeImageSelection struct {
Type NodeImageSelectionType `json:"type"`
}
type NodeImageSelectionStatus ¶
type NodeImageSelectionStatus struct {
SelectedNodeImageVersions *[]NodeImageVersion `json:"selectedNodeImageVersions,omitempty"`
}
type NodeImageSelectionType ¶
type NodeImageSelectionType string
const ( NodeImageSelectionTypeConsistent NodeImageSelectionType = "Consistent" NodeImageSelectionTypeLatest NodeImageSelectionType = "Latest" )
func (*NodeImageSelectionType) UnmarshalJSON ¶
func (s *NodeImageSelectionType) UnmarshalJSON(bytes []byte) error
type NodeImageVersion ¶
type NodeImageVersion struct {
Version *string `json:"version,omitempty"`
}
type SkipOperationOptions ¶
type SkipOperationOptions struct {
IfMatch *string
}
func DefaultSkipOperationOptions ¶
func DefaultSkipOperationOptions() SkipOperationOptions
func (SkipOperationOptions) ToHeaders ¶
func (o SkipOperationOptions) ToHeaders() *client.Headers
func (SkipOperationOptions) ToOData ¶
func (o SkipOperationOptions) ToOData() *odata.Query
func (SkipOperationOptions) ToQuery ¶
func (o SkipOperationOptions) ToQuery() *client.QueryParams
type SkipOperationResponse ¶
type SkipProperties ¶
type SkipProperties struct {
Targets []SkipTarget `json:"targets"`
}
type SkipTarget ¶
type SkipTarget struct { Name string `json:"name"` Type TargetType `json:"type"` }
type StartOperationOptions ¶
type StartOperationOptions struct {
IfMatch *string
}
func DefaultStartOperationOptions ¶
func DefaultStartOperationOptions() StartOperationOptions
func (StartOperationOptions) ToHeaders ¶
func (o StartOperationOptions) ToHeaders() *client.Headers
func (StartOperationOptions) ToOData ¶
func (o StartOperationOptions) ToOData() *odata.Query
func (StartOperationOptions) ToQuery ¶
func (o StartOperationOptions) ToQuery() *client.QueryParams
type StartOperationResponse ¶
type StopOperationOptions ¶
type StopOperationOptions struct {
IfMatch *string
}
func DefaultStopOperationOptions ¶
func DefaultStopOperationOptions() StopOperationOptions
func (StopOperationOptions) ToHeaders ¶
func (o StopOperationOptions) ToHeaders() *client.Headers
func (StopOperationOptions) ToOData ¶
func (o StopOperationOptions) ToOData() *odata.Query
func (StopOperationOptions) ToQuery ¶
func (o StopOperationOptions) ToQuery() *client.QueryParams
type StopOperationResponse ¶
type TargetType ¶
type TargetType string
const ( TargetTypeAfterStageWait TargetType = "AfterStageWait" TargetTypeGroup TargetType = "Group" TargetTypeMember TargetType = "Member" TargetTypeStage TargetType = "Stage" )
func (*TargetType) UnmarshalJSON ¶
func (s *TargetType) UnmarshalJSON(bytes []byte) error
type UpdateGroup ¶
type UpdateGroup struct {
Name string `json:"name"`
}
type UpdateGroupStatus ¶
type UpdateGroupStatus struct { Members *[]MemberUpdateStatus `json:"members,omitempty"` Name *string `json:"name,omitempty"` Status *UpdateStatus `json:"status,omitempty"` }
type UpdateRun ¶
type UpdateRun struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *UpdateRunProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UpdateRunId ¶
type UpdateRunId struct { SubscriptionId string ResourceGroupName string FleetName string UpdateRunName string }
UpdateRunId is a struct representing the Resource ID for a Update Run
func NewUpdateRunID ¶
func NewUpdateRunID(subscriptionId string, resourceGroupName string, fleetName string, updateRunName string) UpdateRunId
NewUpdateRunID returns a new UpdateRunId struct
func ParseUpdateRunID ¶
func ParseUpdateRunID(input string) (*UpdateRunId, error)
ParseUpdateRunID parses 'input' into a UpdateRunId
func ParseUpdateRunIDInsensitively ¶
func ParseUpdateRunIDInsensitively(input string) (*UpdateRunId, error)
ParseUpdateRunIDInsensitively parses 'input' case-insensitively into a UpdateRunId note: this method should only be used for API response data and not user input
func (*UpdateRunId) FromParseResult ¶
func (id *UpdateRunId) FromParseResult(input resourceids.ParseResult) error
func (UpdateRunId) Segments ¶
func (id UpdateRunId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Update Run ID
func (UpdateRunId) String ¶
func (id UpdateRunId) String() string
String returns a human-readable description of this Update Run ID
type UpdateRunOperationPredicate ¶
func (UpdateRunOperationPredicate) Matches ¶
func (p UpdateRunOperationPredicate) Matches(input UpdateRun) bool
type UpdateRunProperties ¶
type UpdateRunProperties struct { ManagedClusterUpdate ManagedClusterUpdate `json:"managedClusterUpdate"` ProvisioningState *UpdateRunProvisioningState `json:"provisioningState,omitempty"` Status *UpdateRunStatus `json:"status,omitempty"` Strategy *UpdateRunStrategy `json:"strategy,omitempty"` UpdateStrategyId *string `json:"updateStrategyId,omitempty"` }
type UpdateRunProvisioningState ¶
type UpdateRunProvisioningState string
const ( UpdateRunProvisioningStateCanceled UpdateRunProvisioningState = "Canceled" UpdateRunProvisioningStateFailed UpdateRunProvisioningState = "Failed" UpdateRunProvisioningStateSucceeded UpdateRunProvisioningState = "Succeeded" )
func (*UpdateRunProvisioningState) UnmarshalJSON ¶
func (s *UpdateRunProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateRunStatus ¶
type UpdateRunStatus struct { NodeImageSelection *NodeImageSelectionStatus `json:"nodeImageSelection,omitempty"` Stages *[]UpdateStageStatus `json:"stages,omitempty"` Status *UpdateStatus `json:"status,omitempty"` }
type UpdateRunStrategy ¶
type UpdateRunStrategy struct {
Stages []UpdateStage `json:"stages"`
}
type UpdateRunsClient ¶
type UpdateRunsClient struct {
Client *resourcemanager.Client
}
func NewUpdateRunsClientWithBaseURI ¶
func NewUpdateRunsClientWithBaseURI(sdkApi sdkEnv.Api) (*UpdateRunsClient, error)
func (UpdateRunsClient) CreateOrUpdate ¶
func (c UpdateRunsClient) CreateOrUpdate(ctx context.Context, id UpdateRunId, input UpdateRun, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (UpdateRunsClient) CreateOrUpdateThenPoll ¶
func (c UpdateRunsClient) CreateOrUpdateThenPoll(ctx context.Context, id UpdateRunId, input UpdateRun, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (UpdateRunsClient) Delete ¶
func (c UpdateRunsClient) Delete(ctx context.Context, id UpdateRunId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (UpdateRunsClient) DeleteThenPoll ¶
func (c UpdateRunsClient) DeleteThenPoll(ctx context.Context, id UpdateRunId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (UpdateRunsClient) Get ¶
func (c UpdateRunsClient) Get(ctx context.Context, id UpdateRunId) (result GetOperationResponse, err error)
Get ...
func (UpdateRunsClient) ListByFleet ¶
func (c UpdateRunsClient) ListByFleet(ctx context.Context, id FleetId) (result ListByFleetOperationResponse, err error)
ListByFleet ...
func (UpdateRunsClient) ListByFleetComplete ¶
func (c UpdateRunsClient) ListByFleetComplete(ctx context.Context, id FleetId) (ListByFleetCompleteResult, error)
ListByFleetComplete retrieves all the results into a single object
func (UpdateRunsClient) ListByFleetCompleteMatchingPredicate ¶
func (c UpdateRunsClient) ListByFleetCompleteMatchingPredicate(ctx context.Context, id FleetId, predicate UpdateRunOperationPredicate) (result ListByFleetCompleteResult, err error)
ListByFleetCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (UpdateRunsClient) Skip ¶
func (c UpdateRunsClient) Skip(ctx context.Context, id UpdateRunId, input SkipProperties, options SkipOperationOptions) (result SkipOperationResponse, err error)
Skip ...
func (UpdateRunsClient) SkipThenPoll ¶
func (c UpdateRunsClient) SkipThenPoll(ctx context.Context, id UpdateRunId, input SkipProperties, options SkipOperationOptions) error
SkipThenPoll performs Skip then polls until it's completed
func (UpdateRunsClient) Start ¶
func (c UpdateRunsClient) Start(ctx context.Context, id UpdateRunId, options StartOperationOptions) (result StartOperationResponse, err error)
Start ...
func (UpdateRunsClient) StartThenPoll ¶
func (c UpdateRunsClient) StartThenPoll(ctx context.Context, id UpdateRunId, options StartOperationOptions) error
StartThenPoll performs Start then polls until it's completed
func (UpdateRunsClient) Stop ¶
func (c UpdateRunsClient) Stop(ctx context.Context, id UpdateRunId, options StopOperationOptions) (result StopOperationResponse, err error)
Stop ...
func (UpdateRunsClient) StopThenPoll ¶
func (c UpdateRunsClient) StopThenPoll(ctx context.Context, id UpdateRunId, options StopOperationOptions) error
StopThenPoll performs Stop then polls until it's completed
type UpdateStage ¶
type UpdateStage struct { AfterStageWaitInSeconds *int64 `json:"afterStageWaitInSeconds,omitempty"` Groups *[]UpdateGroup `json:"groups,omitempty"` Name string `json:"name"` }
type UpdateStageStatus ¶
type UpdateStageStatus struct { AfterStageWaitStatus *WaitStatus `json:"afterStageWaitStatus,omitempty"` Groups *[]UpdateGroupStatus `json:"groups,omitempty"` Name *string `json:"name,omitempty"` Status *UpdateStatus `json:"status,omitempty"` }
type UpdateState ¶
type UpdateState string
const ( UpdateStateCompleted UpdateState = "Completed" UpdateStateFailed UpdateState = "Failed" UpdateStateNotStarted UpdateState = "NotStarted" UpdateStateRunning UpdateState = "Running" UpdateStateSkipped UpdateState = "Skipped" UpdateStateStopped UpdateState = "Stopped" UpdateStateStopping UpdateState = "Stopping" )
func (*UpdateState) UnmarshalJSON ¶
func (s *UpdateState) UnmarshalJSON(bytes []byte) error
type UpdateStatus ¶
type UpdateStatus struct { CompletedTime *string `json:"completedTime,omitempty"` Error *ErrorDetail `json:"error,omitempty"` StartTime *string `json:"startTime,omitempty"` State *UpdateState `json:"state,omitempty"` }
func (*UpdateStatus) GetCompletedTimeAsTime ¶
func (o *UpdateStatus) GetCompletedTimeAsTime() (*time.Time, error)
func (*UpdateStatus) GetStartTimeAsTime ¶
func (o *UpdateStatus) GetStartTimeAsTime() (*time.Time, error)
func (*UpdateStatus) SetCompletedTimeAsTime ¶
func (o *UpdateStatus) SetCompletedTimeAsTime(input time.Time)
func (*UpdateStatus) SetStartTimeAsTime ¶
func (o *UpdateStatus) SetStartTimeAsTime(input time.Time)
type WaitStatus ¶
type WaitStatus struct { Status *UpdateStatus `json:"status,omitempty"` WaitDurationInSeconds *int64 `json:"waitDurationInSeconds,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_fleet.go
- id_updaterun.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyfleet.go
- method_skip.go
- method_start.go
- method_stop.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_managedclusterupdate.go
- model_managedclusterupgradespec.go
- model_memberupdatestatus.go
- model_nodeimageselection.go
- model_nodeimageselectionstatus.go
- model_nodeimageversion.go
- model_skipproperties.go
- model_skiptarget.go
- model_updategroup.go
- model_updategroupstatus.go
- model_updaterun.go
- model_updaterunproperties.go
- model_updaterunstatus.go
- model_updaterunstrategy.go
- model_updatestage.go
- model_updatestagestatus.go
- model_updatestatus.go
- model_waitstatus.go
- predicates.go
- version.go