Documentation ¶
Index ¶
- func PossibleValuesForRepositoryAccessKind() []string
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type Repo
- type RepoOperationPredicate
- type RepositoriesClient
- func (c RepositoriesClient) SourceControllistRepositories(ctx context.Context, id WorkspaceId, input RepositoryAccessProperties) (result SourceControllistRepositoriesOperationResponse, err error)
- func (c RepositoriesClient) SourceControllistRepositoriesComplete(ctx context.Context, id WorkspaceId, input RepositoryAccessProperties) (SourceControllistRepositoriesCompleteResult, error)
- func (c RepositoriesClient) SourceControllistRepositoriesCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, input RepositoryAccessProperties, ...) (result SourceControllistRepositoriesCompleteResult, err error)
- type RepositoryAccess
- type RepositoryAccessKind
- type RepositoryAccessObject
- type RepositoryAccessProperties
- type SourceControllistRepositoriesCompleteResult
- type SourceControllistRepositoriesOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRepositoryAccessKind ¶
func PossibleValuesForRepositoryAccessKind() []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 ¶
type RepositoriesClient struct {
Client *resourcemanager.Client
}
func NewRepositoriesClientWithBaseURI ¶
func NewRepositoriesClientWithBaseURI(sdkApi sdkEnv.Api) (*RepositoriesClient, error)
func (RepositoriesClient) SourceControllistRepositories ¶
func (c RepositoriesClient) SourceControllistRepositories(ctx context.Context, id WorkspaceId, input RepositoryAccessProperties) (result SourceControllistRepositoriesOperationResponse, err error)
SourceControllistRepositories ...
func (RepositoriesClient) SourceControllistRepositoriesComplete ¶
func (c RepositoriesClient) SourceControllistRepositoriesComplete(ctx context.Context, id WorkspaceId, input RepositoryAccessProperties) (SourceControllistRepositoriesCompleteResult, error)
SourceControllistRepositoriesComplete retrieves all the results into a single object
func (RepositoriesClient) SourceControllistRepositoriesCompleteMatchingPredicate ¶
func (c RepositoriesClient) SourceControllistRepositoriesCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, input RepositoryAccessProperties, predicate RepoOperationPredicate) (result SourceControllistRepositoriesCompleteResult, err error)
SourceControllistRepositoriesCompleteMatchingPredicate retrieves all the results and then applies the predicate
type RepositoryAccess ¶
type RepositoryAccessKind ¶
type RepositoryAccessKind string
const ( RepositoryAccessKindApp RepositoryAccessKind = "App" RepositoryAccessKindOAuth RepositoryAccessKind = "OAuth" RepositoryAccessKindPAT RepositoryAccessKind = "PAT" )
func (*RepositoryAccessKind) UnmarshalJSON ¶
func (s *RepositoryAccessKind) UnmarshalJSON(bytes []byte) error
type RepositoryAccessObject ¶
type RepositoryAccessObject struct {
RepositoryAccess RepositoryAccess `json:"repositoryAccess"`
}
type RepositoryAccessProperties ¶
type RepositoryAccessProperties struct {
Properties RepositoryAccessObject `json:"properties"`
}
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) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
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