taskruns

package
v0.20240402.1064951 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MPL-2.0 Imports: 15 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/containerregistry/2019-06-01-preview/taskruns Documentation

The taskruns SDK allows for interaction with the Azure Resource Manager Service containerregistry (API Version 2019-06-01-preview).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/containerregistry/2019-06-01-preview/taskruns"

Client Initialization

client := taskruns.NewTaskRunsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: TaskRunsClient.Create

ctx := context.TODO()
id := taskruns.NewTaskRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "registryValue", "taskRunValue")

payload := taskruns.TaskRun{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: TaskRunsClient.Delete

ctx := context.TODO()
id := taskruns.NewTaskRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "registryValue", "taskRunValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: TaskRunsClient.Get

ctx := context.TODO()
id := taskruns.NewTaskRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "registryValue", "taskRunValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: TaskRunsClient.GetDetails

ctx := context.TODO()
id := taskruns.NewTaskRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "registryValue", "taskRunValue")

read, err := client.GetDetails(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: TaskRunsClient.List

ctx := context.TODO()
id := taskruns.NewRegistryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "registryValue")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: TaskRunsClient.Update

ctx := context.TODO()
id := taskruns.NewTaskRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "registryValue", "taskRunValue")

payload := taskruns.TaskRunUpdateParameters{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForArchitecture

func PossibleValuesForArchitecture() []string

func PossibleValuesForOS

func PossibleValuesForOS() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForRunStatus

func PossibleValuesForRunStatus() []string

func PossibleValuesForRunType

func PossibleValuesForRunType() []string

func PossibleValuesForSecretObjectType

func PossibleValuesForSecretObjectType() []string

func PossibleValuesForSourceRegistryLoginMode

func PossibleValuesForSourceRegistryLoginMode() []string

func PossibleValuesForVariant

func PossibleValuesForVariant() []string

func ValidateRegistryID

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

ValidateRegistryID checks that 'input' can be parsed as a Registry ID

func ValidateTaskRunID

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

ValidateTaskRunID checks that 'input' can be parsed as a Task Run ID

Types

type AgentProperties

type AgentProperties struct {
	Cpu *int64 `json:"cpu,omitempty"`
}

type Architecture

type Architecture string
const (
	ArchitectureAmdSixFour    Architecture = "amd64"
	ArchitectureArm           Architecture = "arm"
	ArchitectureArmSixFour    Architecture = "arm64"
	ArchitectureThreeEightSix Architecture = "386"
	ArchitectureXEightSix     Architecture = "x86"
)

func (*Architecture) UnmarshalJSON

func (s *Architecture) UnmarshalJSON(bytes []byte) error

type Argument

type Argument struct {
	IsSecret *bool  `json:"isSecret,omitempty"`
	Name     string `json:"name"`
	Value    string `json:"value"`
}

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TaskRun
}

type Credentials

type Credentials struct {
	CustomRegistries *map[string]CustomRegistryCredentials `json:"customRegistries,omitempty"`
	SourceRegistry   *SourceRegistryCredentials            `json:"sourceRegistry,omitempty"`
}

type CustomRegistryCredentials

type CustomRegistryCredentials struct {
	Identity *string       `json:"identity,omitempty"`
	Password *SecretObject `json:"password,omitempty"`
	UserName *SecretObject `json:"userName,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DockerBuildRequest

type DockerBuildRequest struct {
	AgentConfiguration *AgentProperties   `json:"agentConfiguration,omitempty"`
	Arguments          *[]Argument        `json:"arguments,omitempty"`
	Credentials        *Credentials       `json:"credentials,omitempty"`
	DockerFilePath     string             `json:"dockerFilePath"`
	ImageNames         *[]string          `json:"imageNames,omitempty"`
	IsPushEnabled      *bool              `json:"isPushEnabled,omitempty"`
	NoCache            *bool              `json:"noCache,omitempty"`
	Platform           PlatformProperties `json:"platform"`
	SourceLocation     *string            `json:"sourceLocation,omitempty"`
	Target             *string            `json:"target,omitempty"`
	Timeout            *int64             `json:"timeout,omitempty"`

	// Fields inherited from RunRequest
	AgentPoolName    *string `json:"agentPoolName,omitempty"`
	IsArchiveEnabled *bool   `json:"isArchiveEnabled,omitempty"`
	LogTemplate      *string `json:"logTemplate,omitempty"`
}

func (DockerBuildRequest) MarshalJSON

func (s DockerBuildRequest) MarshalJSON() ([]byte, error)

type EncodedTaskRunRequest

type EncodedTaskRunRequest struct {
	AgentConfiguration   *AgentProperties   `json:"agentConfiguration,omitempty"`
	Credentials          *Credentials       `json:"credentials,omitempty"`
	EncodedTaskContent   string             `json:"encodedTaskContent"`
	EncodedValuesContent *string            `json:"encodedValuesContent,omitempty"`
	Platform             PlatformProperties `json:"platform"`
	SourceLocation       *string            `json:"sourceLocation,omitempty"`
	Timeout              *int64             `json:"timeout,omitempty"`
	Values               *[]SetValue        `json:"values,omitempty"`

	// Fields inherited from RunRequest
	AgentPoolName    *string `json:"agentPoolName,omitempty"`
	IsArchiveEnabled *bool   `json:"isArchiveEnabled,omitempty"`
	LogTemplate      *string `json:"logTemplate,omitempty"`
}

func (EncodedTaskRunRequest) MarshalJSON

func (s EncodedTaskRunRequest) MarshalJSON() ([]byte, error)

type FileTaskRunRequest

type FileTaskRunRequest struct {
	AgentConfiguration *AgentProperties   `json:"agentConfiguration,omitempty"`
	Credentials        *Credentials       `json:"credentials,omitempty"`
	Platform           PlatformProperties `json:"platform"`
	SourceLocation     *string            `json:"sourceLocation,omitempty"`
	TaskFilePath       string             `json:"taskFilePath"`
	Timeout            *int64             `json:"timeout,omitempty"`
	Values             *[]SetValue        `json:"values,omitempty"`
	ValuesFilePath     *string            `json:"valuesFilePath,omitempty"`

	// Fields inherited from RunRequest
	AgentPoolName    *string `json:"agentPoolName,omitempty"`
	IsArchiveEnabled *bool   `json:"isArchiveEnabled,omitempty"`
	LogTemplate      *string `json:"logTemplate,omitempty"`
}

func (FileTaskRunRequest) MarshalJSON

func (s FileTaskRunRequest) MarshalJSON() ([]byte, error)

type GetDetailsOperationResponse

type GetDetailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TaskRun
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TaskRun
}

type ImageDescriptor

type ImageDescriptor struct {
	Digest     *string `json:"digest,omitempty"`
	Registry   *string `json:"registry,omitempty"`
	Repository *string `json:"repository,omitempty"`
	Tag        *string `json:"tag,omitempty"`
}

type ImageUpdateTrigger

type ImageUpdateTrigger struct {
	Id        *string            `json:"id,omitempty"`
	Images    *[]ImageDescriptor `json:"images,omitempty"`
	Timestamp *string            `json:"timestamp,omitempty"`
}

func (*ImageUpdateTrigger) GetTimestampAsTime

func (o *ImageUpdateTrigger) GetTimestampAsTime() (*time.Time, error)

func (*ImageUpdateTrigger) SetTimestampAsTime

func (o *ImageUpdateTrigger) SetTimestampAsTime(input time.Time)

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []TaskRun
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]TaskRun
}

type OS

type OS string
const (
	OSLinux   OS = "Linux"
	OSWindows OS = "Windows"
)

func (*OS) UnmarshalJSON

func (s *OS) UnmarshalJSON(bytes []byte) error

type OverrideTaskStepProperties

type OverrideTaskStepProperties struct {
	Arguments          *[]Argument `json:"arguments,omitempty"`
	ContextPath        *string     `json:"contextPath,omitempty"`
	File               *string     `json:"file,omitempty"`
	Target             *string     `json:"target,omitempty"`
	UpdateTriggerToken *string     `json:"updateTriggerToken,omitempty"`
	Values             *[]SetValue `json:"values,omitempty"`
}

type PlatformProperties

type PlatformProperties struct {
	Architecture *Architecture `json:"architecture,omitempty"`
	Os           OS            `json:"os"`
	Variant      *Variant      `json:"variant,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type RawRunRequestImpl

type RawRunRequestImpl struct {
	Type   string
	Values map[string]interface{}
}

RawRunRequestImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RegistryId

type RegistryId struct {
	SubscriptionId    string
	ResourceGroupName string
	RegistryName      string
}

RegistryId is a struct representing the Resource ID for a Registry

func NewRegistryID

func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId

NewRegistryID returns a new RegistryId struct

func ParseRegistryID

func ParseRegistryID(input string) (*RegistryId, error)

ParseRegistryID parses 'input' into a RegistryId

func ParseRegistryIDInsensitively

func ParseRegistryIDInsensitively(input string) (*RegistryId, error)

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

func (*RegistryId) FromParseResult

func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error

func (RegistryId) ID

func (id RegistryId) ID() string

ID returns the formatted Registry ID

func (RegistryId) Segments

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

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

func (RegistryId) String

func (id RegistryId) String() string

String returns a human-readable description of this Registry ID

type Run

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

type RunProperties

type RunProperties struct {
	AgentConfiguration *AgentProperties         `json:"agentConfiguration,omitempty"`
	AgentPoolName      *string                  `json:"agentPoolName,omitempty"`
	CreateTime         *string                  `json:"createTime,omitempty"`
	CustomRegistries   *[]string                `json:"customRegistries,omitempty"`
	FinishTime         *string                  `json:"finishTime,omitempty"`
	ImageUpdateTrigger *ImageUpdateTrigger      `json:"imageUpdateTrigger,omitempty"`
	IsArchiveEnabled   *bool                    `json:"isArchiveEnabled,omitempty"`
	LastUpdatedTime    *string                  `json:"lastUpdatedTime,omitempty"`
	LogArtifact        *ImageDescriptor         `json:"logArtifact,omitempty"`
	OutputImages       *[]ImageDescriptor       `json:"outputImages,omitempty"`
	Platform           *PlatformProperties      `json:"platform,omitempty"`
	ProvisioningState  *ProvisioningState       `json:"provisioningState,omitempty"`
	RunErrorMessage    *string                  `json:"runErrorMessage,omitempty"`
	RunId              *string                  `json:"runId,omitempty"`
	RunType            *RunType                 `json:"runType,omitempty"`
	SourceRegistryAuth *string                  `json:"sourceRegistryAuth,omitempty"`
	SourceTrigger      *SourceTriggerDescriptor `json:"sourceTrigger,omitempty"`
	StartTime          *string                  `json:"startTime,omitempty"`
	Status             *RunStatus               `json:"status,omitempty"`
	Task               *string                  `json:"task,omitempty"`
	TimerTrigger       *TimerTriggerDescriptor  `json:"timerTrigger,omitempty"`
	UpdateTriggerToken *string                  `json:"updateTriggerToken,omitempty"`
}

func (*RunProperties) GetCreateTimeAsTime

func (o *RunProperties) GetCreateTimeAsTime() (*time.Time, error)

func (*RunProperties) GetFinishTimeAsTime

func (o *RunProperties) GetFinishTimeAsTime() (*time.Time, error)

func (*RunProperties) GetLastUpdatedTimeAsTime

func (o *RunProperties) GetLastUpdatedTimeAsTime() (*time.Time, error)

func (*RunProperties) GetStartTimeAsTime

func (o *RunProperties) GetStartTimeAsTime() (*time.Time, error)

func (*RunProperties) SetCreateTimeAsTime

func (o *RunProperties) SetCreateTimeAsTime(input time.Time)

func (*RunProperties) SetFinishTimeAsTime

func (o *RunProperties) SetFinishTimeAsTime(input time.Time)

func (*RunProperties) SetLastUpdatedTimeAsTime

func (o *RunProperties) SetLastUpdatedTimeAsTime(input time.Time)

func (*RunProperties) SetStartTimeAsTime

func (o *RunProperties) SetStartTimeAsTime(input time.Time)

type RunRequest

type RunRequest interface {
}

type RunStatus

type RunStatus string
const (
	RunStatusCanceled  RunStatus = "Canceled"
	RunStatusError     RunStatus = "Error"
	RunStatusFailed    RunStatus = "Failed"
	RunStatusQueued    RunStatus = "Queued"
	RunStatusRunning   RunStatus = "Running"
	RunStatusStarted   RunStatus = "Started"
	RunStatusSucceeded RunStatus = "Succeeded"
	RunStatusTimeout   RunStatus = "Timeout"
)

func (*RunStatus) UnmarshalJSON

func (s *RunStatus) UnmarshalJSON(bytes []byte) error

type RunType

type RunType string
const (
	RunTypeAutoBuild  RunType = "AutoBuild"
	RunTypeAutoRun    RunType = "AutoRun"
	RunTypeQuickBuild RunType = "QuickBuild"
	RunTypeQuickRun   RunType = "QuickRun"
)

func (*RunType) UnmarshalJSON

func (s *RunType) UnmarshalJSON(bytes []byte) error

type SecretObject

type SecretObject struct {
	Type  *SecretObjectType `json:"type,omitempty"`
	Value *string           `json:"value,omitempty"`
}

type SecretObjectType

type SecretObjectType string
const (
	SecretObjectTypeOpaque      SecretObjectType = "Opaque"
	SecretObjectTypeVaultsecret SecretObjectType = "Vaultsecret"
)

func (*SecretObjectType) UnmarshalJSON

func (s *SecretObjectType) UnmarshalJSON(bytes []byte) error

type SetValue

type SetValue struct {
	IsSecret *bool  `json:"isSecret,omitempty"`
	Name     string `json:"name"`
	Value    string `json:"value"`
}

type SourceRegistryCredentials

type SourceRegistryCredentials struct {
	LoginMode *SourceRegistryLoginMode `json:"loginMode,omitempty"`
}

type SourceRegistryLoginMode

type SourceRegistryLoginMode string
const (
	SourceRegistryLoginModeDefault SourceRegistryLoginMode = "Default"
	SourceRegistryLoginModeNone    SourceRegistryLoginMode = "None"
)

func (*SourceRegistryLoginMode) UnmarshalJSON

func (s *SourceRegistryLoginMode) UnmarshalJSON(bytes []byte) error

type SourceTriggerDescriptor

type SourceTriggerDescriptor struct {
	BranchName    *string `json:"branchName,omitempty"`
	CommitId      *string `json:"commitId,omitempty"`
	EventType     *string `json:"eventType,omitempty"`
	Id            *string `json:"id,omitempty"`
	ProviderType  *string `json:"providerType,omitempty"`
	PullRequestId *string `json:"pullRequestId,omitempty"`
	RepositoryUrl *string `json:"repositoryUrl,omitempty"`
}

type TaskRun

type TaskRun struct {
	Id         *string                            `json:"id,omitempty"`
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *TaskRunProperties                 `json:"properties,omitempty"`
	SystemData *systemdata.SystemData             `json:"systemData,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type TaskRunId

type TaskRunId struct {
	SubscriptionId    string
	ResourceGroupName string
	RegistryName      string
	TaskRunName       string
}

TaskRunId is a struct representing the Resource ID for a Task Run

func NewTaskRunID

func NewTaskRunID(subscriptionId string, resourceGroupName string, registryName string, taskRunName string) TaskRunId

NewTaskRunID returns a new TaskRunId struct

func ParseTaskRunID

func ParseTaskRunID(input string) (*TaskRunId, error)

ParseTaskRunID parses 'input' into a TaskRunId

func ParseTaskRunIDInsensitively

func ParseTaskRunIDInsensitively(input string) (*TaskRunId, error)

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

func (*TaskRunId) FromParseResult

func (id *TaskRunId) FromParseResult(input resourceids.ParseResult) error

func (TaskRunId) ID

func (id TaskRunId) ID() string

ID returns the formatted Task Run ID

func (TaskRunId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Task Run ID

func (TaskRunId) String

func (id TaskRunId) String() string

String returns a human-readable description of this Task Run ID

type TaskRunOperationPredicate

type TaskRunOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (TaskRunOperationPredicate) Matches

func (p TaskRunOperationPredicate) Matches(input TaskRun) bool

type TaskRunProperties

type TaskRunProperties struct {
	ForceUpdateTag    *string            `json:"forceUpdateTag,omitempty"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	RunRequest        RunRequest         `json:"runRequest"`
	RunResult         *Run               `json:"runResult,omitempty"`
}

func (*TaskRunProperties) UnmarshalJSON

func (s *TaskRunProperties) UnmarshalJSON(bytes []byte) error

type TaskRunPropertiesUpdateParameters

type TaskRunPropertiesUpdateParameters struct {
	ForceUpdateTag *string    `json:"forceUpdateTag,omitempty"`
	RunRequest     RunRequest `json:"runRequest"`
}

func (*TaskRunPropertiesUpdateParameters) UnmarshalJSON

func (s *TaskRunPropertiesUpdateParameters) UnmarshalJSON(bytes []byte) error

type TaskRunRequest

type TaskRunRequest struct {
	OverrideTaskStepProperties *OverrideTaskStepProperties `json:"overrideTaskStepProperties,omitempty"`
	TaskId                     string                      `json:"taskId"`

	// Fields inherited from RunRequest
	AgentPoolName    *string `json:"agentPoolName,omitempty"`
	IsArchiveEnabled *bool   `json:"isArchiveEnabled,omitempty"`
	LogTemplate      *string `json:"logTemplate,omitempty"`
}

func (TaskRunRequest) MarshalJSON

func (s TaskRunRequest) MarshalJSON() ([]byte, error)

type TaskRunUpdateParameters

type TaskRunUpdateParameters struct {
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Properties *TaskRunPropertiesUpdateParameters `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
}

type TaskRunsClient

type TaskRunsClient struct {
	Client *resourcemanager.Client
}

func NewTaskRunsClientWithBaseURI

func NewTaskRunsClientWithBaseURI(sdkApi sdkEnv.Api) (*TaskRunsClient, error)

func (TaskRunsClient) Create

func (c TaskRunsClient) Create(ctx context.Context, id TaskRunId, input TaskRun) (result CreateOperationResponse, err error)

Create ...

func (TaskRunsClient) CreateThenPoll

func (c TaskRunsClient) CreateThenPoll(ctx context.Context, id TaskRunId, input TaskRun) error

CreateThenPoll performs Create then polls until it's completed

func (TaskRunsClient) Delete

func (c TaskRunsClient) Delete(ctx context.Context, id TaskRunId) (result DeleteOperationResponse, err error)

Delete ...

func (TaskRunsClient) DeleteThenPoll

func (c TaskRunsClient) DeleteThenPoll(ctx context.Context, id TaskRunId) error

DeleteThenPoll performs Delete then polls until it's completed

func (TaskRunsClient) Get

func (c TaskRunsClient) Get(ctx context.Context, id TaskRunId) (result GetOperationResponse, err error)

Get ...

func (TaskRunsClient) GetDetails

func (c TaskRunsClient) GetDetails(ctx context.Context, id TaskRunId) (result GetDetailsOperationResponse, err error)

GetDetails ...

func (TaskRunsClient) List

func (c TaskRunsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)

List ...

func (TaskRunsClient) ListComplete

func (c TaskRunsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)

ListComplete retrieves all the results into a single object

func (TaskRunsClient) ListCompleteMatchingPredicate

func (c TaskRunsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate TaskRunOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (TaskRunsClient) Update

Update ...

func (TaskRunsClient) UpdateThenPoll

func (c TaskRunsClient) UpdateThenPoll(ctx context.Context, id TaskRunId, input TaskRunUpdateParameters) error

UpdateThenPoll performs Update then polls until it's completed

type TimerTriggerDescriptor

type TimerTriggerDescriptor struct {
	ScheduleOccurrence *string `json:"scheduleOccurrence,omitempty"`
	TimerTriggerName   *string `json:"timerTriggerName,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TaskRun
}

type Variant

type Variant string
const (
	VariantVEight Variant = "v8"
	VariantVSeven Variant = "v7"
	VariantVSix   Variant = "v6"
)

func (*Variant) UnmarshalJSON

func (s *Variant) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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