Versions in this module Expand all Collapse all v19 v19.0.0 Oct 7, 2019 Changes in this version + const DefaultBaseURL + type AvailabilityZoneConfiguration struct + AvailabilityZone string + LaunchSpec json.RawMessage + Region string + Secrets json.RawMessage + UserData json.RawMessage + type AwsProvisioner tcclient.Client + func New(credentials *tcclient.Credentials) *AwsProvisioner + func NewFromEnv() *AwsProvisioner + func (awsProvisioner *AwsProvisioner) BackendStatus() (*BackendStatusResponse, error) + func (awsProvisioner *AwsProvisioner) CreateSecret(token string, payload *SecretRequest) error + func (awsProvisioner *AwsProvisioner) CreateWorkerType(workerType string, payload *CreateWorkerTypeRequest) (*WorkerTypeResponse, error) + func (awsProvisioner *AwsProvisioner) GetLaunchSpecs(workerType string) (*LaunchSpecsResponse, error) + func (awsProvisioner *AwsProvisioner) GetLaunchSpecs_SignedURL(workerType string, duration time.Duration) (*url.URL, error) + func (awsProvisioner *AwsProvisioner) GetSecret(token string) (*SecretResponse, error) + func (awsProvisioner *AwsProvisioner) InstanceStarted(instanceId, token string) error + func (awsProvisioner *AwsProvisioner) ListWorkerTypeSummaries() (*ListWorkerTypeSummariesResponse, error) + func (awsProvisioner *AwsProvisioner) ListWorkerTypes() (*ListWorkerTypes, error) + func (awsProvisioner *AwsProvisioner) Ping() error + func (awsProvisioner *AwsProvisioner) RemoveSecret(token string) error + func (awsProvisioner *AwsProvisioner) RemoveWorkerType(workerType string) error + func (awsProvisioner *AwsProvisioner) State(workerType string) error + func (awsProvisioner *AwsProvisioner) UpdateWorkerType(workerType string, payload *CreateWorkerTypeRequest) (*WorkerTypeResponse, error) + func (awsProvisioner *AwsProvisioner) WorkerType(workerType string) (*WorkerTypeResponse, error) + func (awsProvisioner *AwsProvisioner) WorkerTypeLastModified(workerType string) (*WorkerTypeLastModified, error) + func (awsProvisioner *AwsProvisioner) WorkerType_SignedURL(workerType string, duration time.Duration) (*url.URL, error) + type BackendStatusResponse struct + LastCheckedIn tcclient.Time + Status string + type CreateWorkerTypeRequest struct + AvailabilityZones []AvailabilityZoneConfiguration + CanUseOndemand bool + CanUseSpot bool + Description string + InstanceTypes []InstanceTypeConfiguration + LaunchSpec json.RawMessage + MaxCapacity float64 + MaxPrice float64 + MinCapacity float64 + MinPrice float64 + Owner string + Regions []RegionConfiguration + ScalingRatio float64 + Scopes []string + Secrets json.RawMessage + UserData json.RawMessage + type Credentials struct + AccessToken string + Certificate string + ClientID string + type InstanceTypeConfiguration struct + Capacity float64 + InstanceType string + LaunchSpec json.RawMessage + Scopes []string + Secrets json.RawMessage + UserData json.RawMessage + Utility float64 + type LaunchSpecsResponse json.RawMessage + func (this *LaunchSpecsResponse) MarshalJSON() ([]byte, error) + func (this *LaunchSpecsResponse) UnmarshalJSON(data []byte) error + type ListWorkerTypeSummariesResponse []WorkerTypeSummary + type ListWorkerTypes []string + type RegionConfiguration struct + LaunchSpec json.RawMessage + Region string + Scopes []string + Secrets json.RawMessage + UserData json.RawMessage + type RegionLaunchSpec json.RawMessage + func (this *RegionLaunchSpec) MarshalJSON() ([]byte, error) + func (this *RegionLaunchSpec) UnmarshalJSON(data []byte) error + type SecretRequest struct + Expiration tcclient.Time + Scopes []string + Secrets json.RawMessage + Token string + WorkerType string + type SecretResponse struct + Credentials Credentials + Data json.RawMessage + Scopes []string + type WorkerTypeLastModified struct + LastModified tcclient.Time + WorkerType string + type WorkerTypeResponse struct + AvailabilityZones []AvailabilityZoneConfiguration + CanUseOndemand bool + CanUseSpot bool + Description string + InstanceTypes []InstanceTypeConfiguration + LastModified tcclient.Time + LaunchSpec json.RawMessage + MaxCapacity float64 + MaxPrice float64 + MinCapacity float64 + MinPrice float64 + Owner string + Regions []RegionConfiguration + ScalingRatio float64 + Scopes []string + Secrets json.RawMessage + UserData json.RawMessage + WorkerType string + type WorkerTypeSummary struct + MaxCapacity int64 + MinCapacity int64 + PendingCapacity int64 + RequestedCapacity int64 + RunningCapacity int64 + WorkerType string Other modules containing this package github.com/taskcluster/taskcluster/clients/client-go/v14 github.com/taskcluster/taskcluster/clients/client-go/v15 github.com/taskcluster/taskcluster/clients/client-go/v16 github.com/taskcluster/taskcluster/clients/client-go/v17 github.com/taskcluster/taskcluster/clients/client-go/v18 github.com/taskcluster/taskcluster/clients/client-go/v20 github.com/taskcluster/taskcluster/clients/client-go/v21 github.com/taskcluster/taskcluster/clients/client-go/v22