azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces Index | Files | Directories

package devspaces

import "github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces"

Package devspaces implements the Azure ARM Devspaces service API version 2019-04-01.

Dev Spaces Client

Index

Package Files

client.go containerhostmappings.go controllers.go models.go operations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Devspaces
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Devspaces.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicOrchestratorSpecificConnectionDetails Uses

type BasicOrchestratorSpecificConnectionDetails interface {
    AsKubernetesConnectionDetails() (*KubernetesConnectionDetails, bool)
    AsOrchestratorSpecificConnectionDetails() (*OrchestratorSpecificConnectionDetails, bool)
}

BasicOrchestratorSpecificConnectionDetails base class for types that supply values used to connect to container orchestrators

type ContainerHostMapping Uses

type ContainerHostMapping struct {
    autorest.Response `json:"-"`
    // ContainerHostResourceID - ARM ID of the Container Host resource
    ContainerHostResourceID *string `json:"containerHostResourceId,omitempty"`
    // MappedControllerResourceID - READ-ONLY; ARM ID of the mapped Controller resource
    MappedControllerResourceID *string `json:"mappedControllerResourceId,omitempty"`
}

ContainerHostMapping container host mapping object specifying the Container host resource ID and its associated Controller resource.

type ContainerHostMappingsClient Uses

type ContainerHostMappingsClient struct {
    BaseClient
}

ContainerHostMappingsClient is the dev Spaces Client

func NewContainerHostMappingsClient Uses

func NewContainerHostMappingsClient(subscriptionID string) ContainerHostMappingsClient

NewContainerHostMappingsClient creates an instance of the ContainerHostMappingsClient client.

func NewContainerHostMappingsClientWithBaseURI Uses

func NewContainerHostMappingsClientWithBaseURI(baseURI string, subscriptionID string) ContainerHostMappingsClient

NewContainerHostMappingsClientWithBaseURI creates an instance of the ContainerHostMappingsClient client.

func (ContainerHostMappingsClient) GetContainerHostMapping Uses

func (client ContainerHostMappingsClient) GetContainerHostMapping(ctx context.Context, containerHostMapping ContainerHostMapping, resourceGroupName string, location string) (result ContainerHostMapping, err error)

GetContainerHostMapping sends the get container host mapping request. Parameters: resourceGroupName - resource group to which the resource belongs. location - location of the container host.

func (ContainerHostMappingsClient) GetContainerHostMappingPreparer Uses

func (client ContainerHostMappingsClient) GetContainerHostMappingPreparer(ctx context.Context, containerHostMapping ContainerHostMapping, resourceGroupName string, location string) (*http.Request, error)

GetContainerHostMappingPreparer prepares the GetContainerHostMapping request.

func (ContainerHostMappingsClient) GetContainerHostMappingResponder Uses

func (client ContainerHostMappingsClient) GetContainerHostMappingResponder(resp *http.Response) (result ContainerHostMapping, err error)

GetContainerHostMappingResponder handles the response to the GetContainerHostMapping request. The method always closes the http.Response Body.

func (ContainerHostMappingsClient) GetContainerHostMappingSender Uses

func (client ContainerHostMappingsClient) GetContainerHostMappingSender(req *http.Request) (*http.Response, error)

GetContainerHostMappingSender sends the GetContainerHostMapping request. The method will close the http.Response Body if it receives an error.

type Controller Uses

