Documentation ¶
Index ¶
- func PossibleValuesForComplianceStateType() []string
- func PossibleValuesForMessageLevelType() []string
- func PossibleValuesForOperatorScopeType() []string
- func PossibleValuesForOperatorType() []string
- func PossibleValuesForProvisioningStateType() []string
- func ValidateProviderID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSourceControlConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type ComplianceStateType
- type ComplianceStatus
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HelmOperatorProperties
- type ListCompleteResult
- type ListOperationResponse
- type MessageLevelType
- type OperatorScopeType
- type OperatorType
- type ProviderId
- type ProvisioningStateType
- type SourceControlConfiguration
- type SourceControlConfigurationClient
- func (c SourceControlConfigurationClient) CreateOrUpdate(ctx context.Context, id SourceControlConfigurationId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c SourceControlConfigurationClient) Delete(ctx context.Context, id SourceControlConfigurationId) (result DeleteOperationResponse, err error)
- func (c SourceControlConfigurationClient) DeleteThenPoll(ctx context.Context, id SourceControlConfigurationId) error
- func (c SourceControlConfigurationClient) Get(ctx context.Context, id SourceControlConfigurationId) (result GetOperationResponse, err error)
- func (c SourceControlConfigurationClient) List(ctx context.Context, id ProviderId) (resp ListOperationResponse, err error)
- func (c SourceControlConfigurationClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
- func (c SourceControlConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, ...) (resp ListCompleteResult, err error)
- type SourceControlConfigurationId
- func NewSourceControlConfigurationID(subscriptionId string, resourceGroupName string, clusterRp string, ...) SourceControlConfigurationId
- func ParseSourceControlConfigurationID(input string) (*SourceControlConfigurationId, error)
- func ParseSourceControlConfigurationIDInsensitively(input string) (*SourceControlConfigurationId, error)
- type SourceControlConfigurationOperationPredicate
- type SourceControlConfigurationProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForComplianceStateType ¶
func PossibleValuesForComplianceStateType() []string
func PossibleValuesForMessageLevelType ¶
func PossibleValuesForMessageLevelType() []string
func PossibleValuesForOperatorScopeType ¶
func PossibleValuesForOperatorScopeType() []string
func PossibleValuesForOperatorType ¶
func PossibleValuesForOperatorType() []string
func PossibleValuesForProvisioningStateType ¶
func PossibleValuesForProvisioningStateType() []string
func ValidateProviderID ¶
ValidateProviderID checks that 'input' can be parsed as a Provider ID
func ValidateSourceControlConfigurationID ¶
func ValidateSourceControlConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidateSourceControlConfigurationID checks that 'input' can be parsed as a Source Control Configuration ID
Types ¶
type ComplianceStateType ¶
type ComplianceStateType string
const ( ComplianceStateTypeCompliant ComplianceStateType = "Compliant" ComplianceStateTypeFailed ComplianceStateType = "Failed" ComplianceStateTypeInstalled ComplianceStateType = "Installed" ComplianceStateTypeNoncompliant ComplianceStateType = "Noncompliant" ComplianceStateTypePending ComplianceStateType = "Pending" )
type ComplianceStatus ¶
type ComplianceStatus struct { ComplianceState *ComplianceStateType `json:"complianceState,omitempty"` LastConfigApplied *string `json:"lastConfigApplied,omitempty"` Message *string `json:"message,omitempty"` MessageLevel *MessageLevelType `json:"messageLevel,omitempty"` }
func (*ComplianceStatus) GetLastConfigAppliedAsTime ¶
func (o *ComplianceStatus) GetLastConfigAppliedAsTime() (*time.Time, error)
func (*ComplianceStatus) SetLastConfigAppliedAsTime ¶
func (o *ComplianceStatus) SetLastConfigAppliedAsTime(input time.Time)
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *SourceControlConfiguration }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SourceControlConfiguration }
type HelmOperatorProperties ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []SourceControlConfiguration
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]SourceControlConfiguration // 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 MessageLevelType ¶
type MessageLevelType string
const ( MessageLevelTypeError MessageLevelType = "Error" MessageLevelTypeInformation MessageLevelType = "Information" MessageLevelTypeWarning MessageLevelType = "Warning" )
type OperatorScopeType ¶
type OperatorScopeType string
const ( OperatorScopeTypeCluster OperatorScopeType = "cluster" OperatorScopeTypeNamespace OperatorScopeType = "namespace" )
type ProviderId ¶
type ProviderId struct { SubscriptionId string ResourceGroupName string ClusterRp string ClusterResourceName string ClusterName string }
ProviderId is a struct representing the Resource ID for a Provider
func NewProviderID ¶
func NewProviderID(subscriptionId string, resourceGroupName string, clusterRp 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 ProvisioningStateType ¶
type ProvisioningStateType string
const ( ProvisioningStateTypeAccepted ProvisioningStateType = "Accepted" ProvisioningStateTypeDeleting ProvisioningStateType = "Deleting" ProvisioningStateTypeFailed ProvisioningStateType = "Failed" ProvisioningStateTypeRunning ProvisioningStateType = "Running" ProvisioningStateTypeSucceeded ProvisioningStateType = "Succeeded" )
type SourceControlConfiguration ¶
type SourceControlConfiguration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SourceControlConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SourceControlConfigurationClient ¶
type SourceControlConfigurationClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSourceControlConfigurationClientWithBaseURI ¶
func NewSourceControlConfigurationClientWithBaseURI(endpoint string) SourceControlConfigurationClient
func (SourceControlConfigurationClient) CreateOrUpdate ¶
func (c SourceControlConfigurationClient) CreateOrUpdate(ctx context.Context, id SourceControlConfigurationId, input SourceControlConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SourceControlConfigurationClient) Delete ¶
func (c SourceControlConfigurationClient) Delete(ctx context.Context, id SourceControlConfigurationId) (result DeleteOperationResponse, err error)
Delete ...
func (SourceControlConfigurationClient) DeleteThenPoll ¶
func (c SourceControlConfigurationClient) DeleteThenPoll(ctx context.Context, id SourceControlConfigurationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SourceControlConfigurationClient) Get ¶
func (c SourceControlConfigurationClient) Get(ctx context.Context, id SourceControlConfigurationId) (result GetOperationResponse, err error)
Get ...
func (SourceControlConfigurationClient) List ¶
func (c SourceControlConfigurationClient) List(ctx context.Context, id ProviderId) (resp ListOperationResponse, err error)
List ...
func (SourceControlConfigurationClient) ListComplete ¶
func (c SourceControlConfigurationClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SourceControlConfigurationClient) ListCompleteMatchingPredicate ¶
func (c SourceControlConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, predicate SourceControlConfigurationOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type SourceControlConfigurationId ¶
type SourceControlConfigurationId struct { SubscriptionId string ResourceGroupName string ClusterRp string ClusterResourceName string ClusterName string SourceControlConfigurationName string }
SourceControlConfigurationId is a struct representing the Resource ID for a Source Control Configuration
func NewSourceControlConfigurationID ¶
func NewSourceControlConfigurationID(subscriptionId string, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) SourceControlConfigurationId
NewSourceControlConfigurationID returns a new SourceControlConfigurationId struct
func ParseSourceControlConfigurationID ¶
func ParseSourceControlConfigurationID(input string) (*SourceControlConfigurationId, error)
ParseSourceControlConfigurationID parses 'input' into a SourceControlConfigurationId
func ParseSourceControlConfigurationIDInsensitively ¶
func ParseSourceControlConfigurationIDInsensitively(input string) (*SourceControlConfigurationId, error)
ParseSourceControlConfigurationIDInsensitively parses 'input' case-insensitively into a SourceControlConfigurationId note: this method should only be used for API response data and not user input
func (SourceControlConfigurationId) ID ¶
func (id SourceControlConfigurationId) ID() string
ID returns the formatted Source Control Configuration ID
func (SourceControlConfigurationId) Segments ¶
func (id SourceControlConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Source Control Configuration ID
func (SourceControlConfigurationId) String ¶
func (id SourceControlConfigurationId) String() string
String returns a human-readable description of this Source Control Configuration ID
type SourceControlConfigurationOperationPredicate ¶
func (SourceControlConfigurationOperationPredicate) Matches ¶
func (p SourceControlConfigurationOperationPredicate) Matches(input SourceControlConfiguration) bool
type SourceControlConfigurationProperties ¶
type SourceControlConfigurationProperties struct { ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty"` ConfigurationProtectedSettings *map[string]string `json:"configurationProtectedSettings,omitempty"` EnableHelmOperator *bool `json:"enableHelmOperator,omitempty"` HelmOperatorProperties *HelmOperatorProperties `json:"helmOperatorProperties,omitempty"` OperatorInstanceName *string `json:"operatorInstanceName,omitempty"` OperatorNamespace *string `json:"operatorNamespace,omitempty"` OperatorParams *string `json:"operatorParams,omitempty"` OperatorScope *OperatorScopeType `json:"operatorScope,omitempty"` OperatorType *OperatorType `json:"operatorType,omitempty"` ProvisioningState *ProvisioningStateType `json:"provisioningState,omitempty"` RepositoryPublicKey *string `json:"repositoryPublicKey,omitempty"` RepositoryUrl *string `json:"repositoryUrl,omitempty"` SshKnownHostsContents *string `json:"sshKnownHostsContents,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_provider.go
- id_sourcecontrolconfiguration.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_compliancestatus.go
- model_helmoperatorproperties.go
- model_sourcecontrolconfiguration.go
- model_sourcecontrolconfigurationproperties.go
- predicates.go
- version.go