Documentation ¶
Index ¶
- func PossibleValuesForCatalogConnectionState() []string
- func PossibleValuesForCatalogItemType() []string
- func PossibleValuesForCatalogSyncState() []string
- func PossibleValuesForCatalogSyncType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCatalogID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- type Catalog
- type CatalogConflictError
- type CatalogConnectionState
- type CatalogErrorDetails
- type CatalogId
- type CatalogItemType
- type CatalogOperationPredicate
- type CatalogProperties
- type CatalogSyncError
- type CatalogSyncState
- type CatalogSyncType
- type CatalogUpdate
- type CatalogUpdateProperties
- type ConnectOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GetSyncErrorDetailsOperationResponse
- type GitCatalog
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type PatchOperationResponse
- type ProjectCatalogsClient
- func (c ProjectCatalogsClient) Connect(ctx context.Context, id CatalogId) (result ConnectOperationResponse, err error)
- func (c ProjectCatalogsClient) ConnectThenPoll(ctx context.Context, id CatalogId) error
- func (c ProjectCatalogsClient) CreateOrUpdate(ctx context.Context, id CatalogId, input Catalog) (result CreateOrUpdateOperationResponse, err error)
- func (c ProjectCatalogsClient) CreateOrUpdateThenPoll(ctx context.Context, id CatalogId, input Catalog) error
- func (c ProjectCatalogsClient) Delete(ctx context.Context, id CatalogId) (result DeleteOperationResponse, err error)
- func (c ProjectCatalogsClient) DeleteThenPoll(ctx context.Context, id CatalogId) error
- func (c ProjectCatalogsClient) Get(ctx context.Context, id CatalogId) (result GetOperationResponse, err error)
- func (c ProjectCatalogsClient) GetSyncErrorDetails(ctx context.Context, id CatalogId) (result GetSyncErrorDetailsOperationResponse, err error)
- func (c ProjectCatalogsClient) List(ctx context.Context, id ProjectId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ProjectCatalogsClient) ListComplete(ctx context.Context, id ProjectId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ProjectCatalogsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProjectId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ProjectCatalogsClient) Patch(ctx context.Context, id CatalogId, input CatalogUpdate) (result PatchOperationResponse, err error)
- func (c ProjectCatalogsClient) PatchThenPoll(ctx context.Context, id CatalogId, input CatalogUpdate) error
- func (c ProjectCatalogsClient) Sync(ctx context.Context, id CatalogId) (result SyncOperationResponse, err error)
- func (c ProjectCatalogsClient) SyncThenPoll(ctx context.Context, id CatalogId) error
- type ProjectId
- type ProvisioningState
- type SyncErrorDetails
- type SyncOperationResponse
- type SyncStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCatalogConnectionState ¶
func PossibleValuesForCatalogConnectionState() []string
func PossibleValuesForCatalogItemType ¶
func PossibleValuesForCatalogItemType() []string
func PossibleValuesForCatalogSyncState ¶
func PossibleValuesForCatalogSyncState() []string
func PossibleValuesForCatalogSyncType ¶
func PossibleValuesForCatalogSyncType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCatalogID ¶
ValidateCatalogID checks that 'input' can be parsed as a Catalog ID
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
Types ¶
type Catalog ¶
type Catalog struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CatalogProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CatalogConflictError ¶
type CatalogConnectionState ¶
type CatalogConnectionState string
const ( CatalogConnectionStateConnected CatalogConnectionState = "Connected" CatalogConnectionStateDisconnected CatalogConnectionState = "Disconnected" )
func (*CatalogConnectionState) UnmarshalJSON ¶
func (s *CatalogConnectionState) UnmarshalJSON(bytes []byte) error
type CatalogErrorDetails ¶
type CatalogId ¶
type CatalogId struct { SubscriptionId string ResourceGroupName string ProjectName string CatalogName string }
CatalogId is a struct representing the Resource ID for a Catalog
func NewCatalogID ¶
func NewCatalogID(subscriptionId string, resourceGroupName string, projectName string, catalogName string) CatalogId
NewCatalogID returns a new CatalogId struct
func ParseCatalogID ¶
ParseCatalogID parses 'input' into a CatalogId
func ParseCatalogIDInsensitively ¶
ParseCatalogIDInsensitively parses 'input' case-insensitively into a CatalogId note: this method should only be used for API response data and not user input
func (*CatalogId) FromParseResult ¶
func (id *CatalogId) FromParseResult(input resourceids.ParseResult) error
func (CatalogId) Segments ¶
func (id CatalogId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Catalog ID
type CatalogItemType ¶
type CatalogItemType string
const (
CatalogItemTypeEnvironmentDefinition CatalogItemType = "EnvironmentDefinition"
)
func (*CatalogItemType) UnmarshalJSON ¶
func (s *CatalogItemType) UnmarshalJSON(bytes []byte) error
type CatalogOperationPredicate ¶
func (CatalogOperationPredicate) Matches ¶
func (p CatalogOperationPredicate) Matches(input Catalog) bool
type CatalogProperties ¶
type CatalogProperties struct { AdoGit *GitCatalog `json:"adoGit,omitempty"` ConnectionState *CatalogConnectionState `json:"connectionState,omitempty"` GitHub *GitCatalog `json:"gitHub,omitempty"` LastConnectionTime *string `json:"lastConnectionTime,omitempty"` LastSyncStats *SyncStats `json:"lastSyncStats,omitempty"` LastSyncTime *string `json:"lastSyncTime,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SyncState *CatalogSyncState `json:"syncState,omitempty"` SyncType *CatalogSyncType `json:"syncType,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (*CatalogProperties) GetLastConnectionTimeAsTime ¶
func (o *CatalogProperties) GetLastConnectionTimeAsTime() (*time.Time, error)
func (*CatalogProperties) GetLastSyncTimeAsTime ¶
func (o *CatalogProperties) GetLastSyncTimeAsTime() (*time.Time, error)
func (*CatalogProperties) SetLastConnectionTimeAsTime ¶
func (o *CatalogProperties) SetLastConnectionTimeAsTime(input time.Time)
func (*CatalogProperties) SetLastSyncTimeAsTime ¶
func (o *CatalogProperties) SetLastSyncTimeAsTime(input time.Time)
type CatalogSyncError ¶
type CatalogSyncError struct { ErrorDetails *[]CatalogErrorDetails `json:"errorDetails,omitempty"` Path *string `json:"path,omitempty"` }
type CatalogSyncState ¶
type CatalogSyncState string
const ( CatalogSyncStateCanceled CatalogSyncState = "Canceled" CatalogSyncStateFailed CatalogSyncState = "Failed" CatalogSyncStateInProgress CatalogSyncState = "InProgress" CatalogSyncStateSucceeded CatalogSyncState = "Succeeded" )
func (*CatalogSyncState) UnmarshalJSON ¶
func (s *CatalogSyncState) UnmarshalJSON(bytes []byte) error
type CatalogSyncType ¶
type CatalogSyncType string
const ( CatalogSyncTypeManual CatalogSyncType = "Manual" CatalogSyncTypeScheduled CatalogSyncType = "Scheduled" )
func (*CatalogSyncType) UnmarshalJSON ¶
func (s *CatalogSyncType) UnmarshalJSON(bytes []byte) error
type CatalogUpdate ¶
type CatalogUpdate struct {
Properties *CatalogUpdateProperties `json:"properties,omitempty"`
}
type CatalogUpdateProperties ¶
type CatalogUpdateProperties struct { AdoGit *GitCatalog `json:"adoGit,omitempty"` GitHub *GitCatalog `json:"gitHub,omitempty"` SyncType *CatalogSyncType `json:"syncType,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetSyncErrorDetailsOperationResponse ¶
type GetSyncErrorDetailsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SyncErrorDetails }
type GitCatalog ¶
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type PatchOperationResponse ¶
type ProjectCatalogsClient ¶
type ProjectCatalogsClient struct {
Client *resourcemanager.Client
}
func NewProjectCatalogsClientWithBaseURI ¶
func NewProjectCatalogsClientWithBaseURI(sdkApi sdkEnv.Api) (*ProjectCatalogsClient, error)
func (ProjectCatalogsClient) Connect ¶
func (c ProjectCatalogsClient) Connect(ctx context.Context, id CatalogId) (result ConnectOperationResponse, err error)
Connect ...
func (ProjectCatalogsClient) ConnectThenPoll ¶
func (c ProjectCatalogsClient) ConnectThenPoll(ctx context.Context, id CatalogId) error
ConnectThenPoll performs Connect then polls until it's completed
func (ProjectCatalogsClient) CreateOrUpdate ¶
func (c ProjectCatalogsClient) CreateOrUpdate(ctx context.Context, id CatalogId, input Catalog) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProjectCatalogsClient) CreateOrUpdateThenPoll ¶
func (c ProjectCatalogsClient) CreateOrUpdateThenPoll(ctx context.Context, id CatalogId, input Catalog) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ProjectCatalogsClient) Delete ¶
func (c ProjectCatalogsClient) Delete(ctx context.Context, id CatalogId) (result DeleteOperationResponse, err error)
Delete ...
func (ProjectCatalogsClient) DeleteThenPoll ¶
func (c ProjectCatalogsClient) DeleteThenPoll(ctx context.Context, id CatalogId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ProjectCatalogsClient) Get ¶
func (c ProjectCatalogsClient) Get(ctx context.Context, id CatalogId) (result GetOperationResponse, err error)
Get ...
func (ProjectCatalogsClient) GetSyncErrorDetails ¶
func (c ProjectCatalogsClient) GetSyncErrorDetails(ctx context.Context, id CatalogId) (result GetSyncErrorDetailsOperationResponse, err error)
GetSyncErrorDetails ...
func (ProjectCatalogsClient) List ¶
func (c ProjectCatalogsClient) List(ctx context.Context, id ProjectId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ProjectCatalogsClient) ListComplete ¶
func (c ProjectCatalogsClient) ListComplete(ctx context.Context, id ProjectId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ProjectCatalogsClient) ListCompleteMatchingPredicate ¶
func (c ProjectCatalogsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProjectId, options ListOperationOptions, predicate CatalogOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProjectCatalogsClient) Patch ¶
func (c ProjectCatalogsClient) Patch(ctx context.Context, id CatalogId, input CatalogUpdate) (result PatchOperationResponse, err error)
Patch ...
func (ProjectCatalogsClient) PatchThenPoll ¶
func (c ProjectCatalogsClient) PatchThenPoll(ctx context.Context, id CatalogId, input CatalogUpdate) error
PatchThenPoll performs Patch then polls until it's completed
func (ProjectCatalogsClient) Sync ¶
func (c ProjectCatalogsClient) Sync(ctx context.Context, id CatalogId) (result SyncOperationResponse, err error)
Sync ...
func (ProjectCatalogsClient) SyncThenPoll ¶
func (c ProjectCatalogsClient) SyncThenPoll(ctx context.Context, id CatalogId) error
SyncThenPoll performs Sync then polls until it's completed
type ProjectId ¶
ProjectId is a struct representing the Resource ID for a Project
func NewProjectID ¶
NewProjectID returns a new ProjectId struct
func ParseProjectID ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input
func (*ProjectId) FromParseResult ¶
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMovingResources ProvisioningState = "MovingResources" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateRolloutInProgress ProvisioningState = "RolloutInProgress" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateStorageProvisioningFailed ProvisioningState = "StorageProvisioningFailed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateTransientFailure ProvisioningState = "TransientFailure" ProvisioningStateUpdated ProvisioningState = "Updated" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SyncErrorDetails ¶
type SyncErrorDetails struct { Conflicts *[]CatalogConflictError `json:"conflicts,omitempty"` Errors *[]CatalogSyncError `json:"errors,omitempty"` OperationError *CatalogErrorDetails `json:"operationError,omitempty"` }
type SyncOperationResponse ¶
type SyncStats ¶
type SyncStats struct { Added *int64 `json:"added,omitempty"` Removed *int64 `json:"removed,omitempty"` SyncedCatalogItemTypes *[]CatalogItemType `json:"syncedCatalogItemTypes,omitempty"` SynchronizationErrors *int64 `json:"synchronizationErrors,omitempty"` Unchanged *int64 `json:"unchanged,omitempty"` Updated *int64 `json:"updated,omitempty"` ValidationErrors *int64 `json:"validationErrors,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_catalog.go
- id_project.go
- method_connect.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getsyncerrordetails.go
- method_list.go
- method_patch.go
- method_sync.go
- model_catalog.go
- model_catalogconflicterror.go
- model_catalogerrordetails.go
- model_catalogproperties.go
- model_catalogsyncerror.go
- model_catalogupdate.go
- model_catalogupdateproperties.go
- model_gitcatalog.go
- model_syncerrordetails.go
- model_syncstats.go
- predicates.go
- version.go