Documentation ¶
Index ¶
- func PossibleValuesForRepoType() []string
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type Repo
- type RepoOperationPredicate
- type RepoType
- type RepositoriesClient
- func (c RepositoriesClient) SourceControllistRepositories(ctx context.Context, id WorkspaceId, input RepoType) (resp SourceControllistRepositoriesOperationResponse, err error)
- func (c RepositoriesClient) SourceControllistRepositoriesComplete(ctx context.Context, id WorkspaceId, input RepoType) (SourceControllistRepositoriesCompleteResult, error)
- func (c RepositoriesClient) SourceControllistRepositoriesCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, input RepoType, ...) (resp SourceControllistRepositoriesCompleteResult, err error)
- type SourceControllistRepositoriesCompleteResult
- type SourceControllistRepositoriesOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRepoType ¶
func PossibleValuesForRepoType() []string
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type RepoOperationPredicate ¶
func (RepoOperationPredicate) Matches ¶
func (p RepoOperationPredicate) Matches(input Repo) bool
type RepositoriesClient ¶
func NewRepositoriesClientWithBaseURI ¶
func NewRepositoriesClientWithBaseURI(endpoint string) RepositoriesClient
func (RepositoriesClient) SourceControllistRepositories ¶
func (c RepositoriesClient) SourceControllistRepositories(ctx context.Context, id WorkspaceId, input RepoType) (resp SourceControllistRepositoriesOperationResponse, err error)
SourceControllistRepositories ...
func (RepositoriesClient) SourceControllistRepositoriesComplete ¶
func (c RepositoriesClient) SourceControllistRepositoriesComplete(ctx context.Context, id WorkspaceId, input RepoType) (SourceControllistRepositoriesCompleteResult, error)
SourceControllistRepositoriesComplete retrieves all of the results into a single object
func (RepositoriesClient) SourceControllistRepositoriesCompleteMatchingPredicate ¶
func (c RepositoriesClient) SourceControllistRepositoriesCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, input RepoType, predicate RepoOperationPredicate) (resp SourceControllistRepositoriesCompleteResult, err error)
SourceControllistRepositoriesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type SourceControllistRepositoriesCompleteResult ¶
type SourceControllistRepositoriesCompleteResult struct {
Items []Repo
}
type SourceControllistRepositoriesOperationResponse ¶
type SourceControllistRepositoriesOperationResponse struct { HttpResponse *http.Response Model *[]Repo // contains filtered or unexported fields }
func (SourceControllistRepositoriesOperationResponse) HasMore ¶
func (r SourceControllistRepositoriesOperationResponse) HasMore() bool
func (SourceControllistRepositoriesOperationResponse) LoadMore ¶
func (r SourceControllistRepositoriesOperationResponse) LoadMore(ctx context.Context) (resp SourceControllistRepositoriesOperationResponse, err error)
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID