Documentation ¶
Index ¶
- func PossibleValuesForCatalogConnectionState() []string
- func PossibleValuesForCatalogItemType() []string
- func PossibleValuesForCatalogSyncState() []string
- func PossibleValuesForCatalogSyncType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateDevCenterCatalogID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDevCenterID(input interface{}, key string) (warnings []string, errors []error)
- type Catalog
- type CatalogConflictError
- type CatalogConnectionState
- type CatalogErrorDetails
- type CatalogItemType
- type CatalogOperationPredicate
- type CatalogProperties
- type CatalogSyncError
- type CatalogSyncState
- type CatalogSyncType
- type CatalogUpdate
- type CatalogUpdateProperties
- type CatalogsClient
- func (c CatalogsClient) Connect(ctx context.Context, id DevCenterCatalogId) (result ConnectOperationResponse, err error)
- func (c CatalogsClient) ConnectThenPoll(ctx context.Context, id DevCenterCatalogId) error
- func (c CatalogsClient) CreateOrUpdate(ctx context.Context, id DevCenterCatalogId, input Catalog) (result CreateOrUpdateOperationResponse, err error)
- func (c CatalogsClient) CreateOrUpdateThenPoll(ctx context.Context, id DevCenterCatalogId, input Catalog) error
- func (c CatalogsClient) Delete(ctx context.Context, id DevCenterCatalogId) (result DeleteOperationResponse, err error)
- func (c CatalogsClient) DeleteThenPoll(ctx context.Context, id DevCenterCatalogId) error
- func (c CatalogsClient) Get(ctx context.Context, id DevCenterCatalogId) (result GetOperationResponse, err error)
- func (c CatalogsClient) GetSyncErrorDetails(ctx context.Context, id DevCenterCatalogId) (result GetSyncErrorDetailsOperationResponse, err error)
- func (c CatalogsClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
- func (c CatalogsClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
- func (c CatalogsClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, ...) (result ListByDevCenterCompleteResult, err error)
- func (c CatalogsClient) Sync(ctx context.Context, id DevCenterCatalogId) (result SyncOperationResponse, err error)
- func (c CatalogsClient) SyncThenPoll(ctx context.Context, id DevCenterCatalogId) error
- func (c CatalogsClient) Update(ctx context.Context, id DevCenterCatalogId, input CatalogUpdate) (result UpdateOperationResponse, err error)
- func (c CatalogsClient) UpdateThenPoll(ctx context.Context, id DevCenterCatalogId, input CatalogUpdate) error
- type ConnectOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DevCenterCatalogId
- type DevCenterId
- type GetOperationResponse
- type GetSyncErrorDetailsOperationResponse
- type GitCatalog
- type ListByDevCenterCompleteResult
- type ListByDevCenterCustomPager
- type ListByDevCenterOperationOptions
- type ListByDevCenterOperationResponse
- type ProvisioningState
- type SyncErrorDetails
- type SyncOperationResponse
- type SyncStats
- type UpdateOperationResponse
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 ValidateDevCenterCatalogID ¶
ValidateDevCenterCatalogID checks that 'input' can be parsed as a Dev Center Catalog ID
func ValidateDevCenterID ¶
ValidateDevCenterID checks that 'input' can be parsed as a Dev Center 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 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 CatalogsClient ¶
type CatalogsClient struct {
Client *resourcemanager.Client
}
func NewCatalogsClientWithBaseURI ¶
func NewCatalogsClientWithBaseURI(sdkApi sdkEnv.Api) (*CatalogsClient, error)
func (CatalogsClient) Connect ¶
func (c CatalogsClient) Connect(ctx context.Context, id DevCenterCatalogId) (result ConnectOperationResponse, err error)
Connect ...
func (CatalogsClient) ConnectThenPoll ¶
func (c CatalogsClient) ConnectThenPoll(ctx context.Context, id DevCenterCatalogId) error
ConnectThenPoll performs Connect then polls until it's completed
func (CatalogsClient) CreateOrUpdate ¶
func (c CatalogsClient) CreateOrUpdate(ctx context.Context, id DevCenterCatalogId, input Catalog) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CatalogsClient) CreateOrUpdateThenPoll ¶
func (c CatalogsClient) CreateOrUpdateThenPoll(ctx context.Context, id DevCenterCatalogId, input Catalog) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CatalogsClient) Delete ¶
func (c CatalogsClient) Delete(ctx context.Context, id DevCenterCatalogId) (result DeleteOperationResponse, err error)
Delete ...
func (CatalogsClient) DeleteThenPoll ¶
func (c CatalogsClient) DeleteThenPoll(ctx context.Context, id DevCenterCatalogId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CatalogsClient) Get ¶
func (c CatalogsClient) Get(ctx context.Context, id DevCenterCatalogId) (result GetOperationResponse, err error)
Get ...
func (CatalogsClient) GetSyncErrorDetails ¶
func (c CatalogsClient) GetSyncErrorDetails(ctx context.Context, id DevCenterCatalogId) (result GetSyncErrorDetailsOperationResponse, err error)
GetSyncErrorDetails ...
func (CatalogsClient) ListByDevCenter ¶
func (c CatalogsClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
ListByDevCenter ...
func (CatalogsClient) ListByDevCenterComplete ¶
func (c CatalogsClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
ListByDevCenterComplete retrieves all the results into a single object
func (CatalogsClient) ListByDevCenterCompleteMatchingPredicate ¶
func (c CatalogsClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, predicate CatalogOperationPredicate) (result ListByDevCenterCompleteResult, err error)
ListByDevCenterCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CatalogsClient) Sync ¶
func (c CatalogsClient) Sync(ctx context.Context, id DevCenterCatalogId) (result SyncOperationResponse, err error)
Sync ...
func (CatalogsClient) SyncThenPoll ¶
func (c CatalogsClient) SyncThenPoll(ctx context.Context, id DevCenterCatalogId) error
SyncThenPoll performs Sync then polls until it's completed
func (CatalogsClient) Update ¶
func (c CatalogsClient) Update(ctx context.Context, id DevCenterCatalogId, input CatalogUpdate) (result UpdateOperationResponse, err error)
Update ...
func (CatalogsClient) UpdateThenPoll ¶
func (c CatalogsClient) UpdateThenPoll(ctx context.Context, id DevCenterCatalogId, input CatalogUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type DevCenterCatalogId ¶
type DevCenterCatalogId struct { SubscriptionId string ResourceGroupName string DevCenterName string CatalogName string }
DevCenterCatalogId is a struct representing the Resource ID for a Dev Center Catalog
func NewDevCenterCatalogID ¶
func NewDevCenterCatalogID(subscriptionId string, resourceGroupName string, devCenterName string, catalogName string) DevCenterCatalogId
NewDevCenterCatalogID returns a new DevCenterCatalogId struct
func ParseDevCenterCatalogID ¶
func ParseDevCenterCatalogID(input string) (*DevCenterCatalogId, error)
ParseDevCenterCatalogID parses 'input' into a DevCenterCatalogId
func ParseDevCenterCatalogIDInsensitively ¶
func ParseDevCenterCatalogIDInsensitively(input string) (*DevCenterCatalogId, error)
ParseDevCenterCatalogIDInsensitively parses 'input' case-insensitively into a DevCenterCatalogId note: this method should only be used for API response data and not user input
func (*DevCenterCatalogId) FromParseResult ¶
func (id *DevCenterCatalogId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterCatalogId) ID ¶
func (id DevCenterCatalogId) ID() string
ID returns the formatted Dev Center Catalog ID
func (DevCenterCatalogId) Segments ¶
func (id DevCenterCatalogId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center Catalog ID
func (DevCenterCatalogId) String ¶
func (id DevCenterCatalogId) String() string
String returns a human-readable description of this Dev Center Catalog ID
type DevCenterId ¶
DevCenterId is a struct representing the Resource ID for a Dev Center
func NewDevCenterID ¶
func NewDevCenterID(subscriptionId string, resourceGroupName string, devCenterName string) DevCenterId
NewDevCenterID returns a new DevCenterId struct
func ParseDevCenterID ¶
func ParseDevCenterID(input string) (*DevCenterId, error)
ParseDevCenterID parses 'input' into a DevCenterId
func ParseDevCenterIDInsensitively ¶
func ParseDevCenterIDInsensitively(input string) (*DevCenterId, error)
ParseDevCenterIDInsensitively parses 'input' case-insensitively into a DevCenterId note: this method should only be used for API response data and not user input
func (*DevCenterId) FromParseResult ¶
func (id *DevCenterId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterId) Segments ¶
func (id DevCenterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center ID
func (DevCenterId) String ¶
func (id DevCenterId) String() string
String returns a human-readable description of this Dev Center ID
type GetOperationResponse ¶
type GetSyncErrorDetailsOperationResponse ¶
type GetSyncErrorDetailsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SyncErrorDetails }
type GitCatalog ¶
type ListByDevCenterCustomPager ¶ added in v0.20240628.1153531
func (*ListByDevCenterCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDevCenterCustomPager) NextPageLink() *odata.Link
type ListByDevCenterOperationOptions ¶
type ListByDevCenterOperationOptions struct {
Top *int64
}
func DefaultListByDevCenterOperationOptions ¶
func DefaultListByDevCenterOperationOptions() ListByDevCenterOperationOptions
func (ListByDevCenterOperationOptions) ToHeaders ¶
func (o ListByDevCenterOperationOptions) ToHeaders() *client.Headers
func (ListByDevCenterOperationOptions) ToOData ¶
func (o ListByDevCenterOperationOptions) ToOData() *odata.Query
func (ListByDevCenterOperationOptions) ToQuery ¶
func (o ListByDevCenterOperationOptions) ToQuery() *client.QueryParams
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_devcenter.go
- id_devcentercatalog.go
- method_connect.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getsyncerrordetails.go
- method_listbydevcenter.go
- method_sync.go
- method_update.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