Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type ArtifactObjects struct + ForceSendFields []string + Location string + NullFields []string + Paths []string + Timing *TimeSpan + func (s *ArtifactObjects) MarshalJSON() ([]byte, error) + type ArtifactResult struct + FileHash []*FileHashes + ForceSendFields []string + Location string + NullFields []string + func (s *ArtifactResult) MarshalJSON() ([]byte, error) + type Artifacts struct + ForceSendFields []string + Images []string + NullFields []string + Objects *ArtifactObjects + func (s *Artifacts) MarshalJSON() ([]byte, error) + type Build struct + Artifacts *Artifacts + BuildTriggerId string + CreateTime string + FinishTime string + ForceSendFields []string + Id string + Images []string + LogUrl string + LogsBucket string + NullFields []string + Options *BuildOptions + ProjectId string + QueueTtl string + Results *Results + Secrets []*Secret + Source *Source + SourceProvenance *SourceProvenance + StartTime string + Status string + StatusDetail string + Steps []*BuildStep + Substitutions map[string]string + Tags []string + Timeout string + Timing map[string]TimeSpan + func (s *Build) MarshalJSON() ([]byte, error) + type BuildOperationMetadata struct + Build *Build + ForceSendFields []string + NullFields []string + func (s *BuildOperationMetadata) MarshalJSON() ([]byte, error) + type BuildOptions struct + DiskSizeGb int64 + Env []string + ForceSendFields []string + LogStreamingOption string + Logging string + MachineType string + NullFields []string + RequestedVerifyOption string + SecretEnv []string + SourceProvenanceHash []string + SubstitutionOption string + Volumes []*Volume + WorkerPool string + func (s *BuildOptions) MarshalJSON() ([]byte, error) + type BuildStep struct + Args []string + Dir string + Entrypoint string + Env []string + ForceSendFields []string + Id string + Name string + NullFields []string + PullTiming *TimeSpan + SecretEnv []string + Status string + Timeout string + Timing *TimeSpan + Volumes []*Volume + WaitFor []string + func (s *BuildStep) MarshalJSON() ([]byte, error) + type BuiltImage struct + Digest string + ForceSendFields []string + Name string + NullFields []string + PushTiming *TimeSpan + func (s *BuiltImage) MarshalJSON() ([]byte, error) + type Empty struct + type FileHashes struct + FileHash []*Hash + ForceSendFields []string + NullFields []string + func (s *FileHashes) MarshalJSON() ([]byte, error) + type Hash struct + ForceSendFields []string + NullFields []string + Type string + Value string + func (s *Hash) MarshalJSON() ([]byte, error) + type ListWorkerPoolsResponse struct + ForceSendFields []string + NullFields []string + WorkerPools []*WorkerPool + func (s *ListWorkerPoolsResponse) MarshalJSON() ([]byte, error) + type NetworkConfig struct + ForceSendFields []string + NullFields []string + PeeredNetwork string + func (s *NetworkConfig) MarshalJSON() ([]byte, error) + type ProjectsService struct + WorkerPools *ProjectsWorkerPoolsService + func NewProjectsService(s *Service) *ProjectsService + type ProjectsWorkerPoolsCreateCall struct + func (c *ProjectsWorkerPoolsCreateCall) Context(ctx context.Context) *ProjectsWorkerPoolsCreateCall + func (c *ProjectsWorkerPoolsCreateCall) Do(opts ...googleapi.CallOption) (*WorkerPool, error) + func (c *ProjectsWorkerPoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsCreateCall + func (c *ProjectsWorkerPoolsCreateCall) Header() http.Header + func (c *ProjectsWorkerPoolsCreateCall) WorkerPoolId(workerPoolId string) *ProjectsWorkerPoolsCreateCall + type ProjectsWorkerPoolsDeleteCall struct + func (c *ProjectsWorkerPoolsDeleteCall) Context(ctx context.Context) *ProjectsWorkerPoolsDeleteCall + func (c *ProjectsWorkerPoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsWorkerPoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsDeleteCall + func (c *ProjectsWorkerPoolsDeleteCall) Header() http.Header + type ProjectsWorkerPoolsGetCall struct + func (c *ProjectsWorkerPoolsGetCall) Context(ctx context.Context) *ProjectsWorkerPoolsGetCall + func (c *ProjectsWorkerPoolsGetCall) Do(opts ...googleapi.CallOption) (*WorkerPool, error) + func (c *ProjectsWorkerPoolsGetCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsGetCall + func (c *ProjectsWorkerPoolsGetCall) Header() http.Header + func (c *ProjectsWorkerPoolsGetCall) IfNoneMatch(entityTag string) *ProjectsWorkerPoolsGetCall + type ProjectsWorkerPoolsListCall struct + func (c *ProjectsWorkerPoolsListCall) Context(ctx context.Context) *ProjectsWorkerPoolsListCall + func (c *ProjectsWorkerPoolsListCall) Do(opts ...googleapi.CallOption) (*ListWorkerPoolsResponse, error) + func (c *ProjectsWorkerPoolsListCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsListCall + func (c *ProjectsWorkerPoolsListCall) Header() http.Header + func (c *ProjectsWorkerPoolsListCall) IfNoneMatch(entityTag string) *ProjectsWorkerPoolsListCall + type ProjectsWorkerPoolsPatchCall struct + func (c *ProjectsWorkerPoolsPatchCall) Context(ctx context.Context) *ProjectsWorkerPoolsPatchCall + func (c *ProjectsWorkerPoolsPatchCall) Do(opts ...googleapi.CallOption) (*WorkerPool, error) + func (c *ProjectsWorkerPoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsPatchCall + func (c *ProjectsWorkerPoolsPatchCall) Header() http.Header + func (c *ProjectsWorkerPoolsPatchCall) UpdateMask(updateMask string) *ProjectsWorkerPoolsPatchCall + type ProjectsWorkerPoolsService struct + func NewProjectsWorkerPoolsService(s *Service) *ProjectsWorkerPoolsService + func (r *ProjectsWorkerPoolsService) Create(parent string, workerpool *WorkerPool) *ProjectsWorkerPoolsCreateCall + func (r *ProjectsWorkerPoolsService) Delete(name string) *ProjectsWorkerPoolsDeleteCall + func (r *ProjectsWorkerPoolsService) Get(name string) *ProjectsWorkerPoolsGetCall + func (r *ProjectsWorkerPoolsService) List(parent string) *ProjectsWorkerPoolsListCall + func (r *ProjectsWorkerPoolsService) Patch(name string, workerpool *WorkerPool) *ProjectsWorkerPoolsPatchCall + type RepoSource struct + BranchName string + CommitSha string + Dir string + ForceSendFields []string + InvertRegex bool + NullFields []string + ProjectId string + RepoName string + Substitutions map[string]string + TagName string + func (s *RepoSource) MarshalJSON() ([]byte, error) + type Results struct + ArtifactManifest string + ArtifactTiming *TimeSpan + BuildStepImages []string + BuildStepOutputs []string + ForceSendFields []string + Images []*BuiltImage + NullFields []string + NumArtifacts int64 + func (s *Results) MarshalJSON() ([]byte, error) + type Secret struct + ForceSendFields []string + KmsKeyName string + NullFields []string + SecretEnv map[string]string + func (s *Secret) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Source struct + ForceSendFields []string + NullFields []string + RepoSource *RepoSource + StorageSource *StorageSource + func (s *Source) MarshalJSON() ([]byte, error) + type SourceProvenance struct + FileHashes map[string]FileHashes + ForceSendFields []string + NullFields []string + ResolvedRepoSource *RepoSource + ResolvedStorageSource *StorageSource + func (s *SourceProvenance) MarshalJSON() ([]byte, error) + type StorageSource struct + Bucket string + ForceSendFields []string + Generation int64 + NullFields []string + Object string + func (s *StorageSource) MarshalJSON() ([]byte, error) + type TimeSpan struct + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s *TimeSpan) MarshalJSON() ([]byte, error) + type Volume struct + ForceSendFields []string + Name string + NullFields []string + Path string + func (s *Volume) MarshalJSON() ([]byte, error) + type WorkerConfig struct + DiskSizeGb int64 + ForceSendFields []string + MachineType string + NullFields []string + func (s *WorkerConfig) MarshalJSON() ([]byte, error) + type WorkerPool struct + CreateTime string + DeleteTime string + ForceSendFields []string + Name string + NetworkConfig *NetworkConfig + NullFields []string + Region string + State string + UpdateTime string + WorkerConfig *WorkerConfig + func (s *WorkerPool) MarshalJSON() ([]byte, error)