azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/kubernetesconfiguration/mgmt/2019-11-01-preview/kubernetesconfiguration Index | Files | Directories

package kubernetesconfiguration

import "github.com/Azure/azure-sdk-for-go/services/preview/kubernetesconfiguration/mgmt/2019-11-01-preview/kubernetesconfiguration"

Package kubernetesconfiguration implements the Azure ARM Kubernetesconfiguration service API version 2019-11-01-preview.

Use these APIs to create Source Control Configuration resources through ARM, for Kubernetes Clusters.

Index

Package Files

client.go enums.go models.go operations.go sourcecontrolconfigurations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Kubernetesconfiguration
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Kubernetesconfiguration.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type ComplianceState Uses

type ComplianceState string

ComplianceState enumerates the values for compliance state.

const (
    // Compliant ...
    Compliant ComplianceState = "Compliant"
    // Failed ...
    Failed ComplianceState = "Failed"
    // Installed ...
    Installed ComplianceState = "Installed"
    // Noncompliant ...
    Noncompliant ComplianceState = "Noncompliant"
    // Pending ...
    Pending ComplianceState = "Pending"
)

func PossibleComplianceStateValues Uses

func PossibleComplianceStateValues() []ComplianceState

PossibleComplianceStateValues returns an array of possible values for the ComplianceState const type.

type ComplianceStatus Uses

type ComplianceStatus struct {
    // ComplianceState - READ-ONLY; The compliance state of the configuration. Possible values include: 'Pending', 'Compliant', 'Noncompliant', 'Installed', 'Failed'
    ComplianceState ComplianceState `json:"complianceState,omitempty"`
    // LastConfigApplied - Datetime the configuration was last applied.
    LastConfigApplied *date.Time `json:"lastConfigApplied,omitempty"`
    // Message - Message from when the configuration was applied.
    Message *string `json:"message,omitempty"`
    // MessageLevel - Level of the message. Possible values include: 'Error', 'Warning', 'Information'
    MessageLevel MessageLevel `json:"messageLevel,omitempty"`
}

ComplianceStatus compliance Status details

func (ComplianceStatus) MarshalJSON Uses

func (cs ComplianceStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceStatus.

type EnableHelmOperator Uses

type EnableHelmOperator string

EnableHelmOperator enumerates the values for enable helm operator.

const (
    // False ...
    False EnableHelmOperator = "false"
    // True ...
    True EnableHelmOperator = "true"
)

func PossibleEnableHelmOperatorValues Uses

func PossibleEnableHelmOperatorValues() []EnableHelmOperator

PossibleEnableHelmOperatorValues returns an array of possible values for the EnableHelmOperator const type.

type ErrorDefinition Uses

type ErrorDefinition struct {
    // Code - READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; Description of the error.
    Message *string `json:"message,omitempty"`
    // Details - READ-ONLY; Internal error details.
    Details *[]ErrorDefinition `json:"details,omitempty"`
}

ErrorDefinition error definition.

type ErrorResponse Uses

type ErrorResponse struct {
    // Error - Error definition.
    Error *ErrorDefinition `json:"error,omitempty"`
}

ErrorResponse error response.

type HelmOperatorProperties Uses

type HelmOperatorProperties struct {
    // ChartVersion - Version of the operator Helm chart.
    ChartVersion *string `json:"chartVersion,omitempty"`
    // ChartValues - Values override for the operator Helm chart.
    ChartValues *string `json:"chartValues,omitempty"`
}

HelmOperatorProperties properties for Helm operator.

type MessageLevel Uses

type MessageLevel string

MessageLevel enumerates the values for message level.

const (
    // Error ...
    Error MessageLevel = "Error"
    // Information ...
    Information MessageLevel = "Information"
    // Warning ...
    Warning MessageLevel = "Warning"
)

func PossibleMessageLevelValues Uses

func PossibleMessageLevelValues() []MessageLevel

PossibleMessageLevelValues returns an array of possible values for the MessageLevel const type.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the use these APIs to create Source Control Configuration resources through ARM, for Kubernetes Clusters.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result ResourceProviderOperationListPage, err error)

List list all the available operations the KubernetesConfiguration resource provider supports.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result ResourceProviderOperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result ResourceProviderOperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OperatorScope Uses

type OperatorScope string

OperatorScope enumerates the values for operator scope.

const (
    // Cluster ...
    Cluster OperatorScope = "cluster"
    // Namespace ...
    Namespace OperatorScope = "namespace"
)

