codecontainer

package
v0.20220623.1111642 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCodeID

func ValidateCodeID(input interface{}, key string) (warnings []string, errors []error)

ValidateCodeID checks that 'input' can be parsed as a Code ID

func ValidateWorkspaceID

func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID

Types

type AssetContainer

type AssetContainer struct {
	Description   *string            `json:"description,omitempty"`
	IsArchived    *bool              `json:"isArchived,omitempty"`
	LatestVersion *string            `json:"latestVersion,omitempty"`
	NextVersion   *string            `json:"nextVersion,omitempty"`
	Properties    *map[string]string `json:"properties,omitempty"`
	Tags          *map[string]string `json:"tags,omitempty"`
}

type CodeContainerClient

type CodeContainerClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewCodeContainerClientWithBaseURI

func NewCodeContainerClientWithBaseURI(endpoint string) CodeContainerClient

func (CodeContainerClient) CreateOrUpdate

CreateOrUpdate ...

func (CodeContainerClient) Delete

func (c CodeContainerClient) Delete(ctx context.Context, id CodeId) (result DeleteOperationResponse, err error)

Delete ...

func (CodeContainerClient) Get

func (c CodeContainerClient) Get(ctx context.Context, id CodeId) (result GetOperationResponse, err error)

Get ...

func (CodeContainerClient) List

List ...

func (CodeContainerClient) ListComplete

ListComplete retrieves all of the results into a single object

func (CodeContainerClient) ListCompleteMatchingPredicate

func (c CodeContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate CodeContainerResourceOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type CodeContainerResource

type CodeContainerResource struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties AssetContainer         `json:"properties"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type CodeContainerResourceOperationPredicate

type CodeContainerResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (CodeContainerResourceOperationPredicate) Matches

type CodeId

type CodeId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	Name              string
}

CodeId is a struct representing the Resource ID for a Code

func NewCodeID

func NewCodeID(subscriptionId string, resourceGroupName string, workspaceName string, name string) CodeId

NewCodeID returns a new CodeId struct

func ParseCodeID

func ParseCodeID(input string) (*CodeId, error)

ParseCodeID parses 'input' into a CodeId

func ParseCodeIDInsensitively

func ParseCodeIDInsensitively(input string) (*CodeId, error)

ParseCodeIDInsensitively parses 'input' case-insensitively into a CodeId note: this method should only be used for API response data and not user input

func (CodeId) ID

func (id CodeId) ID() string

ID returns the formatted Code ID

func (CodeId) Segments

func (id CodeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Code ID

func (CodeId) String

func (id CodeId) String() string

String returns a human-readable description of this Code ID

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *CodeContainerResource
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *CodeContainerResource
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []CodeContainerResource
}

type ListOperationOptions

type ListOperationOptions struct {
	Skip *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]CodeContainerResource
	// 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 WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
}

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) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL