Documentation ¶
Index ¶
- func PossibleValuesForFleetProvisioningState() []string
- func ValidateFleetID(input interface{}, key string) (warnings []string, errors []error)
- type APIServerAccessProfile
- type AgentProfile
- 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)
- func (c FleetsClient) UpdateThenPoll(ctx context.Context, id FleetId, input FleetPatch, ...) error
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- 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 APIServerAccessProfile ¶
type APIServerAccessProfile struct {
EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"`
}
type AgentProfile ¶
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 Fleet ¶
type Fleet struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,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 FleetHubProfile struct { AgentProfile *AgentProfile `json:"agentProfile,omitempty"` ApiServerAccessProfile *APIServerAccessProfile `json:"apiServerAccessProfile,omitempty"` DnsPrefix *string `json:"dnsPrefix,omitempty"` Fqdn *string `json:"fqdn,omitempty"` KubernetesVersion *string `json:"kubernetesVersion,omitempty"` PortalFqdn *string `json:"portalFqdn,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 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 FleetPatch struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
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 ¶
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 ...
func (FleetsClient) UpdateThenPoll ¶
func (c FleetsClient) UpdateThenPoll(ctx context.Context, id FleetId, input FleetPatch, options UpdateOperationOptions) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
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 ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
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_agentprofile.go
- model_apiserveraccessprofile.go
- model_fleet.go
- model_fleetcredentialresult.go
- model_fleetcredentialresults.go
- model_fleethubprofile.go
- model_fleetpatch.go
- model_fleetproperties.go
- predicates.go
- version.go