Documentation ¶
Index ¶
- func PossibleValuesForFluxComplianceState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForScopeType() []string
- func PossibleValuesForSourceKindType() []string
- func ValidateScopedFluxConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type AzureBlobDefinition
- type AzureBlobPatchDefinition
- type BucketDefinition
- type BucketPatchDefinition
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type FluxComplianceState
- type FluxConfiguration
- type FluxConfigurationClient
- func (c FluxConfigurationClient) CreateOrUpdate(ctx context.Context, id ScopedFluxConfigurationId, input FluxConfiguration) (result CreateOrUpdateOperationResponse, err error)
- func (c FluxConfigurationClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedFluxConfigurationId, input FluxConfiguration) error
- func (c FluxConfigurationClient) Delete(ctx context.Context, id ScopedFluxConfigurationId, ...) (result DeleteOperationResponse, err error)
- func (c FluxConfigurationClient) DeleteThenPoll(ctx context.Context, id ScopedFluxConfigurationId, ...) error
- func (c FluxConfigurationClient) Get(ctx context.Context, id ScopedFluxConfigurationId) (result GetOperationResponse, err error)
- func (c FluxConfigurationClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c FluxConfigurationClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c FluxConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- func (c FluxConfigurationClient) Update(ctx context.Context, id ScopedFluxConfigurationId, ...) (result UpdateOperationResponse, err error)
- func (c FluxConfigurationClient) UpdateThenPoll(ctx context.Context, id ScopedFluxConfigurationId, ...) error
- 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 ManagedIdentityDefinition
- type ManagedIdentityPatchDefinition
- type ObjectReferenceDefinition
- type ObjectStatusConditionDefinition
- type ObjectStatusDefinition
- type ProvisioningState
- type RepositoryRefDefinition
- type ScopeType
- type ScopedFluxConfigurationId
- type ServicePrincipalDefinition
- type ServicePrincipalPatchDefinition
- 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 ValidateScopedFluxConfigurationID ¶ added in v0.20230714.1170806
func ValidateScopedFluxConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedFluxConfigurationID checks that 'input' can be parsed as a Scoped Flux Configuration ID
Types ¶
type AzureBlobDefinition ¶
type AzureBlobDefinition struct { AccountKey *string `json:"accountKey,omitempty"` ContainerName *string `json:"containerName,omitempty"` LocalAuthRef *string `json:"localAuthRef,omitempty"` ManagedIdentity *ManagedIdentityDefinition `json:"managedIdentity,omitempty"` SasToken *string `json:"sasToken,omitempty"` ServicePrincipal *ServicePrincipalDefinition `json:"servicePrincipal,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` Url *string `json:"url,omitempty"` }
type AzureBlobPatchDefinition ¶
type AzureBlobPatchDefinition struct { AccountKey *string `json:"accountKey,omitempty"` ContainerName *string `json:"containerName,omitempty"` LocalAuthRef *string `json:"localAuthRef,omitempty"` ManagedIdentity *ManagedIdentityPatchDefinition `json:"managedIdentity,omitempty"` SasToken *string `json:"sasToken,omitempty"` ServicePrincipal *ServicePrincipalPatchDefinition `json:"servicePrincipal,omitempty"` SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` Url *string `json:"url,omitempty"` }
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 DeleteOperationOptions ¶
type DeleteOperationOptions struct {
ForceDelete *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230508.1101604
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230508.1101604
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230508.1101604
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type FluxComplianceState ¶
type FluxComplianceState string
const ( FluxComplianceStateCompliant FluxComplianceState = "Compliant" FluxComplianceStateNonNegativeCompliant FluxComplianceState = "Non-Compliant" FluxComplianceStatePending FluxComplianceState = "Pending" FluxComplianceStateSuspended FluxComplianceState = "Suspended" FluxComplianceStateUnknown FluxComplianceState = "Unknown" )
func (*FluxComplianceState) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *FluxComplianceState) UnmarshalJSON(bytes []byte) error
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 *resourcemanager.Client
}
func NewFluxConfigurationClientWithBaseURI ¶
func NewFluxConfigurationClientWithBaseURI(sdkApi sdkEnv.Api) (*FluxConfigurationClient, error)
func (FluxConfigurationClient) CreateOrUpdate ¶
func (c FluxConfigurationClient) CreateOrUpdate(ctx context.Context, id ScopedFluxConfigurationId, input FluxConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FluxConfigurationClient) CreateOrUpdateThenPoll ¶
func (c FluxConfigurationClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedFluxConfigurationId, input FluxConfiguration) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FluxConfigurationClient) Delete ¶
func (c FluxConfigurationClient) Delete(ctx context.Context, id ScopedFluxConfigurationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (FluxConfigurationClient) DeleteThenPoll ¶
func (c FluxConfigurationClient) DeleteThenPoll(ctx context.Context, id ScopedFluxConfigurationId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (FluxConfigurationClient) Get ¶
func (c FluxConfigurationClient) Get(ctx context.Context, id ScopedFluxConfigurationId) (result GetOperationResponse, err error)
Get ...
func (FluxConfigurationClient) List ¶
func (c FluxConfigurationClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (FluxConfigurationClient) ListComplete ¶
func (c FluxConfigurationClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (FluxConfigurationClient) ListCompleteMatchingPredicate ¶
func (c FluxConfigurationClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate FluxConfigurationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FluxConfigurationClient) Update ¶
func (c FluxConfigurationClient) Update(ctx context.Context, id ScopedFluxConfigurationId, input FluxConfigurationPatch) (result UpdateOperationResponse, err error)
Update ...
func (FluxConfigurationClient) UpdateThenPoll ¶
func (c FluxConfigurationClient) UpdateThenPoll(ctx context.Context, id ScopedFluxConfigurationId, input FluxConfigurationPatch) error
UpdateThenPoll performs Update then polls until it's completed
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 { AzureBlob *AzureBlobPatchDefinition `json:"azureBlob,omitempty"` 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 { AzureBlob *AzureBlobDefinition `json:"azureBlob,omitempty"` 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 OData *odata.OData 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 OData *odata.OData Model *[]FluxConfiguration }
type ManagedIdentityDefinition ¶
type ManagedIdentityDefinition struct {
ClientId *string `json:"clientId,omitempty"`
}
type ManagedIdentityPatchDefinition ¶
type ManagedIdentityPatchDefinition struct {
ClientId *string `json:"clientId,omitempty"`
}
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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RepositoryRefDefinition ¶
type ScopeType ¶
type ScopeType string
func (*ScopeType) UnmarshalJSON ¶ added in v0.20230508.1101604
type ScopedFluxConfigurationId ¶ added in v0.20230714.1170806
ScopedFluxConfigurationId is a struct representing the Resource ID for a Scoped Flux Configuration
func NewScopedFluxConfigurationID ¶ added in v0.20230714.1170806
func NewScopedFluxConfigurationID(scope string, fluxConfigurationName string) ScopedFluxConfigurationId
NewScopedFluxConfigurationID returns a new ScopedFluxConfigurationId struct
func ParseScopedFluxConfigurationID ¶ added in v0.20230714.1170806
func ParseScopedFluxConfigurationID(input string) (*ScopedFluxConfigurationId, error)
ParseScopedFluxConfigurationID parses 'input' into a ScopedFluxConfigurationId
func ParseScopedFluxConfigurationIDInsensitively ¶ added in v0.20230714.1170806
func ParseScopedFluxConfigurationIDInsensitively(input string) (*ScopedFluxConfigurationId, error)
ParseScopedFluxConfigurationIDInsensitively parses 'input' case-insensitively into a ScopedFluxConfigurationId note: this method should only be used for API response data and not user input
func (*ScopedFluxConfigurationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ScopedFluxConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (ScopedFluxConfigurationId) ID ¶ added in v0.20230714.1170806
func (id ScopedFluxConfigurationId) ID() string
ID returns the formatted Scoped Flux Configuration ID
func (ScopedFluxConfigurationId) Segments ¶ added in v0.20230714.1170806
func (id ScopedFluxConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Flux Configuration ID
func (ScopedFluxConfigurationId) String ¶ added in v0.20230714.1170806
func (id ScopedFluxConfigurationId) String() string
String returns a human-readable description of this Scoped Flux Configuration ID
type ServicePrincipalDefinition ¶
type ServicePrincipalDefinition struct { ClientCertificate *string `json:"clientCertificate,omitempty"` ClientCertificatePassword *string `json:"clientCertificatePassword,omitempty"` ClientCertificateSendChain *bool `json:"clientCertificateSendChain,omitempty"` ClientId *string `json:"clientId,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type ServicePrincipalPatchDefinition ¶
type ServicePrincipalPatchDefinition struct { ClientCertificate *string `json:"clientCertificate,omitempty"` ClientCertificatePassword *string `json:"clientCertificatePassword,omitempty"` ClientCertificateSendChain *bool `json:"clientCertificateSendChain,omitempty"` ClientId *string `json:"clientId,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type SourceKindType ¶
type SourceKindType string
const ( SourceKindTypeAzureBlob SourceKindType = "AzureBlob" SourceKindTypeBucket SourceKindType = "Bucket" SourceKindTypeGitRepository SourceKindType = "GitRepository" )
func (*SourceKindType) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *SourceKindType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_scopedfluxconfiguration.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_azureblobdefinition.go
- model_azureblobpatchdefinition.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_managedidentitydefinition.go
- model_managedidentitypatchdefinition.go
- model_objectreferencedefinition.go
- model_objectstatusconditiondefinition.go
- model_objectstatusdefinition.go
- model_repositoryrefdefinition.go
- model_serviceprincipaldefinition.go
- model_serviceprincipalpatchdefinition.go
- predicates.go
- version.go