Documentation ¶
Index ¶
- func PossibleValuesForAKSIdentityType() []string
- func PossibleValuesForLevelType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateExtensionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderID(input interface{}, key string) (warnings []string, errors []error)
- type AKSIdentityType
- type CreateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type Extension
- type ExtensionId
- type ExtensionOperationPredicate
- type ExtensionProperties
- type ExtensionPropertiesAksAssignedIdentity
- type ExtensionStatus
- type ExtensionsClient
- func (c ExtensionsClient) Create(ctx context.Context, id ExtensionId, input Extension) (result CreateOperationResponse, err error)
- func (c ExtensionsClient) CreateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
- func (c ExtensionsClient) Delete(ctx context.Context, id ExtensionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId, options DeleteOperationOptions) error
- func (c ExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
- func (c ExtensionsClient) List(ctx context.Context, id ProviderId) (resp ListOperationResponse, err error)
- func (c ExtensionsClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
- func (c ExtensionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, predicate ExtensionOperationPredicate) (resp ListCompleteResult, err error)
- func (c ExtensionsClient) Update(ctx context.Context, id ExtensionId, input PatchExtension) (result UpdateOperationResponse, err error)
- func (c ExtensionsClient) UpdateThenPoll(ctx context.Context, id ExtensionId, input PatchExtension) error
- type GetOperationResponse
- type LevelType
- type ListCompleteResult
- type ListOperationResponse
- type PatchExtension
- type PatchExtensionProperties
- type ProviderId
- type ProvisioningState
- type Scope
- type ScopeCluster
- type ScopeNamespace
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAKSIdentityType ¶
func PossibleValuesForAKSIdentityType() []string
func PossibleValuesForLevelType ¶
func PossibleValuesForLevelType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateExtensionID ¶
ValidateExtensionID checks that 'input' can be parsed as a Extension ID
func ValidateProviderID ¶
ValidateProviderID checks that 'input' can be parsed as a Provider ID
Types ¶
type AKSIdentityType ¶
type AKSIdentityType string
const ( AKSIdentityTypeSystemAssigned AKSIdentityType = "SystemAssigned" AKSIdentityTypeUserAssigned AKSIdentityType = "UserAssigned" )
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
ForceDelete *bool
}
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 Extension ¶
type Extension struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *ExtensionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ExtensionId ¶
type ExtensionId struct { SubscriptionId string ResourceGroupName string ProviderName string ClusterResourceName string ClusterName string ExtensionName string }
ExtensionId is a struct representing the Resource ID for a Extension
func NewExtensionID ¶
func NewExtensionID(subscriptionId string, resourceGroupName string, providerName string, clusterResourceName string, clusterName string, extensionName string) ExtensionId
NewExtensionID returns a new ExtensionId struct
func ParseExtensionID ¶
func ParseExtensionID(input string) (*ExtensionId, error)
ParseExtensionID parses 'input' into a ExtensionId
func ParseExtensionIDInsensitively ¶
func ParseExtensionIDInsensitively(input string) (*ExtensionId, error)
ParseExtensionIDInsensitively parses 'input' case-insensitively into a ExtensionId note: this method should only be used for API response data and not user input
func (ExtensionId) Segments ¶
func (id ExtensionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Extension ID
func (ExtensionId) String ¶
func (id ExtensionId) String() string
String returns a human-readable description of this Extension ID
type ExtensionOperationPredicate ¶
func (ExtensionOperationPredicate) Matches ¶
func (p ExtensionOperationPredicate) Matches(input Extension) bool
type ExtensionProperties ¶
type ExtensionProperties struct { AksAssignedIdentity *ExtensionPropertiesAksAssignedIdentity `json:"aksAssignedIdentity,omitempty"` AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` ConfigurationProtectedSettings *map[string]string `json:"configurationProtectedSettings,omitempty"` ConfigurationSettings *map[string]string `json:"configurationSettings,omitempty"` CustomLocationSettings *map[string]string `json:"customLocationSettings,omitempty"` ErrorInfo *ErrorDetail `json:"errorInfo,omitempty"` ExtensionType *string `json:"extensionType,omitempty"` InstalledVersion *string `json:"installedVersion,omitempty"` PackageUri *string `json:"packageUri,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ReleaseTrain *string `json:"releaseTrain,omitempty"` Scope *Scope `json:"scope,omitempty"` Statuses *[]ExtensionStatus `json:"statuses,omitempty"` Version *string `json:"version,omitempty"` }
type ExtensionPropertiesAksAssignedIdentity ¶
type ExtensionPropertiesAksAssignedIdentity struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *AKSIdentityType `json:"type,omitempty"` }
type ExtensionStatus ¶
type ExtensionsClient ¶
func NewExtensionsClientWithBaseURI ¶
func NewExtensionsClientWithBaseURI(endpoint string) ExtensionsClient
func (ExtensionsClient) Create ¶
func (c ExtensionsClient) Create(ctx context.Context, id ExtensionId, input Extension) (result CreateOperationResponse, err error)
Create ...
func (ExtensionsClient) CreateThenPoll ¶
func (c ExtensionsClient) CreateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
CreateThenPoll performs Create then polls until it's completed
func (ExtensionsClient) Delete ¶
func (c ExtensionsClient) Delete(ctx context.Context, id ExtensionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ExtensionsClient) DeleteThenPoll ¶
func (c ExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (ExtensionsClient) Get ¶
func (c ExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
Get ...
func (ExtensionsClient) List ¶
func (c ExtensionsClient) List(ctx context.Context, id ProviderId) (resp ListOperationResponse, err error)
List ...
func (ExtensionsClient) ListComplete ¶
func (c ExtensionsClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ExtensionsClient) ListCompleteMatchingPredicate ¶
func (c ExtensionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, predicate ExtensionOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ExtensionsClient) Update ¶
func (c ExtensionsClient) Update(ctx context.Context, id ExtensionId, input PatchExtension) (result UpdateOperationResponse, err error)
Update ...
func (ExtensionsClient) UpdateThenPoll ¶
func (c ExtensionsClient) UpdateThenPoll(ctx context.Context, id ExtensionId, input PatchExtension) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Extension
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Extension // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type PatchExtension ¶
type PatchExtension struct {
Properties *PatchExtensionProperties `json:"properties,omitempty"`
}
type PatchExtensionProperties ¶
type PatchExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` ConfigurationProtectedSettings *map[string]string `json:"configurationProtectedSettings,omitempty"` ConfigurationSettings *map[string]string `json:"configurationSettings,omitempty"` ReleaseTrain *string `json:"releaseTrain,omitempty"` Version *string `json:"version,omitempty"` }
type ProviderId ¶
type ProviderId struct { SubscriptionId string ResourceGroupName string ProviderName string ClusterResourceName string ClusterName string }
ProviderId is a struct representing the Resource ID for a Provider
func NewProviderID ¶
func NewProviderID(subscriptionId string, resourceGroupName string, providerName string, clusterResourceName string, clusterName string) ProviderId
NewProviderID returns a new ProviderId struct
func ParseProviderID ¶
func ParseProviderID(input string) (*ProviderId, error)
ParseProviderID parses 'input' into a ProviderId
func ParseProviderIDInsensitively ¶
func ParseProviderIDInsensitively(input string) (*ProviderId, error)
ParseProviderIDInsensitively parses 'input' case-insensitively into a ProviderId note: this method should only be used for API response data and not user input
func (ProviderId) Segments ¶
func (id ProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider ID
func (ProviderId) String ¶
func (id ProviderId) String() string
String returns a human-readable description of this Provider ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type Scope ¶
type Scope struct { Cluster *ScopeCluster `json:"cluster,omitempty"` Namespace *ScopeNamespace `json:"namespace,omitempty"` }
type ScopeCluster ¶
type ScopeCluster struct {
ReleaseNamespace *string `json:"releaseNamespace,omitempty"`
}
type ScopeNamespace ¶
type ScopeNamespace struct {
TargetNamespace *string `json:"targetNamespace,omitempty"`
}
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_extension.go
- id_provider.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_extension.go
- model_extensionproperties.go
- model_extensionpropertiesaksassignedidentity.go
- model_extensionstatus.go
- model_patchextension.go
- model_patchextensionproperties.go
- model_scope.go
- model_scopecluster.go
- model_scopenamespace.go
- predicates.go
- version.go