azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/devops/mgmt/2019-07-01-preview/devops Index | Files | Directories

package devops

import "github.com/Azure/azure-sdk-for-go/services/preview/devops/mgmt/2019-07-01-preview/devops"

Package devops implements the Azure ARM Devops service API version 2019-07-01-preview.

Azure DevOps Resource Provider

Index

Package Files

client.go models.go operations.go pipelines.go pipelinetemplatedefinitions.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Devops
    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 Authorization Uses

type Authorization struct {
    // AuthorizationType - Type of authorization.
    AuthorizationType *string `json:"authorizationType,omitempty"`
    // Parameters - Authorization parameters corresponding to the authorization type.
    Parameters map[string]*string `json:"parameters"`
}

Authorization authorization info used to access a resource (like code repository).

func (Authorization) MarshalJSON Uses

func (a Authorization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Authorization.

type BaseClient Uses

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

BaseClient is the base client for Devops.

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 BootstrapConfiguration Uses

type BootstrapConfiguration struct {
    // Repository - Repository containing the source code for the pipeline.
    Repository *CodeRepository `json:"repository,omitempty"`
    // Template - Template used to bootstrap the pipeline.
    Template *PipelineTemplate `json:"template,omitempty"`
}

BootstrapConfiguration configuration used to bootstrap a Pipeline.

type CloudError Uses

type CloudError struct {
    // Error - Details of the error from the Pipelines Resource Provider.
    Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error response from the Pipelines Resource Provider.

type CloudErrorBody Uses

type CloudErrorBody struct {
    // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    Code *string `json:"code,omitempty"`
    // Message - A message describing the error, intended to be suitable for display in a user interface.
    Message *string `json:"message,omitempty"`
    // Target - The target of the particular error. For example, the name of the property in error or the method where the error occurred.
    Target *string `json:"target,omitempty"`
    // Details - A list of additional details about the error.
    Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody an error response from the Pipelines Resource Provider.

type CodeRepository Uses

type CodeRepository struct {
    // RepositoryType - Type of code repository. Possible values include: 'GitHub', 'VstsGit'
    RepositoryType CodeRepositoryType `json:"repositoryType,omitempty"`
    // ID - Unique immutable identifier of the code repository.
    ID  *string `json:"id,omitempty"`
    // DefaultBranch - Default branch used to configure Continuous Integration (CI) in the pipeline.
    DefaultBranch *string `json:"defaultBranch,omitempty"`
    // Authorization - Authorization info to access the code repository.
    Authorization *Authorization `json:"authorization,omitempty"`
    // Properties - Repository-specific properties.
    Properties map[string]*string `json:"properties"`
}

CodeRepository repository containing the source code for a pipeline.

func (CodeRepository) MarshalJSON Uses

func (cr CodeRepository) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CodeRepository.

type CodeRepositoryType Uses

type CodeRepositoryType string

CodeRepositoryType enumerates the values for code repository type.

const (
    // GitHub ...
    GitHub CodeRepositoryType = "gitHub"
    // VstsGit ...
    VstsGit CodeRepositoryType = "vstsGit"
)

func PossibleCodeRepositoryTypeValues Uses

func PossibleCodeRepositoryTypeValues() []CodeRepositoryType

PossibleCodeRepositoryTypeValues returns an array of possible values for the CodeRepositoryType const type.

type InputDataType Uses

type InputDataType string

InputDataType enumerates the values for input data type.

const (
    // InputDataTypeAuthorization ...
    InputDataTypeAuthorization InputDataType = "Authorization"
    // InputDataTypeBool ...
    InputDataTypeBool InputDataType = "Bool"
    // InputDataTypeInt ...
    InputDataTypeInt InputDataType = "Int"
    // InputDataTypeSecureString ...
    InputDataTypeSecureString InputDataType = "SecureString"
    // InputDataTypeString ...
    InputDataTypeString InputDataType = "String"
)

func PossibleInputDataTypeValues Uses

func PossibleInputDataTypeValues() []InputDataType

PossibleInputDataTypeValues returns an array of possible values for the InputDataType const type.

type InputDescriptor Uses

type InputDescriptor struct {
    // ID - Identifier of the input parameter.
    ID  *string `json:"id,omitempty"`
    // Description - Description of the input parameter.
    Description *string `json:"description,omitempty"`
    // Type - Data type of the value of the input parameter. Possible values include: 'InputDataTypeString', 'InputDataTypeSecureString', 'InputDataTypeInt', 'InputDataTypeBool', 'InputDataTypeAuthorization'
    Type InputDataType `json:"type,omitempty"`
    // PossibleValues - List of possible values for the input parameter.
    PossibleValues *[]InputValue `json:"possibleValues,omitempty"`
}

InputDescriptor representation of a pipeline template input parameter.

type InputValue Uses

type InputValue struct {
    // Value - Value of an input parameter.
    Value *string `json:"value,omitempty"`
    // DisplayValue - Description of the input parameter value.
    DisplayValue *string `json:"displayValue,omitempty"`
}

InputValue representation of a pipeline template input parameter value.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; Name of the operation.
    Name *string `json:"name,omitempty"`
    // IsDataAction - Indicates whether the operation applies to data-plane.
    IsDataAction *string `json:"isDataAction,omitempty"`
    // OperationDisplayValue - Display information of the operation.
    *OperationDisplayValue `json:"display,omitempty"`
}

Operation properties of an Operation.

func (Operation) MarshalJSON Uses

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

func (*Operation) UnmarshalJSON Uses

func (o *Operation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Operation struct.

type OperationDisplayValue Uses

type OperationDisplayValue struct {
    // Operation - READ-ONLY; Friendly name of the operation.
    Operation *string `json:"operation,omitempty"`
    // Resource - READ-ONLY; Friendly name of the resource type the operation applies to.
    Resource *string `json:"resource,omitempty"`
    // Description - READ-ONLY; Friendly description of the operation.
    Description *string `json:"description,omitempty"`
    // Provider - READ-ONLY; Friendly name of the resource provider.
    Provider *string `json:"provider,omitempty"`
}

OperationDisplayValue display information of an operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of operations supported by Microsoft.DevOps resource provider.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - The URL to get the next set of operations, if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of a request to list all operations supported by Microsoft.DevOps resource provider.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) 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 (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) 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 (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) 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 (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) 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 (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure DevOps Resource Provider

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 OperationListResultPage, err error)

List lists all the operations supported by Microsoft.DevOps resource provider.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, 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 OperationListResult, 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 OrganizationReference Uses

type OrganizationReference struct {
    // ID - READ-ONLY; Unique immutable identifier for the Azure DevOps Organization.
    ID  *string `json:"id,omitempty"`
    // Name - Name of the Azure DevOps Organization.
    Name *string `json:"name,omitempty"`
}

OrganizationReference reference to an Azure DevOps Organization.

type Pipeline Uses

type Pipeline struct {
    autorest.Response `json:"-"`
    // PipelineProperties - Custom properties of the Pipeline.
    *PipelineProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource Type
    Type *string `json:"type,omitempty"`
    // Tags - Resource Tags
    Tags map[string]*string `json:"tags"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; Resource Name
    Name *string `json:"name,omitempty"`
}

Pipeline azure DevOps Pipeline used to configure Continuous Integration (CI) & Continuous Delivery (CD) for Azure resources.

func (Pipeline) MarshalJSON Uses

func (p Pipeline) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Pipeline.

func (*Pipeline) UnmarshalJSON Uses

func (p *Pipeline) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Pipeline struct.

type PipelineListResult Uses

type PipelineListResult struct {
    autorest.Response `json:"-"`
    // Value - List of pipelines.
    Value *[]Pipeline `json:"value,omitempty"`
    // NextLink - URL to get the next set of Pipelines, if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

PipelineListResult result of a request to list all Azure Pipelines under a given scope.

func (PipelineListResult) IsEmpty Uses

func (plr PipelineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PipelineListResultIterator Uses

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

PipelineListResultIterator provides access to a complete listing of Pipeline values.

func NewPipelineListResultIterator Uses

func NewPipelineListResultIterator(page PipelineListResultPage) PipelineListResultIterator

Creates a new instance of the PipelineListResultIterator type.

func (*PipelineListResultIterator) Next Uses

func (iter *PipelineListResultIterator) 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 (*PipelineListResultIterator) NextWithContext Uses

func (iter *PipelineListResultIterator) 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 (PipelineListResultIterator) NotDone Uses

func (iter PipelineListResultIterator) NotDone() bool

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

func (PipelineListResultIterator) Response Uses

func (iter PipelineListResultIterator) Response() PipelineListResult

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

func (PipelineListResultIterator) Value Uses

func (iter PipelineListResultIterator) Value() Pipeline

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

type PipelineListResultPage Uses

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

PipelineListResultPage contains a page of Pipeline values.

func NewPipelineListResultPage Uses

func NewPipelineListResultPage(getNextPage func(context.Context, PipelineListResult) (PipelineListResult, error)) PipelineListResultPage

Creates a new instance of the PipelineListResultPage type.

func (*PipelineListResultPage) Next Uses

func (page *PipelineListResultPage) 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 (*PipelineListResultPage) NextWithContext Uses

func (page *PipelineListResultPage) 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 (PipelineListResultPage) NotDone Uses

func (page PipelineListResultPage) NotDone() bool

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

func (PipelineListResultPage) Response Uses

func (page PipelineListResultPage) Response() PipelineListResult

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

func (PipelineListResultPage) Values Uses

func (page PipelineListResultPage) Values() []Pipeline

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

type PipelineProperties Uses

type PipelineProperties struct {
    // PipelineID - READ-ONLY; Unique identifier of the Azure Pipeline within the Azure DevOps Project.
    PipelineID *int32 `json:"pipelineId,omitempty"`
    // Organization - Reference to the Azure DevOps Organization containing the Pipeline.
    Organization *OrganizationReference `json:"organization,omitempty"`
    // Project - Reference to the Azure DevOps Project containing the Pipeline.
    Project *ProjectReference `json:"project,omitempty"`
    // BootstrapConfiguration - Configuration used to bootstrap the Pipeline.
    BootstrapConfiguration *BootstrapConfiguration `json:"bootstrapConfiguration,omitempty"`
}

PipelineProperties custom properties of a Pipeline.

type PipelineTemplate Uses

type PipelineTemplate struct {
    // ID - Unique identifier of the pipeline template.
    ID  *string `json:"id,omitempty"`
    // Parameters - Dictionary of input parameters used in the pipeline template.
    Parameters map[string]*string `json:"parameters"`
}

PipelineTemplate template used to bootstrap the pipeline.

func (PipelineTemplate) MarshalJSON Uses

func (pt PipelineTemplate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineTemplate.

type PipelineTemplateDefinition Uses

type PipelineTemplateDefinition struct {
    // ID - Unique identifier of the pipeline template.
    ID  *string `json:"id,omitempty"`
    // Description - Description of the pipeline enabled by the template.
    Description *string `json:"description,omitempty"`
    // Inputs - List of input parameters required by the template to create a pipeline.
    Inputs *[]InputDescriptor `json:"inputs,omitempty"`
}

PipelineTemplateDefinition definition of a pipeline template.

type PipelineTemplateDefinitionListResult Uses

type PipelineTemplateDefinitionListResult struct {
    autorest.Response `json:"-"`
    // Value - List of pipeline template definitions.
    Value *[]PipelineTemplateDefinition `json:"value,omitempty"`
    // NextLink - The URL to get the next set of pipeline template definitions, if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

PipelineTemplateDefinitionListResult result of a request to list all pipeline template definitions.

func (PipelineTemplateDefinitionListResult) IsEmpty Uses

func (ptdlr PipelineTemplateDefinitionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PipelineTemplateDefinitionListResultIterator Uses

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

PipelineTemplateDefinitionListResultIterator provides access to a complete listing of PipelineTemplateDefinition values.

func NewPipelineTemplateDefinitionListResultIterator Uses

func NewPipelineTemplateDefinitionListResultIterator(page PipelineTemplateDefinitionListResultPage) PipelineTemplateDefinitionListResultIterator

Creates a new instance of the PipelineTemplateDefinitionListResultIterator type.

func (*PipelineTemplateDefinitionListResultIterator) Next Uses

func (iter *PipelineTemplateDefinitionListResultIterator) 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 (*PipelineTemplateDefinitionListResultIterator) NextWithContext Uses

func (iter *PipelineTemplateDefinitionListResultIterator) 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 (PipelineTemplateDefinitionListResultIterator) NotDone Uses

func (iter PipelineTemplateDefinitionListResultIterator) NotDone() bool

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

func (PipelineTemplateDefinitionListResultIterator) Response Uses

func (iter PipelineTemplateDefinitionListResultIterator) Response() PipelineTemplateDefinitionListResult

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

func (PipelineTemplateDefinitionListResultIterator) Value Uses

func (iter PipelineTemplateDefinitionListResultIterator) Value() PipelineTemplateDefinition

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

type PipelineTemplateDefinitionListResultPage Uses

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

PipelineTemplateDefinitionListResultPage contains a page of PipelineTemplateDefinition values.

func NewPipelineTemplateDefinitionListResultPage Uses

func NewPipelineTemplateDefinitionListResultPage(getNextPage func(context.Context, PipelineTemplateDefinitionListResult) (PipelineTemplateDefinitionListResult, error)) PipelineTemplateDefinitionListResultPage

Creates a new instance of the PipelineTemplateDefinitionListResultPage type.

func (*PipelineTemplateDefinitionListResultPage) Next Uses

func (page *PipelineTemplateDefinitionListResultPage) 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 (*PipelineTemplateDefinitionListResultPage) NextWithContext Uses

func (page *PipelineTemplateDefinitionListResultPage) 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 (PipelineTemplateDefinitionListResultPage) NotDone Uses

func (page PipelineTemplateDefinitionListResultPage) NotDone() bool

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

func (PipelineTemplateDefinitionListResultPage) Response Uses

func (page PipelineTemplateDefinitionListResultPage) Response() PipelineTemplateDefinitionListResult

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

func (PipelineTemplateDefinitionListResultPage) Values Uses

func (page PipelineTemplateDefinitionListResultPage) Values() []PipelineTemplateDefinition

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

type PipelineTemplateDefinitionsClient Uses

type PipelineTemplateDefinitionsClient struct {
    BaseClient
}

PipelineTemplateDefinitionsClient is the azure DevOps Resource Provider

func NewPipelineTemplateDefinitionsClient Uses

func NewPipelineTemplateDefinitionsClient(subscriptionID string) PipelineTemplateDefinitionsClient

NewPipelineTemplateDefinitionsClient creates an instance of the PipelineTemplateDefinitionsClient client.

func NewPipelineTemplateDefinitionsClientWithBaseURI Uses

func NewPipelineTemplateDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) PipelineTemplateDefinitionsClient

NewPipelineTemplateDefinitionsClientWithBaseURI creates an instance of the PipelineTemplateDefinitionsClient client.

func (PipelineTemplateDefinitionsClient) List Uses

func (client PipelineTemplateDefinitionsClient) List(ctx context.Context) (result PipelineTemplateDefinitionListResultPage, err error)

List lists all pipeline templates which can be used to configure an Azure Pipeline.

func (PipelineTemplateDefinitionsClient) ListComplete Uses

func (client PipelineTemplateDefinitionsClient) ListComplete(ctx context.Context) (result PipelineTemplateDefinitionListResultIterator, err error)

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

func (PipelineTemplateDefinitionsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (PipelineTemplateDefinitionsClient) ListResponder Uses

func (client PipelineTemplateDefinitionsClient) ListResponder(resp *http.Response) (result PipelineTemplateDefinitionListResult, err error)

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

func (PipelineTemplateDefinitionsClient) ListSender Uses

func (client PipelineTemplateDefinitionsClient) 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 PipelineUpdateParameters Uses

type PipelineUpdateParameters struct {
    // Tags - Dictionary of key-value pairs to be set as tags on the Azure Pipeline. This will overwrite any existing tags.
    Tags map[string]*string `json:"tags"`
}

PipelineUpdateParameters request payload used to update an existing Azure Pipeline.

func (PipelineUpdateParameters) MarshalJSON Uses

func (pup PipelineUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineUpdateParameters.

type PipelinesClient Uses

type PipelinesClient struct {
    BaseClient
}

PipelinesClient is the azure DevOps Resource Provider

func NewPipelinesClient Uses

func NewPipelinesClient(subscriptionID string) PipelinesClient

NewPipelinesClient creates an instance of the PipelinesClient client.

func NewPipelinesClientWithBaseURI Uses

func NewPipelinesClientWithBaseURI(baseURI string, subscriptionID string) PipelinesClient

NewPipelinesClientWithBaseURI creates an instance of the PipelinesClient client.

func (PipelinesClient) CreateOrUpdate Uses

func (client PipelinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, pipelineName string, createOperationParameters Pipeline) (result PipelinesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an Azure Pipeline. Parameters: resourceGroupName - name of the resource group within the Azure subscription. pipelineName - the name of the Azure Pipeline resource in ARM. createOperationParameters - the request payload to create the Azure Pipeline.

func (PipelinesClient) CreateOrUpdatePreparer Uses

func (client PipelinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, pipelineName string, createOperationParameters Pipeline) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PipelinesClient) CreateOrUpdateResponder Uses

func (client PipelinesClient) CreateOrUpdateResponder(resp *http.Response) (result Pipeline, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PipelinesClient) CreateOrUpdateSender Uses

func (client PipelinesClient) CreateOrUpdateSender(req *http.Request) (future PipelinesCreateOrUpdateFuture, err error)

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

func (PipelinesClient) Delete Uses

func (client PipelinesClient) Delete(ctx context.Context, resourceGroupName string, pipelineName string) (result autorest.Response, err error)

Delete deletes an Azure Pipeline. Parameters: resourceGroupName - name of the resource group within the Azure subscription. pipelineName - the name of the Azure Pipeline resource.

func (PipelinesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (PipelinesClient) DeleteResponder Uses

func (client PipelinesClient) 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 (PipelinesClient) DeleteSender Uses

func (client PipelinesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (PipelinesClient) Get Uses

func (client PipelinesClient) Get(ctx context.Context, resourceGroupName string, pipelineName string) (result Pipeline, err error)

Get gets an existing Azure Pipeline. Parameters: resourceGroupName - name of the resource group within the Azure subscription. pipelineName - the name of the Azure Pipeline resource in ARM.

func (PipelinesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (PipelinesClient) GetResponder Uses

func (client PipelinesClient) GetResponder(resp *http.Response) (result Pipeline, err error)

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

func (PipelinesClient) GetSender Uses

func (client PipelinesClient) 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 (PipelinesClient) ListByResourceGroup Uses

func (client PipelinesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PipelineListResultPage, err error)

ListByResourceGroup lists all Azure Pipelines under the specified resource group. Parameters: resourceGroupName - name of the resource group within the Azure subscription.

func (PipelinesClient) ListByResourceGroupComplete Uses

func (client PipelinesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PipelineListResultIterator, err error)

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

func (PipelinesClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PipelinesClient) ListByResourceGroupResponder Uses

func (client PipelinesClient) ListByResourceGroupResponder(resp *http.Response) (result PipelineListResult, err error)

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

func (PipelinesClient) ListByResourceGroupSender Uses

func (client PipelinesClient) 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 (PipelinesClient) ListBySubscription Uses

func (client PipelinesClient) ListBySubscription(ctx context.Context) (result PipelineListResultPage, err error)

ListBySubscription lists all Azure Pipelines under the specified subscription.

func (PipelinesClient) ListBySubscriptionComplete Uses

func (client PipelinesClient) ListBySubscriptionComplete(ctx context.Context) (result PipelineListResultIterator, err error)

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

func (PipelinesClient) ListBySubscriptionPreparer Uses

func (client PipelinesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PipelinesClient) ListBySubscriptionResponder Uses

func (client PipelinesClient) ListBySubscriptionResponder(resp *http.Response) (result PipelineListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PipelinesClient) ListBySubscriptionSender Uses

func (client PipelinesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PipelinesClient) Update Uses

func (client PipelinesClient) Update(ctx context.Context, resourceGroupName string, pipelineName string, updateOperationParameters PipelineUpdateParameters) (result Pipeline, err error)

Update updates the properties of an Azure Pipeline. Currently, only tags can be updated. Parameters: resourceGroupName - name of the resource group within the Azure subscription. pipelineName - the name of the Azure Pipeline resource. updateOperationParameters - the request payload containing the properties to update in the Azure Pipeline.

func (PipelinesClient) UpdatePreparer Uses

func (client PipelinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, pipelineName string, updateOperationParameters PipelineUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PipelinesClient) UpdateResponder Uses

func (client PipelinesClient) UpdateResponder(resp *http.Response) (result Pipeline, err error)

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

func (PipelinesClient) UpdateSender Uses

func (client PipelinesClient) 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 PipelinesCreateOrUpdateFuture Uses

type PipelinesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PipelinesCreateOrUpdateFuture) Result Uses

func (future *PipelinesCreateOrUpdateFuture) Result(client PipelinesClient) (p Pipeline, err error)

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

type ProjectReference Uses

type ProjectReference struct {
    // ID - READ-ONLY; Unique immutable identifier of the Azure DevOps Project.
    ID  *string `json:"id,omitempty"`
    // Name - Name of the Azure DevOps Project.
    Name *string `json:"name,omitempty"`
}

ProjectReference reference to an Azure DevOps Project.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource Type
    Type *string `json:"type,omitempty"`
    // Tags - Resource Tags
    Tags map[string]*string `json:"tags"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; Resource Name
    Name *string `json:"name,omitempty"`
}

Resource an Azure Resource Manager (ARM) resource.

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

Directories

PathSynopsis
devopsapi

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