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) (result ListOperationResponse, err error)
- func (c SourceControlConfigurationClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
- func (c SourceControlConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, ...) (result ListCompleteResult, err error)
- type SourceControlConfigurationId
- func NewSourceControlConfigurationID(subscriptionId string, resourceGroupName string, providerName 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" )
func (*ComplianceStateType) UnmarshalJSON ¶
func (s *ComplianceStateType) UnmarshalJSON(bytes []byte) error
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 OData *odata.OData Model *SourceControlConfiguration }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SourceControlConfiguration }
type HelmOperatorProperties ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []SourceControlConfiguration
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SourceControlConfiguration }
type MessageLevelType ¶
type MessageLevelType string
const ( MessageLevelTypeError MessageLevelType = "Error" MessageLevelTypeInformation MessageLevelType = "Information" MessageLevelTypeWarning MessageLevelType = "Warning" )
func (*MessageLevelType) UnmarshalJSON ¶
func (s *MessageLevelType) UnmarshalJSON(bytes []byte) error
type OperatorScopeType ¶
type OperatorScopeType string
const ( OperatorScopeTypeCluster OperatorScopeType = "cluster" OperatorScopeTypeNamespace OperatorScopeType = "namespace" )
func (*OperatorScopeType) UnmarshalJSON ¶
func (s *OperatorScopeType) UnmarshalJSON(bytes []byte) error
type OperatorType ¶
type OperatorType string
const (
OperatorTypeFlux OperatorType = "Flux"
)
func (*OperatorType) UnmarshalJSON ¶
func (s *OperatorType) UnmarshalJSON(bytes []byte) error
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 ProvisioningStateType ¶
type ProvisioningStateType string
const ( ProvisioningStateTypeAccepted ProvisioningStateType = "Accepted" ProvisioningStateTypeDeleting ProvisioningStateType = "Deleting" ProvisioningStateTypeFailed ProvisioningStateType = "Failed" ProvisioningStateTypeRunning ProvisioningStateType = "Running" ProvisioningStateTypeSucceeded ProvisioningStateType = "Succeeded" )
func (*ProvisioningStateType) UnmarshalJSON ¶
func (s *ProvisioningStateType) UnmarshalJSON(bytes []byte) error
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 *resourcemanager.Client
}
func NewSourceControlConfigurationClientWithBaseURI ¶
func NewSourceControlConfigurationClientWithBaseURI(api environments.Api) (*SourceControlConfigurationClient, error)
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) (result ListOperationResponse, err error)
List ...
func (SourceControlConfigurationClient) ListComplete ¶
func (c SourceControlConfigurationClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SourceControlConfigurationClient) ListCompleteMatchingPredicate ¶
func (c SourceControlConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, predicate SourceControlConfigurationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SourceControlConfigurationId ¶
type SourceControlConfigurationId struct { SubscriptionId string ResourceGroupName string ProviderName 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, providerName 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.go
- method_delete.go
- method_get.go
- method_list.go
- model_compliancestatus.go
- model_helmoperatorproperties.go
- model_sourcecontrolconfiguration.go
- model_sourcecontrolconfigurationproperties.go
- predicates.go
- version.go