Documentation ¶
Index ¶
- func PossibleValuesForFleetProvisioningState() []string
- func ValidateFleetID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type Fleet
- type FleetCredentialResult
- type FleetCredentialResults
- type FleetHubProfile
- type FleetId
- type FleetOperationPredicate
- type FleetPatch
- type FleetProperties
- type FleetProvisioningState
- type FleetsClient
- func (c FleetsClient) CreateOrUpdate(ctx context.Context, id FleetId, input Fleet, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c FleetsClient) CreateOrUpdateThenPoll(ctx context.Context, id FleetId, input Fleet, ...) error
- func (c FleetsClient) Delete(ctx context.Context, id FleetId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c FleetsClient) DeleteThenPoll(ctx context.Context, id FleetId, options DeleteOperationOptions) error
- func (c FleetsClient) Get(ctx context.Context, id FleetId) (result GetOperationResponse, err error)
- func (c FleetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c FleetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c FleetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c FleetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c FleetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c FleetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c FleetsClient) ListCredentials(ctx context.Context, id FleetId) (result ListCredentialsOperationResponse, err error)
- func (c FleetsClient) Update(ctx context.Context, id FleetId, input FleetPatch, ...) (result UpdateOperationResponse, err error)
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListCredentialsOperationResponse
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFleetProvisioningState ¶
func PossibleValuesForFleetProvisioningState() []string
func ValidateFleetID ¶
ValidateFleetID checks that 'input' can be parsed as a Fleet ID
Types ¶
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *Fleet }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type Fleet ¶
type Fleet struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *FleetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type FleetCredentialResult ¶
type FleetCredentialResults ¶
type FleetCredentialResults struct {
Kubeconfigs *[]FleetCredentialResult `json:"kubeconfigs,omitempty"`
}
type FleetHubProfile ¶
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 FleetOperationPredicate ¶
type FleetOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (FleetOperationPredicate) Matches ¶
func (p FleetOperationPredicate) Matches(input Fleet) bool
type FleetPatch ¶
type FleetProperties ¶
type FleetProperties struct { HubProfile *FleetHubProfile `json:"hubProfile,omitempty"` ProvisioningState *FleetProvisioningState `json:"provisioningState,omitempty"` }
type FleetProvisioningState ¶
type FleetProvisioningState string
const ( FleetProvisioningStateCanceled FleetProvisioningState = "Canceled" FleetProvisioningStateCreating FleetProvisioningState = "Creating" FleetProvisioningStateDeleting FleetProvisioningState = "Deleting" FleetProvisioningStateFailed FleetProvisioningState = "Failed" FleetProvisioningStateSucceeded FleetProvisioningState = "Succeeded" FleetProvisioningStateUpdating FleetProvisioningState = "Updating" )
type FleetsClient ¶
func NewFleetsClientWithBaseURI ¶
func NewFleetsClientWithBaseURI(endpoint string) FleetsClient
func (FleetsClient) CreateOrUpdate ¶
func (c FleetsClient) CreateOrUpdate(ctx context.Context, id FleetId, input Fleet, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FleetsClient) CreateOrUpdateThenPoll ¶
func (c FleetsClient) CreateOrUpdateThenPoll(ctx context.Context, id FleetId, input Fleet, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FleetsClient) Delete ¶
func (c FleetsClient) Delete(ctx context.Context, id FleetId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (FleetsClient) DeleteThenPoll ¶
func (c FleetsClient) DeleteThenPoll(ctx context.Context, id FleetId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (FleetsClient) Get ¶
func (c FleetsClient) Get(ctx context.Context, id FleetId) (result GetOperationResponse, err error)
Get ...
func (FleetsClient) ListByResourceGroup ¶
func (c FleetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (FleetsClient) ListByResourceGroupComplete ¶
func (c FleetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (FleetsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c FleetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FleetOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (FleetsClient) ListBySubscription ¶
func (c FleetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (FleetsClient) ListBySubscriptionComplete ¶
func (c FleetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (FleetsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c FleetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FleetOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (FleetsClient) ListCredentials ¶
func (c FleetsClient) ListCredentials(ctx context.Context, id FleetId) (result ListCredentialsOperationResponse, err error)
ListCredentials ...
func (FleetsClient) Update ¶
func (c FleetsClient) Update(ctx context.Context, id FleetId, input FleetPatch, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Fleet
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Fleet // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Fleet
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Fleet // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListCredentialsOperationResponse ¶
type ListCredentialsOperationResponse struct { HttpResponse *http.Response Model *FleetCredentialResults }
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_fleet.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listcredentials_autorest.go
- method_update_autorest.go
- model_fleet.go
- model_fleetcredentialresult.go
- model_fleetcredentialresults.go
- model_fleethubprofile.go
- model_fleetpatch.go
- model_fleetproperties.go
- predicates.go
- version.go