Documentation ¶
Index ¶
- func PossibleValuesForEnableStatus() []string
- func PossibleValuesForSourceControlType() []string
- func ValidateArtifactSourceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLabID(input interface{}, key string) (warnings []string, errors []error)
- type ArtifactSource
- type ArtifactSourceId
- type ArtifactSourceOperationPredicate
- type ArtifactSourceProperties
- type ArtifactSourcesClient
- func (c ArtifactSourcesClient) CreateOrUpdate(ctx context.Context, id ArtifactSourceId, input ArtifactSource) (result CreateOrUpdateOperationResponse, err error)
- func (c ArtifactSourcesClient) Delete(ctx context.Context, id ArtifactSourceId) (result DeleteOperationResponse, err error)
- func (c ArtifactSourcesClient) Get(ctx context.Context, id ArtifactSourceId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ArtifactSourcesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ArtifactSourcesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ArtifactSourcesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c ArtifactSourcesClient) Update(ctx context.Context, id ArtifactSourceId, input UpdateResource) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnableStatus
- type GetOperationOptions
- type GetOperationResponse
- type LabId
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type SourceControlType
- type UpdateOperationResponse
- type UpdateResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnableStatus ¶
func PossibleValuesForEnableStatus() []string
func PossibleValuesForSourceControlType ¶
func PossibleValuesForSourceControlType() []string
func ValidateArtifactSourceID ¶
ValidateArtifactSourceID checks that 'input' can be parsed as a Artifact Source ID
func ValidateLabID ¶
ValidateLabID checks that 'input' can be parsed as a Lab ID
Types ¶
type ArtifactSource ¶
type ArtifactSourceId ¶
type ArtifactSourceId struct { SubscriptionId string ResourceGroupName string LabName string ArtifactSourceName string }
ArtifactSourceId is a struct representing the Resource ID for a Artifact Source
func NewArtifactSourceID ¶
func NewArtifactSourceID(subscriptionId string, resourceGroupName string, labName string, artifactSourceName string) ArtifactSourceId
NewArtifactSourceID returns a new ArtifactSourceId struct
func ParseArtifactSourceID ¶
func ParseArtifactSourceID(input string) (*ArtifactSourceId, error)
ParseArtifactSourceID parses 'input' into a ArtifactSourceId
func ParseArtifactSourceIDInsensitively ¶
func ParseArtifactSourceIDInsensitively(input string) (*ArtifactSourceId, error)
ParseArtifactSourceIDInsensitively parses 'input' case-insensitively into a ArtifactSourceId note: this method should only be used for API response data and not user input
func (ArtifactSourceId) ID ¶
func (id ArtifactSourceId) ID() string
ID returns the formatted Artifact Source ID
func (ArtifactSourceId) Segments ¶
func (id ArtifactSourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Artifact Source ID
func (ArtifactSourceId) String ¶
func (id ArtifactSourceId) String() string
String returns a human-readable description of this Artifact Source ID
type ArtifactSourceOperationPredicate ¶
type ArtifactSourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ArtifactSourceOperationPredicate) Matches ¶
func (p ArtifactSourceOperationPredicate) Matches(input ArtifactSource) bool
type ArtifactSourceProperties ¶
type ArtifactSourceProperties struct { ArmTemplateFolderPath *string `json:"armTemplateFolderPath,omitempty"` BranchRef *string `json:"branchRef,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` DisplayName *string `json:"displayName,omitempty"` FolderPath *string `json:"folderPath,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` SecurityToken *string `json:"securityToken,omitempty"` SourceType *SourceControlType `json:"sourceType,omitempty"` Status *EnableStatus `json:"status,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` Uri *string `json:"uri,omitempty"` }
func (*ArtifactSourceProperties) GetCreatedDateAsTime ¶
func (o *ArtifactSourceProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*ArtifactSourceProperties) SetCreatedDateAsTime ¶
func (o *ArtifactSourceProperties) SetCreatedDateAsTime(input time.Time)
type ArtifactSourcesClient ¶
type ArtifactSourcesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewArtifactSourcesClientWithBaseURI ¶
func NewArtifactSourcesClientWithBaseURI(endpoint string) ArtifactSourcesClient
func (ArtifactSourcesClient) CreateOrUpdate ¶
func (c ArtifactSourcesClient) CreateOrUpdate(ctx context.Context, id ArtifactSourceId, input ArtifactSource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ArtifactSourcesClient) Delete ¶
func (c ArtifactSourcesClient) Delete(ctx context.Context, id ArtifactSourceId) (result DeleteOperationResponse, err error)
Delete ...
func (ArtifactSourcesClient) Get ¶
func (c ArtifactSourcesClient) Get(ctx context.Context, id ArtifactSourceId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ArtifactSourcesClient) List ¶
func (c ArtifactSourcesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ArtifactSourcesClient) ListComplete ¶
func (c ArtifactSourcesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ArtifactSourcesClient) ListCompleteMatchingPredicate ¶
func (c ArtifactSourcesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, predicate ArtifactSourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ArtifactSourcesClient) Update ¶
func (c ArtifactSourcesClient) Update(ctx context.Context, id ArtifactSourceId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ArtifactSource }
type DeleteOperationResponse ¶
type EnableStatus ¶
type EnableStatus string
const ( EnableStatusDisabled EnableStatus = "Disabled" EnableStatusEnabled EnableStatus = "Enabled" )
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ArtifactSource }
type LabId ¶
LabId is a struct representing the Resource ID for a Lab
func ParseLabID ¶
ParseLabID parses 'input' into a LabId
func ParseLabIDInsensitively ¶
ParseLabIDInsensitively parses 'input' case-insensitively into a LabId note: this method should only be used for API response data and not user input
func (LabId) Segments ¶
func (id LabId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lab ID
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ArtifactSource
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ArtifactSource // 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 SourceControlType ¶
type SourceControlType string
const ( SourceControlTypeGitHub SourceControlType = "GitHub" SourceControlTypeStorageAccount SourceControlType = "StorageAccount" SourceControlTypeVsoGit SourceControlType = "VsoGit" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *ArtifactSource }