Documentation ¶
Index ¶
- func PossibleValuesForManagedClusterUpgradeType() []string
- func PossibleValuesForNodeImageSelectionType() []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 ListByFleetOperationResponse
- type ManagedClusterUpdate
- type ManagedClusterUpgradeSpec
- type ManagedClusterUpgradeType
- type MemberUpdateStatus
- type NodeImageSelection
- type NodeImageSelectionStatus
- type NodeImageSelectionType
- type NodeImageVersion
- type StartOperationOptions
- type StartOperationResponse
- type StopOperationOptions
- type StopOperationResponse
- 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) (resp 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) (resp ListByFleetCompleteResult, err 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 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
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 ¶ added in v0.20231127.1171502
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 ListByFleetCompleteResult ¶
type ListByFleetCompleteResult struct {
Items []UpdateRun
}
type ListByFleetOperationResponse ¶
type ListByFleetOperationResponse struct { HttpResponse *http.Response Model *[]UpdateRun // contains filtered or unexported fields }
func (ListByFleetOperationResponse) HasMore ¶
func (r ListByFleetOperationResponse) HasMore() bool
func (ListByFleetOperationResponse) LoadMore ¶
func (r ListByFleetOperationResponse) LoadMore(ctx context.Context) (resp ListByFleetOperationResponse, err error)
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 ( ManagedClusterUpgradeTypeFull ManagedClusterUpgradeType = "Full" ManagedClusterUpgradeTypeNodeImageOnly ManagedClusterUpgradeType = "NodeImageOnly" )
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" )
type NodeImageVersion ¶
type NodeImageVersion struct {
Version *string `json:"version,omitempty"`
}
type StartOperationOptions ¶
type StartOperationOptions struct {
IfMatch *string
}
func DefaultStartOperationOptions ¶
func DefaultStartOperationOptions() StartOperationOptions
type StartOperationResponse ¶
type StartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StopOperationOptions ¶
type StopOperationOptions struct {
IfMatch *string
}
func DefaultStopOperationOptions ¶
func DefaultStopOperationOptions() StopOperationOptions
type StopOperationResponse ¶
type StopOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 ¶ added in v0.20231127.1171502
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" )
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 ¶
func NewUpdateRunsClientWithBaseURI ¶
func NewUpdateRunsClientWithBaseURI(endpoint string) UpdateRunsClient
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) (resp ListByFleetOperationResponse, err error)
ListByFleet ...
func (UpdateRunsClient) ListByFleetComplete ¶
func (c UpdateRunsClient) ListByFleetComplete(ctx context.Context, id FleetId) (ListByFleetCompleteResult, error)
ListByFleetComplete retrieves all of the results into a single object
func (UpdateRunsClient) ListByFleetCompleteMatchingPredicate ¶
func (c UpdateRunsClient) ListByFleetCompleteMatchingPredicate(ctx context.Context, id FleetId, predicate UpdateRunOperationPredicate) (resp ListByFleetCompleteResult, err error)
ListByFleetCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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" )
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_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyfleet_autorest.go
- method_start_autorest.go
- method_stop_autorest.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_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