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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c FleetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20240213.1120950
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20240213.1120950
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20240213.1120950
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20240213.1120950
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20240213.1120950
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20240213.1120950
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
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" )
func (*FleetProvisioningState) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *FleetProvisioningState) UnmarshalJSON(bytes []byte) error
type FleetsClient ¶
type FleetsClient struct {
Client *resourcemanager.Client
}
func NewFleetsClientWithBaseURI ¶
func NewFleetsClientWithBaseURI(sdkApi sdkEnv.Api) (*FleetsClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (FleetsClient) ListByResourceGroupComplete ¶
func (c FleetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (FleetsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c FleetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FleetOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FleetsClient) ListBySubscription ¶
func (c FleetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (FleetsClient) ListBySubscriptionComplete ¶
func (c FleetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (FleetsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c FleetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FleetOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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 ListCredentialsOperationResponse ¶
type ListCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FleetCredentialResults }
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20240213.1120950
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20240213.1120950
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20240213.1120950
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- constants.go
- id_fleet.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listcredentials.go
- method_update.go
- model_fleet.go
- model_fleetcredentialresult.go
- model_fleetcredentialresults.go
- model_fleethubprofile.go
- model_fleetpatch.go
- model_fleetproperties.go
- predicates.go
- version.go