moblab

package
v0.0.0-...-e165f0f Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBuildServiceServer

func RegisterBuildServiceServer(s *grpc.Server, srv BuildServiceServer)

Types

type Build

type Build struct {
	// The resource name of the build.
	// Format: buildTargets/{build_target}/models/{model}/builds/{build}
	// Example: buildTargets/octopus/models/bobba/builds/1234.0.0
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The milestone that owns the build.
	// Format: milestones/{milestone}
	Milestone string `protobuf:"bytes,2,opt,name=milestone,proto3" json:"milestone,omitempty"`
	// The build version of the build, e.g. 1234.0.0.
	BuildVersion         string   `protobuf:"bytes,3,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Resource that represents a build for the given build target, model, milestone and build version. NEXT_TAG: 4

func (*Build) Descriptor

func (*Build) Descriptor() ([]byte, []int)

func (*Build) GetBuildVersion

func (m *Build) GetBuildVersion() string

func (*Build) GetMilestone

func (m *Build) GetMilestone() string

func (*Build) GetName

func (m *Build) GetName() string

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) Reset

func (m *Build) Reset()

func (*Build) String

func (m *Build) String() string

func (*Build) XXX_DiscardUnknown

func (m *Build) XXX_DiscardUnknown()

func (*Build) XXX_Marshal

func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Build) XXX_Merge

func (m *Build) XXX_Merge(src proto.Message)

func (*Build) XXX_Size

func (m *Build) XXX_Size() int

func (*Build) XXX_Unmarshal

func (m *Build) XXX_Unmarshal(b []byte) error

type BuildArtifact

type BuildArtifact struct {
	// The resource name of the build artifact.
	// Format:
	// buildTargets/{build_target}/models/{model}/builds/{build}/artifacts/{artifact}
	// Example:
	// buildTargets/octopus/models/bobba/builds/1234.0.0/artifacts/chromeos-moblab-peng-staging
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The build metadata of the build artifact.
	Build string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
	// The bucket that stores the build artifact.
	Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// The path of the build artifact in the bucket.
	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// The number of objects in the build artifact folder. The object number can
	// be used to calculated the stage progress by comparing the source build
	// artifact with the destination build artifact.
	ObjectCount          uint32   `protobuf:"varint,5,opt,name=object_count,json=objectCount,proto3" json:"object_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Resource that represents a build artifact stored in Google Cloud Storage for the given build target, model, build version and bucket. NEXT_TAG: 6

func (*BuildArtifact) Descriptor

func (*BuildArtifact) Descriptor() ([]byte, []int)

func (*BuildArtifact) GetBucket

func (m *BuildArtifact) GetBucket() string

func (*BuildArtifact) GetBuild

func (m *BuildArtifact) GetBuild() string

func (*BuildArtifact) GetName

func (m *BuildArtifact) GetName() string

func (*BuildArtifact) GetObjectCount

func (m *BuildArtifact) GetObjectCount() uint32

func (*BuildArtifact) GetPath

func (m *BuildArtifact) GetPath() string

func (*BuildArtifact) ProtoMessage

func (*BuildArtifact) ProtoMessage()

func (*BuildArtifact) Reset

func (m *BuildArtifact) Reset()

func (*BuildArtifact) String

func (m *BuildArtifact) String() string

func (*BuildArtifact) XXX_DiscardUnknown

func (m *BuildArtifact) XXX_DiscardUnknown()

func (*BuildArtifact) XXX_Marshal

func (m *BuildArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildArtifact) XXX_Merge

func (m *BuildArtifact) XXX_Merge(src proto.Message)

func (*BuildArtifact) XXX_Size

func (m *BuildArtifact) XXX_Size() int

func (*BuildArtifact) XXX_Unmarshal

func (m *BuildArtifact) XXX_Unmarshal(b []byte) error

type BuildServiceClient

type BuildServiceClient interface {
	// Lists all builds for the given build target and model in descending order
	// for the milestones and build versions.
	ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error)
	// Checks the stage status for a given build artifact in a partner Google
	// Cloud Storage bucket.
	CheckBuildStageStatus(ctx context.Context, in *CheckBuildStageStatusRequest, opts ...grpc.CallOption) (*CheckBuildStageStatusResponse, error)
	// Stages a given build artifact from a internal Google Cloud Storage bucket
	// to a partner Google Cloud Storage bucket. If any of objects has already
	// been copied, it will overwrite the previous objects. Operation <response:
	// [StageBuildResponse][google.chromeos.moblab.v1beta1.StageBuildResponse],
	//            metadata: [StageBuildMetadata][google.chromeos.moblab.v1beta1.StageBuildMetadata]>
	StageBuild(ctx context.Context, in *StageBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

BuildServiceClient is the client API for BuildService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type BuildServiceServer

type BuildServiceServer interface {
	// Lists all builds for the given build target and model in descending order
	// for the milestones and build versions.
	ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error)
	// Checks the stage status for a given build artifact in a partner Google
	// Cloud Storage bucket.
	CheckBuildStageStatus(context.Context, *CheckBuildStageStatusRequest) (*CheckBuildStageStatusResponse, error)
	// Stages a given build artifact from a internal Google Cloud Storage bucket
	// to a partner Google Cloud Storage bucket. If any of objects has already
	// been copied, it will overwrite the previous objects. Operation <response:
	// [StageBuildResponse][google.chromeos.moblab.v1beta1.StageBuildResponse],
	//            metadata: [StageBuildMetadata][google.chromeos.moblab.v1beta1.StageBuildMetadata]>
	StageBuild(context.Context, *StageBuildRequest) (*longrunning.Operation, error)
}

BuildServiceServer is the server API for BuildService service.

type BuildTarget

type BuildTarget struct {
	// The resource name of the build target.
	// Format: buildTargets/{build_target}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Resource that represents a build target.

func (*BuildTarget) Descriptor

func (*BuildTarget) Descriptor() ([]byte, []int)

func (*BuildTarget) GetName

func (m *BuildTarget) GetName() string

func (*BuildTarget) ProtoMessage

func (*BuildTarget) ProtoMessage()

func (*BuildTarget) Reset

func (m *BuildTarget) Reset()

func (*BuildTarget) String

func (m *BuildTarget) String() string

func (*BuildTarget) XXX_DiscardUnknown

func (m *BuildTarget) XXX_DiscardUnknown()

func (*BuildTarget) XXX_Marshal

func (m *BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTarget) XXX_Merge

func (m *BuildTarget) XXX_Merge(src proto.Message)

func (*BuildTarget) XXX_Size

func (m *BuildTarget) XXX_Size() int

func (*BuildTarget) XXX_Unmarshal

func (m *BuildTarget) XXX_Unmarshal(b []byte) error

type CheckBuildStageStatusRequest

type CheckBuildStageStatusRequest struct {
	// Required. The full resource name of the build artifact.
	// For example,
	// 'buildTargets/octopus/models/bobba/builds/12607.6.0/artifacts/chromeos-moblab-peng-staging'.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for checking if the build artifact is staged.

func (*CheckBuildStageStatusRequest) Descriptor

func (*CheckBuildStageStatusRequest) Descriptor() ([]byte, []int)

func (*CheckBuildStageStatusRequest) GetName

func (m *CheckBuildStageStatusRequest) GetName() string

func (*CheckBuildStageStatusRequest) ProtoMessage

func (*CheckBuildStageStatusRequest) ProtoMessage()

func (*CheckBuildStageStatusRequest) Reset

func (m *CheckBuildStageStatusRequest) Reset()

func (*CheckBuildStageStatusRequest) String

func (*CheckBuildStageStatusRequest) XXX_DiscardUnknown

func (m *CheckBuildStageStatusRequest) XXX_DiscardUnknown()

func (*CheckBuildStageStatusRequest) XXX_Marshal

func (m *CheckBuildStageStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckBuildStageStatusRequest) XXX_Merge

func (m *CheckBuildStageStatusRequest) XXX_Merge(src proto.Message)

func (*CheckBuildStageStatusRequest) XXX_Size

func (m *CheckBuildStageStatusRequest) XXX_Size() int

func (*CheckBuildStageStatusRequest) XXX_Unmarshal

func (m *CheckBuildStageStatusRequest) XXX_Unmarshal(b []byte) error

type CheckBuildStageStatusResponse

type CheckBuildStageStatusResponse struct {
	// The status to represent if the build is staged or not.
	IsBuildStaged bool `protobuf:"varint,1,opt,name=is_build_staged,json=isBuildStaged,proto3" json:"is_build_staged,omitempty"`
	// The staged build artifact in the destination bucket.
	StagedBuildArtifact *BuildArtifact `protobuf:"bytes,2,opt,name=staged_build_artifact,json=stagedBuildArtifact,proto3" json:"staged_build_artifact,omitempty"`
	// The source build artifact in the source bucket.
	SourceBuildArtifact  *BuildArtifact `protobuf:"bytes,3,opt,name=source_build_artifact,json=sourceBuildArtifact,proto3" json:"source_build_artifact,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Response message for checking the stage status of a build artifact. NEXT_TAG: 4

func (*CheckBuildStageStatusResponse) Descriptor

func (*CheckBuildStageStatusResponse) Descriptor() ([]byte, []int)

func (*CheckBuildStageStatusResponse) GetIsBuildStaged

func (m *CheckBuildStageStatusResponse) GetIsBuildStaged() bool

func (*CheckBuildStageStatusResponse) GetSourceBuildArtifact

func (m *CheckBuildStageStatusResponse) GetSourceBuildArtifact() *BuildArtifact

func (*CheckBuildStageStatusResponse) GetStagedBuildArtifact

func (m *CheckBuildStageStatusResponse) GetStagedBuildArtifact() *BuildArtifact

func (*CheckBuildStageStatusResponse) ProtoMessage

func (*CheckBuildStageStatusResponse) ProtoMessage()

func (*CheckBuildStageStatusResponse) Reset

func (m *CheckBuildStageStatusResponse) Reset()

func (*CheckBuildStageStatusResponse) String

func (*CheckBuildStageStatusResponse) XXX_DiscardUnknown

func (m *CheckBuildStageStatusResponse) XXX_DiscardUnknown()

func (*CheckBuildStageStatusResponse) XXX_Marshal

func (m *CheckBuildStageStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckBuildStageStatusResponse) XXX_Merge

func (m *CheckBuildStageStatusResponse) XXX_Merge(src proto.Message)

func (*CheckBuildStageStatusResponse) XXX_Size

func (m *CheckBuildStageStatusResponse) XXX_Size() int

func (*CheckBuildStageStatusResponse) XXX_Unmarshal

func (m *CheckBuildStageStatusResponse) XXX_Unmarshal(b []byte) error

type ListBuildsRequest

type ListBuildsRequest struct {
	// Required. The full resource name of the model. The model id is the same as
	// the build target id for non-unified builds.
	// For example,
	// 'buildTargets/octopus/models/bobba'.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The number of builds to return in a page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListBuilds` call. Provide this to
	// retrieve the subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter that specifies value constraints of fields. For example, the
	// filter can be set as "filter='milestone=milestones/80'" to only select
	// builds in milestone 80.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Read mask that specifies which Build fields to return. If empty, all Build
	// fields will be returned.
	// Valid fields: name, milestone, build_version.
	// For example, if the read_mask is set as "read_mask='milestone'", the
	// ListBuilds will return a list of Builds object with only the milestone
	// field.
	ReadMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// Optional. The operation that groups by all the Build fields specified in the read
	// mask. The group_by field should be the same as the read_mask field in
	// convention of SQL.
	GroupBy              *field_mask.FieldMask `protobuf:"bytes,6,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for listing builds. NEXT_TAG: 7

func (*ListBuildsRequest) Descriptor

func (*ListBuildsRequest) Descriptor() ([]byte, []int)

func (*ListBuildsRequest) GetFilter

func (m *ListBuildsRequest) GetFilter() string

func (*ListBuildsRequest) GetGroupBy

func (m *ListBuildsRequest) GetGroupBy() *field_mask.FieldMask

func (*ListBuildsRequest) GetPageSize

func (m *ListBuildsRequest) GetPageSize() int32

func (*ListBuildsRequest) GetPageToken

func (m *ListBuildsRequest) GetPageToken() string

func (*ListBuildsRequest) GetParent

func (m *ListBuildsRequest) GetParent() string

func (*ListBuildsRequest) GetReadMask

func (m *ListBuildsRequest) GetReadMask() *field_mask.FieldMask

func (*ListBuildsRequest) ProtoMessage

func (*ListBuildsRequest) ProtoMessage()

func (*ListBuildsRequest) Reset

func (m *ListBuildsRequest) Reset()

func (*ListBuildsRequest) String

func (m *ListBuildsRequest) String() string

func (*ListBuildsRequest) XXX_DiscardUnknown

func (m *ListBuildsRequest) XXX_DiscardUnknown()

func (*ListBuildsRequest) XXX_Marshal

func (m *ListBuildsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBuildsRequest) XXX_Merge

func (m *ListBuildsRequest) XXX_Merge(src proto.Message)

func (*ListBuildsRequest) XXX_Size

func (m *ListBuildsRequest) XXX_Size() int

func (*ListBuildsRequest) XXX_Unmarshal

func (m *ListBuildsRequest) XXX_Unmarshal(b []byte) error

type ListBuildsResponse

type ListBuildsResponse struct {
	// The list of builds.
	Builds []*Build `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
	// Token to retrieve the next page of builds. If this field is omitted, there
	// are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Total number of builds.
	TotalSize            int32    `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for listing builds. NEXT_TAG: 4

func (*ListBuildsResponse) Descriptor

func (*ListBuildsResponse) Descriptor() ([]byte, []int)

func (*ListBuildsResponse) GetBuilds

func (m *ListBuildsResponse) GetBuilds() []*Build

func (*ListBuildsResponse) GetNextPageToken

func (m *ListBuildsResponse) GetNextPageToken() string

func (*ListBuildsResponse) GetTotalSize

func (m *ListBuildsResponse) GetTotalSize() int32

func (*ListBuildsResponse) ProtoMessage

func (*ListBuildsResponse) ProtoMessage()

func (*ListBuildsResponse) Reset

func (m *ListBuildsResponse) Reset()

func (*ListBuildsResponse) String

func (m *ListBuildsResponse) String() string

func (*ListBuildsResponse) XXX_DiscardUnknown

func (m *ListBuildsResponse) XXX_DiscardUnknown()

func (*ListBuildsResponse) XXX_Marshal

func (m *ListBuildsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBuildsResponse) XXX_Merge

func (m *ListBuildsResponse) XXX_Merge(src proto.Message)

func (*ListBuildsResponse) XXX_Size

func (m *ListBuildsResponse) XXX_Size() int

func (*ListBuildsResponse) XXX_Unmarshal

func (m *ListBuildsResponse) XXX_Unmarshal(b []byte) error

type Milestone

type Milestone struct {
	// The resource name of the milestone.
	// Format: milestones/{milestone}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Resource that represents a chrome OS milestone.

func (*Milestone) Descriptor

func (*Milestone) Descriptor() ([]byte, []int)

func (*Milestone) GetName

func (m *Milestone) GetName() string

func (*Milestone) ProtoMessage

func (*Milestone) ProtoMessage()

func (*Milestone) Reset

func (m *Milestone) Reset()

func (*Milestone) String

func (m *Milestone) String() string

func (*Milestone) XXX_DiscardUnknown

func (m *Milestone) XXX_DiscardUnknown()

func (*Milestone) XXX_Marshal

func (m *Milestone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Milestone) XXX_Merge

func (m *Milestone) XXX_Merge(src proto.Message)

func (*Milestone) XXX_Size

func (m *Milestone) XXX_Size() int

func (*Milestone) XXX_Unmarshal

func (m *Milestone) XXX_Unmarshal(b []byte) error

type Model

type Model struct {
	// The resource name of the model.
	// Format: buildTargets/{build_target}/models/{model}
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Resource that represents a model. Each model belongs to a build target. For non-unified build, the model name is the same as its build target name.

func (*Model) Descriptor

func (*Model) Descriptor() ([]byte, []int)

func (*Model) GetName

func (m *Model) GetName() string

func (*Model) ProtoMessage

func (*Model) ProtoMessage()

func (*Model) Reset

func (m *Model) Reset()

func (*Model) String

func (m *Model) String() string

func (*Model) XXX_DiscardUnknown

func (m *Model) XXX_DiscardUnknown()

func (*Model) XXX_Marshal

func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Model) XXX_Merge

func (m *Model) XXX_Merge(src proto.Message)

func (*Model) XXX_Size

func (m *Model) XXX_Size() int

func (*Model) XXX_Unmarshal

func (m *Model) XXX_Unmarshal(b []byte) error

type StageBuildMetadata

type StageBuildMetadata struct {
	// Approximate percentage of progress, e.g. "50" means 50%.
	ProgressPercent float32 `protobuf:"fixed32,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// Build stage start time.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Build stage end time.
	EndTime              *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Metadata message for staging a build artifact. NEXT_TAG: 4

func (*StageBuildMetadata) Descriptor

func (*StageBuildMetadata) Descriptor() ([]byte, []int)

func (*StageBuildMetadata) GetEndTime

func (m *StageBuildMetadata) GetEndTime() *timestamp.Timestamp

func (*StageBuildMetadata) GetProgressPercent

func (m *StageBuildMetadata) GetProgressPercent() float32

func (*StageBuildMetadata) GetStartTime

func (m *StageBuildMetadata) GetStartTime() *timestamp.Timestamp

func (*StageBuildMetadata) ProtoMessage

func (*StageBuildMetadata) ProtoMessage()

func (*StageBuildMetadata) Reset

func (m *StageBuildMetadata) Reset()

func (*StageBuildMetadata) String

func (m *StageBuildMetadata) String() string

func (*StageBuildMetadata) XXX_DiscardUnknown

func (m *StageBuildMetadata) XXX_DiscardUnknown()

func (*StageBuildMetadata) XXX_Marshal

func (m *StageBuildMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageBuildMetadata) XXX_Merge

func (m *StageBuildMetadata) XXX_Merge(src proto.Message)

func (*StageBuildMetadata) XXX_Size

func (m *StageBuildMetadata) XXX_Size() int

func (*StageBuildMetadata) XXX_Unmarshal

func (m *StageBuildMetadata) XXX_Unmarshal(b []byte) error

type StageBuildRequest

type StageBuildRequest struct {
	// Required. The full resource name of the build artifact.
	// For example,
	// 'buildTargets/octopus/models/bobba/builds/12607.6.0/artifacts/chromeos-moblab-peng-staging'.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for staging a build artifact.

func (*StageBuildRequest) Descriptor

func (*StageBuildRequest) Descriptor() ([]byte, []int)

func (*StageBuildRequest) GetName

func (m *StageBuildRequest) GetName() string

func (*StageBuildRequest) ProtoMessage

func (*StageBuildRequest) ProtoMessage()

func (*StageBuildRequest) Reset

func (m *StageBuildRequest) Reset()

func (*StageBuildRequest) String

func (m *StageBuildRequest) String() string

func (*StageBuildRequest) XXX_DiscardUnknown

func (m *StageBuildRequest) XXX_DiscardUnknown()

func (*StageBuildRequest) XXX_Marshal

func (m *StageBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageBuildRequest) XXX_Merge

func (m *StageBuildRequest) XXX_Merge(src proto.Message)

func (*StageBuildRequest) XXX_Size

func (m *StageBuildRequest) XXX_Size() int

func (*StageBuildRequest) XXX_Unmarshal

func (m *StageBuildRequest) XXX_Unmarshal(b []byte) error

type StageBuildResponse

type StageBuildResponse struct {
	// The staged build in the destination bucket.
	StagedBuildArtifact  *BuildArtifact `protobuf:"bytes,1,opt,name=staged_build_artifact,json=stagedBuildArtifact,proto3" json:"staged_build_artifact,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Response message for staging a build artifact.

func (*StageBuildResponse) Descriptor

func (*StageBuildResponse) Descriptor() ([]byte, []int)

func (*StageBuildResponse) GetStagedBuildArtifact

func (m *StageBuildResponse) GetStagedBuildArtifact() *BuildArtifact

func (*StageBuildResponse) ProtoMessage

func (*StageBuildResponse) ProtoMessage()

func (*StageBuildResponse) Reset

func (m *StageBuildResponse) Reset()

func (*StageBuildResponse) String

func (m *StageBuildResponse) String() string

func (*StageBuildResponse) XXX_DiscardUnknown

func (m *StageBuildResponse) XXX_DiscardUnknown()

func (*StageBuildResponse) XXX_Marshal

func (m *StageBuildResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageBuildResponse) XXX_Merge

func (m *StageBuildResponse) XXX_Merge(src proto.Message)

func (*StageBuildResponse) XXX_Size

func (m *StageBuildResponse) XXX_Size() int

func (*StageBuildResponse) XXX_Unmarshal

func (m *StageBuildResponse) XXX_Unmarshal(b []byte) error

type UnimplementedBuildServiceServer

type UnimplementedBuildServiceServer struct {
}

UnimplementedBuildServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBuildServiceServer) CheckBuildStageStatus

func (*UnimplementedBuildServiceServer) ListBuilds

func (*UnimplementedBuildServiceServer) StageBuild

Jump to

Keyboard shortcuts

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