kubernetesconfiguration

package
v47.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type BaseClient

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

BaseClient is the base client for Kubernetesconfiguration.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

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

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

func PossibleComplianceStateValues() []ComplianceState

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

type ComplianceStatus

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

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

MarshalJSON is the custom marshaler for ComplianceStatus.

type EnableHelmOperator

type EnableHelmOperator string

EnableHelmOperator enumerates the values for enable helm operator.

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

func PossibleEnableHelmOperatorValues

func PossibleEnableHelmOperatorValues() []EnableHelmOperator

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

type ErrorDefinition

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

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

ErrorResponse error response.

type HelmOperatorProperties

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

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

func PossibleMessageLevelValues() []MessageLevel

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

type OperationsClient

type OperationsClient struct {
	BaseClient
}

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

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

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

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

func (OperationsClient) ListComplete

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

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

type OperatorScope string

OperatorScope enumerates the values for operator scope.

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

func PossibleOperatorScopeValues

func PossibleOperatorScopeValues() []OperatorScope

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

type OperatorType

type OperatorType string

OperatorType enumerates the values for operator type.

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

func PossibleOperatorTypeValues

func PossibleOperatorTypeValues() []OperatorType

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

type ProvisioningState

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

func PossibleProvisioningStateValues() []ProvisioningState

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

type ProxyResource

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

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

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

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

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

func (rpol ResourceProviderOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ResourceProviderOperationList) MarshalJSON

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

MarshalJSON is the custom marshaler for ResourceProviderOperationList.

type ResourceProviderOperationListIterator

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

ResourceProviderOperationListIterator provides access to a complete listing of ResourceProviderOperation values.

func NewResourceProviderOperationListIterator

func NewResourceProviderOperationListIterator(page ResourceProviderOperationListPage) ResourceProviderOperationListIterator

Creates a new instance of the ResourceProviderOperationListIterator type.

func (*ResourceProviderOperationListIterator) Next

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

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

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

func (ResourceProviderOperationListIterator) Response

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

func (ResourceProviderOperationListIterator) Value

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

type ResourceProviderOperationListPage

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

ResourceProviderOperationListPage contains a page of ResourceProviderOperation values.

func NewResourceProviderOperationListPage

Creates a new instance of the ResourceProviderOperationListPage type.

func (*ResourceProviderOperationListPage) Next

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

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

func (page ResourceProviderOperationListPage) NotDone() bool

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

func (ResourceProviderOperationListPage) Response

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

func (ResourceProviderOperationListPage) Values

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

type Result

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

Result sample result definition

type SourceControlConfiguration

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

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

MarshalJSON is the custom marshaler for SourceControlConfiguration.

func (*SourceControlConfiguration) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for SourceControlConfiguration struct.

type SourceControlConfigurationList

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

func (sccl SourceControlConfigurationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SourceControlConfigurationListIterator

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

SourceControlConfigurationListIterator provides access to a complete listing of SourceControlConfiguration values.

func NewSourceControlConfigurationListIterator

func NewSourceControlConfigurationListIterator(page SourceControlConfigurationListPage) SourceControlConfigurationListIterator

Creates a new instance of the SourceControlConfigurationListIterator type.

func (*SourceControlConfigurationListIterator) Next

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

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

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

func (SourceControlConfigurationListIterator) Response

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

func (SourceControlConfigurationListIterator) Value

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

type SourceControlConfigurationListPage

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

SourceControlConfigurationListPage contains a page of SourceControlConfiguration values.

func NewSourceControlConfigurationListPage

Creates a new instance of the SourceControlConfigurationListPage type.

func (*SourceControlConfigurationListPage) Next

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

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

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

func (SourceControlConfigurationListPage) Response

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

func (SourceControlConfigurationListPage) Values

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

type SourceControlConfigurationProperties

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

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

MarshalJSON is the custom marshaler for SourceControlConfigurationProperties.

type SourceControlConfigurationsClient

type SourceControlConfigurationsClient struct {
	BaseClient
}

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

func NewSourceControlConfigurationsClient

func NewSourceControlConfigurationsClient(subscriptionID string) SourceControlConfigurationsClient

NewSourceControlConfigurationsClient creates an instance of the SourceControlConfigurationsClient client.

func NewSourceControlConfigurationsClientWithBaseURI

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

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

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

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

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

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

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

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

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

func (SourceControlConfigurationsClient) Get

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

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

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

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

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

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

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

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

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

type SourceControlConfigurationsDeleteFuture struct {
	azure.Future
}

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

func (*SourceControlConfigurationsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL