Documentation ¶
Index ¶
- func PossibleValuesForComplianceStateType() []string
- func PossibleValuesForMessageLevelType() []string
- func PossibleValuesForOperatorScopeType() []string
- func PossibleValuesForOperatorType() []string
- func PossibleValuesForProvisioningStateType() []string
- func ValidateScopedSourceControlConfigurationID(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 ProvisioningStateType
- type ScopedSourceControlConfigurationId
- func NewScopedSourceControlConfigurationID(scope string, sourceControlConfigurationName string) ScopedSourceControlConfigurationId
- func ParseScopedSourceControlConfigurationID(input string) (*ScopedSourceControlConfigurationId, error)
- func ParseScopedSourceControlConfigurationIDInsensitively(input string) (*ScopedSourceControlConfigurationId, error)
- type SourceControlConfiguration
- type SourceControlConfigurationClient
- func (c SourceControlConfigurationClient) CreateOrUpdate(ctx context.Context, id ScopedSourceControlConfigurationId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c SourceControlConfigurationClient) Delete(ctx context.Context, id ScopedSourceControlConfigurationId) (result DeleteOperationResponse, err error)
- func (c SourceControlConfigurationClient) DeleteThenPoll(ctx context.Context, id ScopedSourceControlConfigurationId) error
- func (c SourceControlConfigurationClient) Get(ctx context.Context, id ScopedSourceControlConfigurationId) (result GetOperationResponse, err error)
- func (c SourceControlConfigurationClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c SourceControlConfigurationClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c SourceControlConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err 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 ValidateScopedSourceControlConfigurationID ¶
func ValidateScopedSourceControlConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedSourceControlConfigurationID checks that 'input' can be parsed as a Scoped 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 { LatestHttpResponse *http.Response 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 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 ScopedSourceControlConfigurationId ¶
type ScopedSourceControlConfigurationId struct { Scope string SourceControlConfigurationName string }
ScopedSourceControlConfigurationId is a struct representing the Resource ID for a Scoped Source Control Configuration
func NewScopedSourceControlConfigurationID ¶
func NewScopedSourceControlConfigurationID(scope string, sourceControlConfigurationName string) ScopedSourceControlConfigurationId
NewScopedSourceControlConfigurationID returns a new ScopedSourceControlConfigurationId struct
func ParseScopedSourceControlConfigurationID ¶
func ParseScopedSourceControlConfigurationID(input string) (*ScopedSourceControlConfigurationId, error)
ParseScopedSourceControlConfigurationID parses 'input' into a ScopedSourceControlConfigurationId
func ParseScopedSourceControlConfigurationIDInsensitively ¶
func ParseScopedSourceControlConfigurationIDInsensitively(input string) (*ScopedSourceControlConfigurationId, error)
ParseScopedSourceControlConfigurationIDInsensitively parses 'input' case-insensitively into a ScopedSourceControlConfigurationId note: this method should only be used for API response data and not user input
func (*ScopedSourceControlConfigurationId) FromParseResult ¶
func (id *ScopedSourceControlConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (ScopedSourceControlConfigurationId) ID ¶
func (id ScopedSourceControlConfigurationId) ID() string
ID returns the formatted Scoped Source Control Configuration ID
func (ScopedSourceControlConfigurationId) Segments ¶
func (id ScopedSourceControlConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Source Control Configuration ID
func (ScopedSourceControlConfigurationId) String ¶
func (id ScopedSourceControlConfigurationId) String() string
String returns a human-readable description of this Scoped Source Control Configuration ID
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(sdkApi sdkEnv.Api) (*SourceControlConfigurationClient, error)
func (SourceControlConfigurationClient) CreateOrUpdate ¶
func (c SourceControlConfigurationClient) CreateOrUpdate(ctx context.Context, id ScopedSourceControlConfigurationId, input SourceControlConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SourceControlConfigurationClient) Delete ¶
func (c SourceControlConfigurationClient) Delete(ctx context.Context, id ScopedSourceControlConfigurationId) (result DeleteOperationResponse, err error)
Delete ...
func (SourceControlConfigurationClient) DeleteThenPoll ¶
func (c SourceControlConfigurationClient) DeleteThenPoll(ctx context.Context, id ScopedSourceControlConfigurationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SourceControlConfigurationClient) Get ¶
func (c SourceControlConfigurationClient) Get(ctx context.Context, id ScopedSourceControlConfigurationId) (result GetOperationResponse, err error)
Get ...
func (SourceControlConfigurationClient) List ¶
func (c SourceControlConfigurationClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (SourceControlConfigurationClient) ListComplete ¶
func (c SourceControlConfigurationClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SourceControlConfigurationClient) ListCompleteMatchingPredicate ¶
func (c SourceControlConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate SourceControlConfigurationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
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"` }