type Controller struct {
    autorest.Response     `json:"-"`
    *ControllerProperties `json:"properties,omitempty"`
    Sku                   *Sku `json:"sku,omitempty"`
    // Tags - Tags for the Azure resource.
    Tags map[string]*string `json:"tags"`
    // Location - Region where the Azure resource is located.
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

Controller ...

func (Controller) MarshalJSON Uses

func (c Controller) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Controller.

func (*Controller) UnmarshalJSON Uses

func (c *Controller) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Controller struct.

type ControllerConnectionDetails Uses

type ControllerConnectionDetails struct {
    OrchestratorSpecificConnectionDetails BasicOrchestratorSpecificConnectionDetails `json:"orchestratorSpecificConnectionDetails,omitempty"`
}

ControllerConnectionDetails ...

func (*ControllerConnectionDetails) UnmarshalJSON Uses

func (ccd *ControllerConnectionDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ControllerConnectionDetails struct.

type ControllerConnectionDetailsList Uses

type ControllerConnectionDetailsList struct {
    autorest.Response `json:"-"`
    // ConnectionDetailsList - List of Azure Dev Spaces Controller connection details.
    ConnectionDetailsList *[]ControllerConnectionDetails `json:"connectionDetailsList,omitempty"`
}

ControllerConnectionDetailsList ...

type ControllerList Uses

type ControllerList struct {
    autorest.Response `json:"-"`
    // Value - List of Azure Dev Spaces Controllers.
    Value *[]Controller `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.
    NextLink *string `json:"nextLink,omitempty"`
}

ControllerList ...

func (ControllerList) IsEmpty Uses

func (cl ControllerList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ControllerListIterator Uses

type ControllerListIterator struct {
    // contains filtered or unexported fields
}

ControllerListIterator provides access to a complete listing of Controller values.

func NewControllerListIterator Uses

func NewControllerListIterator(page ControllerListPage) ControllerListIterator

Creates a new instance of the ControllerListIterator type.

func (*ControllerListIterator) Next Uses

func (iter *ControllerListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ControllerListIterator) NextWithContext Uses

func (iter *ControllerListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ControllerListIterator) NotDone Uses

func (iter ControllerListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ControllerListIterator) Response Uses

func (iter ControllerListIterator) Response() ControllerList

Response returns the raw server response from the last page request.

func (ControllerListIterator) Value Uses

func (iter ControllerListIterator) Value() Controller

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ControllerListPage Uses

type ControllerListPage struct {
    // contains filtered or unexported fields
}

ControllerListPage contains a page of Controller values.

func NewControllerListPage Uses

func NewControllerListPage(getNextPage func(context.Context, ControllerList) (ControllerList, error)) ControllerListPage

Creates a new instance of the ControllerListPage type.

func (*ControllerListPage) Next Uses

func (page *ControllerListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ControllerListPage) NextWithContext Uses

func (page *ControllerListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ControllerListPage) NotDone Uses

func (page ControllerListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ControllerListPage) Response Uses

func (page ControllerListPage) Response() ControllerList

Response returns the raw server response from the last page request.

func (ControllerListPage) Values Uses

func (page ControllerListPage) Values() []Controller

Values returns the slice of values for the current page or nil if there are no values.

type ControllerProperties Uses

type ControllerProperties struct {
    // ProvisioningState - READ-ONLY; Provisioning state of the Azure Dev Spaces Controller. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Updating', 'Creating', 'Deleting', 'Deleted'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // HostSuffix - READ-ONLY; DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
    HostSuffix *string `json:"hostSuffix,omitempty"`
    // DataPlaneFqdn - READ-ONLY; DNS name for accessing DataPlane services
    DataPlaneFqdn *string `json:"dataPlaneFqdn,omitempty"`
    // TargetContainerHostResourceID - Resource ID of the target container host
    TargetContainerHostResourceID *string `json:"targetContainerHostResourceId,omitempty"`
    // TargetContainerHostCredentialsBase64 - Credentials of the target container host (base64).
    TargetContainerHostCredentialsBase64 *string `json:"targetContainerHostCredentialsBase64,omitempty"`
}

ControllerProperties ...

type ControllerUpdateParameters Uses

type ControllerUpdateParameters struct {
    // Tags - Tags for the Azure Dev Spaces Controller.
    Tags                                  map[string]*string `json:"tags"`
    *ControllerUpdateParametersProperties `json:"properties,omitempty"`
}

ControllerUpdateParameters parameters for updating an Azure Dev Spaces Controller.

func (ControllerUpdateParameters) MarshalJSON Uses

func (cup ControllerUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ControllerUpdateParameters.

func (*ControllerUpdateParameters) UnmarshalJSON Uses

func (cup *ControllerUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ControllerUpdateParameters struct.

type ControllerUpdateParametersProperties Uses

type ControllerUpdateParametersProperties struct {
    // TargetContainerHostCredentialsBase64 - Credentials of the target container host (base64).
    TargetContainerHostCredentialsBase64 *string `json:"targetContainerHostCredentialsBase64,omitempty"`
}

ControllerUpdateParametersProperties ...

type ControllersClient Uses

type ControllersClient struct {
    BaseClient
}

ControllersClient is the dev Spaces Client

func NewControllersClient Uses

func NewControllersClient(subscriptionID string) ControllersClient

NewControllersClient creates an instance of the ControllersClient client.

func NewControllersClientWithBaseURI Uses

func NewControllersClientWithBaseURI(baseURI string, subscriptionID string) ControllersClient

NewControllersClientWithBaseURI creates an instance of the ControllersClient client.

func (ControllersClient) Create Uses

func (client ControllersClient) Create(ctx context.Context, resourceGroupName string, name string, controller Controller) (result ControllersCreateFuture, err error)

Create creates an Azure Dev Spaces Controller with the specified create parameters. Parameters: resourceGroupName - resource group to which the resource belongs. name - name of the resource. controller - controller create parameters.

func (ControllersClient) CreatePreparer Uses

func (client ControllersClient) CreatePreparer(ctx context.Context, resourceGroupName string, name string, controller Controller) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ControllersClient) CreateResponder Uses

func (client ControllersClient) CreateResponder(resp *http.Response) (result Controller, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ControllersClient) CreateSender Uses

func (client ControllersClient) CreateSender(req *http.Request) (future ControllersCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ControllersClient) Delete Uses

func (client ControllersClient) Delete(ctx context.Context, resourceGroupName string, name string) (result ControllersDeleteFuture, err error)

Delete deletes an existing Azure Dev Spaces Controller. Parameters: resourceGroupName - resource group to which the resource belongs. name - name of the resource.

func (ControllersClient) DeletePreparer Uses

func (client ControllersClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ControllersClient) DeleteResponder Uses

func (client ControllersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ControllersClient) DeleteSender Uses

func (client ControllersClient) DeleteSender(req *http.Request) (future ControllersDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ControllersClient) Get Uses

func (client ControllersClient) Get(ctx context.Context, resourceGroupName string, name string) (result Controller, err error)

Get gets the properties for an Azure Dev Spaces Controller. Parameters: resourceGroupName - resource group to which the resource belongs. name - name of the resource.

func (ControllersClient) GetPreparer Uses

func (client ControllersClient) GetPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ControllersClient) GetResponder Uses

func (client ControllersClient) GetResponder(resp *http.Response) (result Controller, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ControllersClient) GetSender Uses

func (client ControllersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ControllersClient) List Uses

func (client ControllersClient) List(ctx context.Context) (result ControllerListPage, err error)

List lists all the Azure Dev Spaces Controllers with their properties in the subscription.

func (ControllersClient) ListByResourceGroup Uses

func (client ControllersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ControllerListPage, err error)

ListByResourceGroup lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription. Parameters: resourceGroupName - resource group to which the resource belongs.

func (ControllersClient) ListByResourceGroupComplete Uses

func (client ControllersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ControllerListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ControllersClient) ListByResourceGroupPreparer Uses

func (client ControllersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ControllersClient) ListByResourceGroupResponder Uses

func (client ControllersClient) ListByResourceGroupResponder(resp *http.Response) (result ControllerList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ControllersClient) ListByResourceGroupSender Uses

func (client ControllersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ControllersClient) ListComplete Uses

func (client ControllersClient) ListComplete(ctx context.Context) (result ControllerListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ControllersClient) ListConnectionDetails Uses

func (client ControllersClient) ListConnectionDetails(ctx context.Context, resourceGroupName string, name string, listConnectionDetailsParameters ListConnectionDetailsParameters) (result ControllerConnectionDetailsList, err error)

ListConnectionDetails lists connection details for the underlying container resources of an Azure Dev Spaces Controller. Parameters: resourceGroupName - resource group to which the resource belongs. name - name of the resource. listConnectionDetailsParameters - parameters for listing connection details of Azure Dev Spaces Controller.

func (ControllersClient) ListConnectionDetailsPreparer Uses

func (client ControllersClient) ListConnectionDetailsPreparer(ctx context.Context, resourceGroupName string, name string, listConnectionDetailsParameters ListConnectionDetailsParameters) (*http.Request, error)

ListConnectionDetailsPreparer prepares the ListConnectionDetails request.

func (ControllersClient) ListConnectionDetailsResponder Uses

func (client ControllersClient) ListConnectionDetailsResponder(resp *http.Response) (result ControllerConnectionDetailsList, err error)

ListConnectionDetailsResponder handles the response to the ListConnectionDetails request. The method always closes the http.Response Body.

func (ControllersClient) ListConnectionDetailsSender Uses

func (client ControllersClient) ListConnectionDetailsSender(req *http.Request) (*http.Response, error)

ListConnectionDetailsSender sends the ListConnectionDetails request. The method will close the http.Response Body if it receives an error.

func (ControllersClient) ListPreparer Uses

func (client ControllersClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ControllersClient) ListResponder Uses

func (client ControllersClient) ListResponder(resp *http.Response) (result ControllerList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ControllersClient) ListSender Uses

func (client ControllersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ControllersClient) Update Uses

func (client ControllersClient) Update(ctx context.Context, resourceGroupName string, name string, controllerUpdateParameters ControllerUpdateParameters) (result Controller, err error)

Update updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters. Parameters: resourceGroupName - resource group to which the resource belongs. name - name of the resource. controllerUpdateParameters - parameters for updating the Azure Dev Spaces Controller.

func (ControllersClient) UpdatePreparer Uses

func (client ControllersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, controllerUpdateParameters ControllerUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ControllersClient) UpdateResponder Uses

func (client ControllersClient) UpdateResponder(resp *http.Response) (result Controller, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ControllersClient) UpdateSender Uses

func (client ControllersClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ControllersCreateFuture Uses

type ControllersCreateFuture struct {
    azure.Future
}

ControllersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ControllersCreateFuture) Result Uses

func (future *ControllersCreateFuture) Result(client ControllersClient) (c Controller, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ControllersDeleteFuture Uses

type ControllersDeleteFuture struct {
    azure.Future
}

ControllersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ControllersDeleteFuture) Result Uses

func (future *ControllersDeleteFuture) Result(client ControllersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ErrorDetails Uses

type ErrorDetails struct {
    // Code - READ-ONLY; Status code for the error.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; Error message describing the error in detail.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The target of the particular error.
    Target *string `json:"target,omitempty"`
}

ErrorDetails ...

type ErrorResponse Uses

type ErrorResponse struct {
    // Error - The details of the error.
    Error *ErrorDetails `json:"error,omitempty"`
}

ErrorResponse error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

type InstanceType Uses

type InstanceType string

InstanceType enumerates the values for instance type.

const (
    // InstanceTypeKubernetes ...
    InstanceTypeKubernetes InstanceType = "Kubernetes"
    // InstanceTypeOrchestratorSpecificConnectionDetails ...
    InstanceTypeOrchestratorSpecificConnectionDetails InstanceType = "OrchestratorSpecificConnectionDetails"
)

func PossibleInstanceTypeValues Uses

func PossibleInstanceTypeValues() []InstanceType

PossibleInstanceTypeValues returns an array of possible values for the InstanceType const type.

type KubernetesConnectionDetails Uses

type KubernetesConnectionDetails struct {
    // KubeConfig - Gets the kubeconfig for the cluster.
    KubeConfig *string `json:"kubeConfig,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeOrchestratorSpecificConnectionDetails', 'InstanceTypeKubernetes'
    InstanceType InstanceType `json:"instanceType,omitempty"`
}

KubernetesConnectionDetails contains information used to connect to a Kubernetes cluster

func (KubernetesConnectionDetails) AsBasicOrchestratorSpecificConnectionDetails Uses

func (kcd KubernetesConnectionDetails) AsBasicOrchestratorSpecificConnectionDetails() (BasicOrchestratorSpecificConnectionDetails, bool)

AsBasicOrchestratorSpecificConnectionDetails is the BasicOrchestratorSpecificConnectionDetails implementation for KubernetesConnectionDetails.

func (KubernetesConnectionDetails) AsKubernetesConnectionDetails Uses

func (kcd KubernetesConnectionDetails) AsKubernetesConnectionDetails() (*KubernetesConnectionDetails, bool)

AsKubernetesConnectionDetails is the BasicOrchestratorSpecificConnectionDetails implementation for KubernetesConnectionDetails.

func (KubernetesConnectionDetails) AsOrchestratorSpecificConnectionDetails Uses

func (kcd KubernetesConnectionDetails) AsOrchestratorSpecificConnectionDetails() (*OrchestratorSpecificConnectionDetails, bool)

AsOrchestratorSpecificConnectionDetails is the BasicOrchestratorSpecificConnectionDetails implementation for KubernetesConnectionDetails.

func (KubernetesConnectionDetails) MarshalJSON Uses

func (kcd KubernetesConnectionDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KubernetesConnectionDetails.

type ListConnectionDetailsParameters Uses

type ListConnectionDetailsParameters struct {
    // TargetContainerHostResourceID - Resource ID of the target container host mapped to the Azure Dev Spaces Controller.
    TargetContainerHostResourceID *string `json:"targetContainerHostResourceId,omitempty"`
}

ListConnectionDetailsParameters parameters for listing connection details of an Azure Dev Spaces Controller.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the dev Spaces Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result ResourceProviderOperationListPage, err error)

List lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result ResourceProviderOperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result ResourceProviderOperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OrchestratorSpecificConnectionDetails Uses

type OrchestratorSpecificConnectionDetails struct {
    // InstanceType - Possible values include: 'InstanceTypeOrchestratorSpecificConnectionDetails', 'InstanceTypeKubernetes'
    InstanceType InstanceType `json:"instanceType,omitempty"`
}

OrchestratorSpecificConnectionDetails base class for types that supply values used to connect to container orchestrators

func (OrchestratorSpecificConnectionDetails) AsBasicOrchestratorSpecificConnectionDetails Uses

func (oscd OrchestratorSpecificConnectionDetails) AsBasicOrchestratorSpecificConnectionDetails() (BasicOrchestratorSpecificConnectionDetails, bool)

AsBasicOrchestratorSpecificConnectionDetails is the BasicOrchestratorSpecificConnectionDetails implementation for OrchestratorSpecificConnectionDetails.

func (OrchestratorSpecificConnectionDetails) AsKubernetesConnectionDetails Uses

func (oscd OrchestratorSpecificConnectionDetails) AsKubernetesConnectionDetails() (*KubernetesConnectionDetails, bool)

AsKubernetesConnectionDetails is the BasicOrchestratorSpecificConnectionDetails implementation for OrchestratorSpecificConnectionDetails.

func (OrchestratorSpecificConnectionDetails) AsOrchestratorSpecificConnectionDetails Uses

func (oscd OrchestratorSpecificConnectionDetails) AsOrchestratorSpecificConnectionDetails() (*OrchestratorSpecificConnectionDetails, bool)

AsOrchestratorSpecificConnectionDetails is the BasicOrchestratorSpecificConnectionDetails implementation for OrchestratorSpecificConnectionDetails.

func (OrchestratorSpecificConnectionDetails) MarshalJSON Uses

func (oscd OrchestratorSpecificConnectionDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrchestratorSpecificConnectionDetails.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Canceled ...
    Canceled ProvisioningState = "Canceled"
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleted ...
    Deleted ProvisioningState = "Deleted"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

Resource an Azure resource.

type ResourceProviderOperationDefinition Uses

type ResourceProviderOperationDefinition struct {
    // Name - Resource provider operation name.
    Name    *string                           `json:"name,omitempty"`
    Display *ResourceProviderOperationDisplay `json:"display,omitempty"`
}

ResourceProviderOperationDefinition ...

type ResourceProviderOperationDisplay Uses

type ResourceProviderOperationDisplay struct {
    // Provider - Name of the resource provider.
    Provider *string `json:"provider,omitempty"`
    // Resource - Name of the resource type.
    Resource *string `json:"resource,omitempty"`
    // Operation - Name of the resource provider operation.
    Operation *string `json:"operation,omitempty"`
    // Description - Description of the resource provider operation.
    Description *string `json:"description,omitempty"`
}

ResourceProviderOperationDisplay ...

type ResourceProviderOperationList Uses

type ResourceProviderOperationList struct {
    autorest.Response `json:"-"`
    // Value - Resource provider operations list.
    Value *[]ResourceProviderOperationDefinition `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI that can be used to request the next page for list of Azure operations.
    NextLink *string `json:"nextLink,omitempty"`
}

ResourceProviderOperationList ...

func (ResourceProviderOperationList) IsEmpty Uses

func (rpol ResourceProviderOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResourceProviderOperationListIterator Uses

type ResourceProviderOperationListIterator struct {
    // contains filtered or unexported fields
}

ResourceProviderOperationListIterator provides access to a complete listing of ResourceProviderOperationDefinition values.

func NewResourceProviderOperationListIterator Uses

func NewResourceProviderOperationListIterator(page ResourceProviderOperationListPage) ResourceProviderOperationListIterator

Creates a new instance of the ResourceProviderOperationListIterator type.

func (*ResourceProviderOperationListIterator) Next Uses

func (iter *ResourceProviderOperationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListIterator) NextWithContext Uses

func (iter *ResourceProviderOperationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResourceProviderOperationListIterator) NotDone Uses

func (iter ResourceProviderOperationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceProviderOperationListIterator) Response Uses

func (iter ResourceProviderOperationListIterator) Response() ResourceProviderOperationList

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListIterator) Value Uses

func (iter ResourceProviderOperationListIterator) Value() ResourceProviderOperationDefinition

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceProviderOperationListPage Uses

type ResourceProviderOperationListPage struct {
    // contains filtered or unexported fields
}

ResourceProviderOperationListPage contains a page of ResourceProviderOperationDefinition values.

func NewResourceProviderOperationListPage Uses

func NewResourceProviderOperationListPage(getNextPage func(context.Context, ResourceProviderOperationList) (ResourceProviderOperationList, error)) ResourceProviderOperationListPage

Creates a new instance of the ResourceProviderOperationListPage type.

func (*ResourceProviderOperationListPage) Next Uses

func (page *ResourceProviderOperationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListPage) NextWithContext Uses

func (page *ResourceProviderOperationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResourceProviderOperationListPage) NotDone Uses

func (page ResourceProviderOperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceProviderOperationListPage) Response Uses

func (page ResourceProviderOperationListPage) Response() ResourceProviderOperationList

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListPage) Values Uses

func (page ResourceProviderOperationListPage) Values() []ResourceProviderOperationDefinition

Values returns the slice of values for the current page or nil if there are no values.

type Sku Uses

type Sku struct {
    // Name - The name of the SKU for Azure Dev Spaces Controller.
    Name *string `json:"name,omitempty"`
    // Tier - The tier of the SKU for Azure Dev Spaces Controller. Possible values include: 'Standard'
    Tier SkuTier `json:"tier,omitempty"`
}

Sku model representing SKU for Azure Dev Spaces Controller.

type SkuTier Uses

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
    // Standard ...
    Standard SkuTier = "Standard"
)

func PossibleSkuTierValues Uses

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type TrackedResource Uses

type TrackedResource struct {
    // Tags - Tags for the Azure resource.
    Tags map[string]*string `json:"tags"`
    // Location - Region where the Azure resource is located.
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource.

func (TrackedResource) MarshalJSON Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

PathSynopsis
devspacesapi

Package devspaces imports 9 packages (graph) and is imported by 3 packages. Updated 2019-08-16. Refresh now. Tools for package owners.