Documentation ¶
Index ¶
- func PossibleValuesForFluxComplianceState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForScopeType() []string
- func PossibleValuesForSourceKindType() []string
- func ValidateFluxConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderID(input interface{}, key string) (warnings []string, errors []error)
- type BucketDefinition
- type BucketPatchDefinition
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type FluxComplianceState
- type FluxConfiguration
- type FluxConfigurationClient
- func (c FluxConfigurationClient) CreateOrUpdate(ctx context.Context, id FluxConfigurationId, input FluxConfiguration) (result CreateOrUpdateOperationResponse, err error)
- func (c FluxConfigurationClient) CreateOrUpdateThenPoll(ctx context.Context, id FluxConfigurationId, input FluxConfiguration) error
- func (c FluxConfigurationClient) Delete(ctx context.Context, id FluxConfigurationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c FluxConfigurationClient) DeleteThenPoll(ctx context.Context, id FluxConfigurationId, options DeleteOperationOptions) error
- func (c FluxConfigurationClient) Get(ctx context.Context, id FluxConfigurationId) (result GetOperationResponse, err error)
- func (c FluxConfigurationClient) List(ctx context.Context, id ProviderId) (resp ListOperationResponse, err error)
- func (c FluxConfigurationClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
- func (c FluxConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, ...) (resp ListCompleteResult, err error)
- func (c FluxConfigurationClient) Update(ctx context.Context, id FluxConfigurationId, input FluxConfigurationPatch) (result UpdateOperationResponse, err error)
- func (c FluxConfigurationClient) UpdateThenPoll(ctx context.Context, id FluxConfigurationId, input FluxConfigurationPatch) error
- type FluxConfigurationId
- type FluxConfigurationOperationPredicate
- type FluxConfigurationPatch
- type FluxConfigurationPatchProperties
- type FluxConfigurationProperties
- func (o *FluxConfigurationProperties) GetSourceUpdatedAtAsTime() (*time.Time, error)
- func (o *FluxConfigurationProperties) GetStatusUpdatedAtAsTime() (*time.Time, error)
- func (o *FluxConfigurationProperties) SetSourceUpdatedAtAsTime(input time.Time)
- func (o *FluxConfigurationProperties) SetStatusUpdatedAtAsTime(input time.Time)
- type GetOperationResponse
- type GitRepositoryDefinition
- type GitRepositoryPatchDefinition
- type HelmReleasePropertiesDefinition
- type KustomizationDefinition
- type KustomizationPatchDefinition
- type ListCompleteResult
- type ListOperationResponse
- type ObjectReferenceDefinition
- type ObjectStatusConditionDefinition
- type ObjectStatusDefinition
- type ProviderId
- type ProvisioningState
- type RepositoryRefDefinition
- type ScopeType
- type SourceKindType
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFluxComplianceState ¶
func PossibleValuesForFluxComplianceState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForScopeType ¶
func PossibleValuesForScopeType() []string
func PossibleValuesForSourceKindType ¶
func PossibleValuesForSourceKindType() []string
func ValidateFluxConfigurationID ¶
ValidateFluxConfigurationID checks that 'input' can be parsed as a Flux Configuration ID
func ValidateProviderID ¶
ValidateProviderID checks that 'input' can be parsed as a Provider ID
Types ¶
type BucketDefinition ¶
type BucketDefinition struct { AccessKey *string `json:"accessKey,omitempty"` BucketName *string `json:"bucketName,omitempty"` Insecure *bool `json:"insecure,omitempty"` LocalAuthRef *string `json:"localAuthRef,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` Url *string `json:"url,omitempty"` }
type BucketPatchDefinition ¶
type BucketPatchDefinition struct { AccessKey *string `json:"accessKey,omitempty"` BucketName *string `json:"bucketName,omitempty"` Insecure *bool `json:"insecure,omitempty"` LocalAuthRef *string `json:"localAuthRef,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` Url *string `json:"url,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
ForceDelete *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type FluxComplianceState ¶
type FluxComplianceState string
const ( FluxComplianceStateCompliant FluxComplianceState = "Compliant" FluxComplianceStateNonNegativeCompliant FluxComplianceState = "Non-Compliant" FluxComplianceStatePending FluxComplianceState = "Pending" FluxComplianceStateSuspended FluxComplianceState = "Suspended" FluxComplianceStateUnknown FluxComplianceState = "Unknown" )
type FluxConfiguration ¶
type FluxConfiguration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *FluxConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type FluxConfigurationClient ¶
type FluxConfigurationClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewFluxConfigurationClientWithBaseURI ¶
func NewFluxConfigurationClientWithBaseURI(endpoint string) FluxConfigurationClient
func (FluxConfigurationClient) CreateOrUpdate ¶
func (c FluxConfigurationClient) CreateOrUpdate(ctx context.Context, id FluxConfigurationId, input FluxConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FluxConfigurationClient) CreateOrUpdateThenPoll ¶
func (c FluxConfigurationClient) CreateOrUpdateThenPoll(ctx context.Context, id FluxConfigurationId, input FluxConfiguration) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FluxConfigurationClient) Delete ¶
func (c FluxConfigurationClient) Delete(ctx context.Context, id FluxConfigurationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (FluxConfigurationClient) DeleteThenPoll ¶
func (c FluxConfigurationClient) DeleteThenPoll(ctx context.Context, id FluxConfigurationId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (FluxConfigurationClient) Get ¶
func (c FluxConfigurationClient) Get(ctx context.Context, id FluxConfigurationId) (result GetOperationResponse, err error)
Get ...
func (FluxConfigurationClient) List ¶
func (c FluxConfigurationClient) List(ctx context.Context, id ProviderId) (resp ListOperationResponse, err error)
List ...
func (FluxConfigurationClient) ListComplete ¶
func (c FluxConfigurationClient) ListComplete(ctx context.Context, id ProviderId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (FluxConfigurationClient) ListCompleteMatchingPredicate ¶
func (c FluxConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderId, predicate FluxConfigurationOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (FluxConfigurationClient) Update ¶
func (c FluxConfigurationClient) Update(ctx context.Context, id FluxConfigurationId, input FluxConfigurationPatch) (result UpdateOperationResponse, err error)
Update ...
func (FluxConfigurationClient) UpdateThenPoll ¶
func (c FluxConfigurationClient) UpdateThenPoll(ctx context.Context, id FluxConfigurationId, input FluxConfigurationPatch) error
UpdateThenPoll performs Update then polls until it's completed
type FluxConfigurationId ¶
type FluxConfigurationId struct { SubscriptionId string ResourceGroupName string ClusterRp string ClusterResourceName string ClusterName string FluxConfigurationName string }
FluxConfigurationId is a struct representing the Resource ID for a Flux Configuration
func NewFluxConfigurationID ¶
func NewFluxConfigurationID(subscriptionId string, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string) FluxConfigurationId
NewFluxConfigurationID returns a new FluxConfigurationId struct
func ParseFluxConfigurationID ¶
func ParseFluxConfigurationID(input string) (*FluxConfigurationId, error)
ParseFluxConfigurationID parses 'input' into a FluxConfigurationId
func ParseFluxConfigurationIDInsensitively ¶
func ParseFluxConfigurationIDInsensitively(input string) (*FluxConfigurationId, error)
ParseFluxConfigurationIDInsensitively parses 'input' case-insensitively into a FluxConfigurationId note: this method should only be used for API response data and not user input
func (FluxConfigurationId) ID ¶
func (id FluxConfigurationId) ID() string
ID returns the formatted Flux Configuration ID
func (FluxConfigurationId) Segments ¶
func (id FluxConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flux Configuration ID
func (FluxConfigurationId) String ¶
func (id FluxConfigurationId) String() string
String returns a human-readable description of this Flux Configuration ID
type FluxConfigurationOperationPredicate ¶
func (FluxConfigurationOperationPredicate) Matches ¶
func (p FluxConfigurationOperationPredicate) Matches(input FluxConfiguration) bool
type FluxConfigurationPatch ¶
type FluxConfigurationPatch struct {
Properties *FluxConfigurationPatchProperties `json:"properties,omitempty"`
}
type FluxConfigurationPatchProperties ¶
type FluxConfigurationPatchProperties struct { Bucket *BucketPatchDefinition `json:"bucket,omitempty"` ConfigurationProtectedSettings *map[string]string `json:"configurationProtectedSettings,omitempty"` GitRepository *GitRepositoryPatchDefinition `json:"gitRepository,omitempty"` Kustomizations *map[string]KustomizationPatchDefinition `json:"kustomizations,omitempty"` SourceKind *SourceKindType `json:"sourceKind,omitempty"` Suspend *bool `json:"suspend,omitempty"` }
type FluxConfigurationProperties ¶
type FluxConfigurationProperties struct { Bucket *BucketDefinition `json:"bucket,omitempty"` ComplianceState *FluxComplianceState `json:"complianceState,omitempty"` ConfigurationProtectedSettings *map[string]string `json:"configurationProtectedSettings,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` GitRepository *GitRepositoryDefinition `json:"gitRepository,omitempty"` Kustomizations *map[string]KustomizationDefinition `json:"kustomizations,omitempty"` Namespace *string `json:"namespace,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RepositoryPublicKey *string `json:"repositoryPublicKey,omitempty"` Scope *ScopeType `json:"scope,omitempty"` SourceKind *SourceKindType `json:"sourceKind,omitempty"` SourceSyncedCommitId *string `json:"sourceSyncedCommitId,omitempty"` SourceUpdatedAt *string `json:"sourceUpdatedAt,omitempty"` StatusUpdatedAt *string `json:"statusUpdatedAt,omitempty"` Statuses *[]ObjectStatusDefinition `json:"statuses,omitempty"` Suspend *bool `json:"suspend,omitempty"` }
func (*FluxConfigurationProperties) GetSourceUpdatedAtAsTime ¶
func (o *FluxConfigurationProperties) GetSourceUpdatedAtAsTime() (*time.Time, error)
func (*FluxConfigurationProperties) GetStatusUpdatedAtAsTime ¶
func (o *FluxConfigurationProperties) GetStatusUpdatedAtAsTime() (*time.Time, error)
func (*FluxConfigurationProperties) SetSourceUpdatedAtAsTime ¶
func (o *FluxConfigurationProperties) SetSourceUpdatedAtAsTime(input time.Time)
func (*FluxConfigurationProperties) SetStatusUpdatedAtAsTime ¶
func (o *FluxConfigurationProperties) SetStatusUpdatedAtAsTime(input time.Time)
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *FluxConfiguration }
type GitRepositoryDefinition ¶
type GitRepositoryDefinition struct { HttpsCACert *string `json:"httpsCACert,omitempty"` HttpsUser *string `json:"httpsUser,omitempty"` LocalAuthRef *string `json:"localAuthRef,omitempty"` RepositoryRef *RepositoryRefDefinition `json:"repositoryRef,omitempty"` SshKnownHosts *string `json:"sshKnownHosts,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` Url *string `json:"url,omitempty"` }
type GitRepositoryPatchDefinition ¶
type GitRepositoryPatchDefinition struct { HttpsCACert *string `json:"httpsCACert,omitempty"` HttpsUser *string `json:"httpsUser,omitempty"` LocalAuthRef *string `json:"localAuthRef,omitempty"` RepositoryRef *RepositoryRefDefinition `json:"repositoryRef,omitempty"` SshKnownHosts *string `json:"sshKnownHosts,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` Url *string `json:"url,omitempty"` }
type HelmReleasePropertiesDefinition ¶
type HelmReleasePropertiesDefinition struct { FailureCount *int64 `json:"failureCount,omitempty"` HelmChartRef *ObjectReferenceDefinition `json:"helmChartRef,omitempty"` InstallFailureCount *int64 `json:"installFailureCount,omitempty"` LastRevisionApplied *int64 `json:"lastRevisionApplied,omitempty"` UpgradeFailureCount *int64 `json:"upgradeFailureCount,omitempty"` }
type KustomizationDefinition ¶
type KustomizationDefinition struct { DependsOn *[]string `json:"dependsOn,omitempty"` Force *bool `json:"force,omitempty"` Name *string `json:"name,omitempty"` Path *string `json:"path,omitempty"` Prune *bool `json:"prune,omitempty"` RetryIntervalInSeconds *int64 `json:"retryIntervalInSeconds,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` }
type KustomizationPatchDefinition ¶
type KustomizationPatchDefinition struct { DependsOn *[]string `json:"dependsOn,omitempty"` Force *bool `json:"force,omitempty"` Path *string `json:"path,omitempty"` Prune *bool `json:"prune,omitempty"` RetryIntervalInSeconds *int64 `json:"retryIntervalInSeconds,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []FluxConfiguration
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]FluxConfiguration // 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 ObjectStatusConditionDefinition ¶
type ObjectStatusConditionDefinition struct { LastTransitionTime *string `json:"lastTransitionTime,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
func (*ObjectStatusConditionDefinition) GetLastTransitionTimeAsTime ¶
func (o *ObjectStatusConditionDefinition) GetLastTransitionTimeAsTime() (*time.Time, error)
func (*ObjectStatusConditionDefinition) SetLastTransitionTimeAsTime ¶
func (o *ObjectStatusConditionDefinition) SetLastTransitionTimeAsTime(input time.Time)
type ObjectStatusDefinition ¶
type ObjectStatusDefinition struct { AppliedBy *ObjectReferenceDefinition `json:"appliedBy,omitempty"` ComplianceState *FluxComplianceState `json:"complianceState,omitempty"` HelmReleaseProperties *HelmReleasePropertiesDefinition `json:"helmReleaseProperties,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` StatusConditions *[]ObjectStatusConditionDefinition `json:"statusConditions,omitempty"` }
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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type RepositoryRefDefinition ¶
type SourceKindType ¶
type SourceKindType string
const ( SourceKindTypeBucket SourceKindType = "Bucket" SourceKindTypeGitRepository SourceKindType = "GitRepository" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_fluxconfiguration.go
- id_provider.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_bucketdefinition.go
- model_bucketpatchdefinition.go
- model_fluxconfiguration.go
- model_fluxconfigurationpatch.go
- model_fluxconfigurationpatchproperties.go
- model_fluxconfigurationproperties.go
- model_gitrepositorydefinition.go
- model_gitrepositorypatchdefinition.go
- model_helmreleasepropertiesdefinition.go
- model_kustomizationdefinition.go
- model_kustomizationpatchdefinition.go
- model_objectreferencedefinition.go
- model_objectstatusconditiondefinition.go
- model_objectstatusdefinition.go
- model_repositoryrefdefinition.go
- predicates.go
- version.go