func PossibleOperatorScopeValues Uses

func PossibleOperatorScopeValues() []OperatorScope

PossibleOperatorScopeValues returns an array of possible values for the OperatorScope const type.

type OperatorType Uses

type OperatorType string

OperatorType enumerates the values for operator type.

const (
    // Flux ...
    Flux OperatorType = "Flux"
)

func PossibleOperatorTypeValues Uses

func PossibleOperatorTypeValues() []OperatorType

PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // ProvisioningStateAccepted ...
    ProvisioningStateAccepted ProvisioningState = "Accepted"
    // ProvisioningStateDeleting ...
    ProvisioningStateDeleting ProvisioningState = "Deleting"
    // ProvisioningStateFailed ...
    ProvisioningStateFailed ProvisioningState = "Failed"
    // ProvisioningStateRunning ...
    ProvisioningStateRunning ProvisioningState = "Running"
    // ProvisioningStateSucceeded ...
    ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource Uses

type ProxyResource struct {
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

ProxyResource ARM proxy resource.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

Resource the Resource model definition.

type ResourceProviderOperation Uses

type ResourceProviderOperation struct {
    // Name - Operation name, in format of {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - Display metadata associated with the operation.
    Display *ResourceProviderOperationDisplay `json:"display,omitempty"`
}

ResourceProviderOperation supported operation of this resource provider.

type ResourceProviderOperationDisplay Uses

type ResourceProviderOperationDisplay struct {
    // Provider - Resource provider: Microsoft KubernetesConfiguration.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
    // Operation - Type of operation: get, read, delete, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - Description of this operation.
    Description *string `json:"description,omitempty"`
}

ResourceProviderOperationDisplay display metadata associated with the operation.

type ResourceProviderOperationList Uses

type ResourceProviderOperationList struct {
    autorest.Response `json:"-"`
    // Value - List of operations supported by this resource provider.
    Value *[]ResourceProviderOperation `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to the next set of results, if any.
    NextLink *string `json:"nextLink,omitempty"`
}

ResourceProviderOperationList result of the request to list operations.

func (ResourceProviderOperationList) IsEmpty Uses

func (rpol ResourceProviderOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ResourceProviderOperationList) MarshalJSON Uses

func (rpol ResourceProviderOperationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceProviderOperationList.

type ResourceProviderOperationListIterator Uses

type ResourceProviderOperationListIterator struct {
    // contains filtered or unexported fields
}

ResourceProviderOperationListIterator provides access to a complete listing of ResourceProviderOperation values.

func NewResourceProviderOperationListIterator Uses

func NewResourceProviderOperationListIterator(page ResourceProviderOperationListPage) ResourceProviderOperationListIterator

Creates a new instance of the ResourceProviderOperationListIterator type.

func (*ResourceProviderOperationListIterator) Next Uses

func (iter *ResourceProviderOperationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListIterator) NextWithContext Uses

func (iter *ResourceProviderOperationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResourceProviderOperationListIterator) NotDone Uses

func (iter ResourceProviderOperationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceProviderOperationListIterator) Response Uses

func (iter ResourceProviderOperationListIterator) Response() ResourceProviderOperationList

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListIterator) Value Uses

func (iter ResourceProviderOperationListIterator) Value() ResourceProviderOperation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceProviderOperationListPage Uses

type ResourceProviderOperationListPage struct {
    // contains filtered or unexported fields
}

ResourceProviderOperationListPage contains a page of ResourceProviderOperation values.

func NewResourceProviderOperationListPage Uses

func NewResourceProviderOperationListPage(cur ResourceProviderOperationList, getNextPage func(context.Context, ResourceProviderOperationList) (ResourceProviderOperationList, error)) ResourceProviderOperationListPage

Creates a new instance of the ResourceProviderOperationListPage type.

func (*ResourceProviderOperationListPage) Next Uses

func (page *ResourceProviderOperationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListPage) NextWithContext Uses

func (page *ResourceProviderOperationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResourceProviderOperationListPage) NotDone Uses

func (page ResourceProviderOperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceProviderOperationListPage) Response Uses

func (page ResourceProviderOperationListPage) Response() ResourceProviderOperationList

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListPage) Values Uses

func (page ResourceProviderOperationListPage) Values() []ResourceProviderOperation

Values returns the slice of values for the current page or nil if there are no values.

type Result Uses

type Result struct {
    // SampleProperty - Sample property of type string
    SampleProperty *string `json:"sampleProperty,omitempty"`
}

Result sample result definition

type SourceControlConfiguration Uses

type SourceControlConfiguration struct {
    autorest.Response `json:"-"`
    // SourceControlConfigurationProperties - Properties to create a Source Control Configuration resource
    *SourceControlConfigurationProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

SourceControlConfiguration the SourceControl Configuration object.

func (SourceControlConfiguration) MarshalJSON Uses

func (scc SourceControlConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlConfiguration.

func (*SourceControlConfiguration) UnmarshalJSON Uses

func (scc *SourceControlConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlConfiguration struct.

type SourceControlConfigurationList Uses

type SourceControlConfigurationList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Source Control Configurations within a Kubernetes cluster.
    Value *[]SourceControlConfiguration `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to get the next set of configuration objects, if any.
    NextLink *string `json:"nextLink,omitempty"`
}

SourceControlConfigurationList result of the request to list Source Control Configurations. It contains a list of SourceControlConfiguration objects and a URL link to get the next set of results.

func (SourceControlConfigurationList) IsEmpty Uses

func (sccl SourceControlConfigurationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SourceControlConfigurationListIterator Uses

type SourceControlConfigurationListIterator struct {
    // contains filtered or unexported fields
}

SourceControlConfigurationListIterator provides access to a complete listing of SourceControlConfiguration values.

func NewSourceControlConfigurationListIterator Uses

func NewSourceControlConfigurationListIterator(page SourceControlConfigurationListPage) SourceControlConfigurationListIterator

Creates a new instance of the SourceControlConfigurationListIterator type.

func (*SourceControlConfigurationListIterator) Next Uses

func (iter *SourceControlConfigurationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SourceControlConfigurationListIterator) NextWithContext Uses

func (iter *SourceControlConfigurationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SourceControlConfigurationListIterator) NotDone Uses

func (iter SourceControlConfigurationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SourceControlConfigurationListIterator) Response Uses

func (iter SourceControlConfigurationListIterator) Response() SourceControlConfigurationList

Response returns the raw server response from the last page request.

func (SourceControlConfigurationListIterator) Value Uses

func (iter SourceControlConfigurationListIterator) Value() SourceControlConfiguration

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SourceControlConfigurationListPage Uses

type SourceControlConfigurationListPage struct {
    // contains filtered or unexported fields
}

SourceControlConfigurationListPage contains a page of SourceControlConfiguration values.

func NewSourceControlConfigurationListPage Uses

func NewSourceControlConfigurationListPage(cur SourceControlConfigurationList, getNextPage func(context.Context, SourceControlConfigurationList) (SourceControlConfigurationList, error)) SourceControlConfigurationListPage

Creates a new instance of the SourceControlConfigurationListPage type.

func (*SourceControlConfigurationListPage) Next Uses

func (page *SourceControlConfigurationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SourceControlConfigurationListPage) NextWithContext Uses

func (page *SourceControlConfigurationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SourceControlConfigurationListPage) NotDone Uses

func (page SourceControlConfigurationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SourceControlConfigurationListPage) Response Uses

func (page SourceControlConfigurationListPage) Response() SourceControlConfigurationList

Response returns the raw server response from the last page request.

func (SourceControlConfigurationListPage) Values Uses

func (page SourceControlConfigurationListPage) Values() []SourceControlConfiguration

Values returns the slice of values for the current page or nil if there are no values.

type SourceControlConfigurationProperties Uses

type SourceControlConfigurationProperties struct {
    // RepositoryURL - Url of the SourceControl Repository.
    RepositoryURL *string `json:"repositoryUrl,omitempty"`
    // OperatorNamespace - The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
    OperatorNamespace *string `json:"operatorNamespace,omitempty"`
    // OperatorInstanceName - Instance name of the operator - identifying the specific configuration.
    OperatorInstanceName *string `json:"operatorInstanceName,omitempty"`
    // OperatorType - Type of the operator. Possible values include: 'Flux'
    OperatorType OperatorType `json:"operatorType,omitempty"`
    // OperatorParams - Any Parameters for the Operator instance in string format.
    OperatorParams *string `json:"operatorParams,omitempty"`
    // OperatorScope - Scope at which the operator will be installed. Possible values include: 'Cluster', 'Namespace'
    OperatorScope OperatorScope `json:"operatorScope,omitempty"`
    // RepositoryPublicKey - READ-ONLY; Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
    RepositoryPublicKey *string `json:"repositoryPublicKey,omitempty"`
    // EnableHelmOperator - Option to enable Helm Operator for this git configuration. Possible values include: 'True', 'False'
    EnableHelmOperator EnableHelmOperator `json:"enableHelmOperator,omitempty"`
    // HelmOperatorProperties - Properties for Helm operator.
    HelmOperatorProperties *HelmOperatorProperties `json:"helmOperatorProperties,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the resource provider. Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateRunning', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // ComplianceStatus - READ-ONLY; Compliance Status of the Configuration
    ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty"`
}

SourceControlConfigurationProperties properties to create a Source Control Configuration resource

func (SourceControlConfigurationProperties) MarshalJSON Uses

func (scc SourceControlConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlConfigurationProperties.

type SourceControlConfigurationsClient Uses

type SourceControlConfigurationsClient struct {
    BaseClient
}

SourceControlConfigurationsClient is the use these APIs to create Source Control Configuration resources through ARM, for Kubernetes Clusters.

func NewSourceControlConfigurationsClient Uses

func NewSourceControlConfigurationsClient(subscriptionID string) SourceControlConfigurationsClient

NewSourceControlConfigurationsClient creates an instance of the SourceControlConfigurationsClient client.

func NewSourceControlConfigurationsClientWithBaseURI Uses

func NewSourceControlConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) SourceControlConfigurationsClient

NewSourceControlConfigurationsClientWithBaseURI creates an instance of the SourceControlConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SourceControlConfigurationsClient) CreateOrUpdate Uses

func (client SourceControlConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string, sourceControlConfiguration SourceControlConfiguration) (result SourceControlConfiguration, err error)

CreateOrUpdate create a new Kubernetes Source Control Configuration. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster. sourceControlConfigurationName - name of the Source Control Configuration. sourceControlConfiguration - properties necessary to Create KubernetesConfiguration.

func (SourceControlConfigurationsClient) CreateOrUpdatePreparer Uses

func (client SourceControlConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string, sourceControlConfiguration SourceControlConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SourceControlConfigurationsClient) CreateOrUpdateResponder Uses

func (client SourceControlConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result SourceControlConfiguration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) CreateOrUpdateSender Uses

func (client SourceControlConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SourceControlConfigurationsClient) Delete Uses

func (client SourceControlConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (result SourceControlConfigurationsDeleteFuture, err error)

Delete this will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster. sourceControlConfigurationName - name of the Source Control Configuration.

func (SourceControlConfigurationsClient) DeletePreparer Uses

func (client SourceControlConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SourceControlConfigurationsClient) DeleteResponder Uses

func (client SourceControlConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) DeleteSender Uses

func (client SourceControlConfigurationsClient) DeleteSender(req *http.Request) (future SourceControlConfigurationsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SourceControlConfigurationsClient) Get Uses

func (client SourceControlConfigurationsClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (result SourceControlConfiguration, err error)

Get gets details of the Source Control Configuration. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster. sourceControlConfigurationName - name of the Source Control Configuration.

func (SourceControlConfigurationsClient) GetPreparer Uses

func (client SourceControlConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SourceControlConfigurationsClient) GetResponder Uses

func (client SourceControlConfigurationsClient) GetResponder(resp *http.Response) (result SourceControlConfiguration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) GetSender Uses

func (client SourceControlConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SourceControlConfigurationsClient) List Uses

func (client SourceControlConfigurationsClient) List(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result SourceControlConfigurationListPage, err error)

List list all Source Control Configurations. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster.

func (SourceControlConfigurationsClient) ListComplete Uses

func (client SourceControlConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result SourceControlConfigurationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SourceControlConfigurationsClient) ListPreparer Uses

func (client SourceControlConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SourceControlConfigurationsClient) ListResponder Uses

func (client SourceControlConfigurationsClient) ListResponder(resp *http.Response) (result SourceControlConfigurationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) ListSender Uses

func (client SourceControlConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SourceControlConfigurationsDeleteFuture Uses

type SourceControlConfigurationsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SourceControlConfigurationsClient) (autorest.Response, error)
}

SourceControlConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

Directories

PathSynopsis
kubernetesconfigurationapi

Package kubernetesconfiguration imports 9 packages (graph) and is imported by 1 packages. Updated 2021-01-26. Refresh now. Tools for package owners.