milo

package
v0.0.0-...-a0a3655 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileDescriptorSet

func FileDescriptorSet() *descriptor.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterBuildInfoServer

func RegisterBuildInfoServer(s prpc.Registrar, srv BuildInfoServer)

func RegisterBuildbotServer

func RegisterBuildbotServer(s prpc.Registrar, srv BuildbotServer)

Types

type BuildInfoClient

type BuildInfoClient interface {
	Get(ctx context.Context, in *BuildInfoRequest, opts ...grpc.CallOption) (*BuildInfoResponse, error)
}

BuildInfoClient is the client API for BuildInfo service.

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

func NewBuildInfoClient

func NewBuildInfoClient(cc *grpc.ClientConn) BuildInfoClient

func NewBuildInfoPRPCClient

func NewBuildInfoPRPCClient(client *prpc.Client) BuildInfoClient

type BuildInfoRequest

type BuildInfoRequest struct {
	// Types that are valid to be assigned to Build:
	//	*BuildInfoRequest_Buildbot
	//	*BuildInfoRequest_Swarming_
	//	*BuildInfoRequest_Buildbucket_
	Build isBuildInfoRequest_Build `protobuf_oneof:"build"`
	// Project hint is a LUCI project suggestion for this build. Some builds,
	// notably older ones, may not contain enough metadata to resolve their
	// project. Resolution may succeed if this hint is provided and correct.
	//
	// This field is optional, and its use is discouraged unless necessary.
	ProjectHint          string   `protobuf:"bytes,11,opt,name=project_hint,json=projectHint,proto3" json:"project_hint,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BuildInfoRequest) Descriptor

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

func (*BuildInfoRequest) GetBuild

func (m *BuildInfoRequest) GetBuild() isBuildInfoRequest_Build

func (*BuildInfoRequest) GetBuildbot

func (m *BuildInfoRequest) GetBuildbot() *BuildInfoRequest_BuildBot

func (*BuildInfoRequest) GetBuildbucket

func (m *BuildInfoRequest) GetBuildbucket() *BuildInfoRequest_Buildbucket

func (*BuildInfoRequest) GetProjectHint

func (m *BuildInfoRequest) GetProjectHint() string

func (*BuildInfoRequest) GetSwarming

func (m *BuildInfoRequest) GetSwarming() *BuildInfoRequest_Swarming

func (*BuildInfoRequest) ProtoMessage

func (*BuildInfoRequest) ProtoMessage()

func (*BuildInfoRequest) Reset

func (m *BuildInfoRequest) Reset()

func (*BuildInfoRequest) String

func (m *BuildInfoRequest) String() string

func (*BuildInfoRequest) XXX_DiscardUnknown

func (m *BuildInfoRequest) XXX_DiscardUnknown()

func (*BuildInfoRequest) XXX_Marshal

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

func (*BuildInfoRequest) XXX_Merge

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

func (*BuildInfoRequest) XXX_OneofWrappers

func (*BuildInfoRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BuildInfoRequest) XXX_Size

func (m *BuildInfoRequest) XXX_Size() int

func (*BuildInfoRequest) XXX_Unmarshal

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

type BuildInfoRequest_BuildBot

type BuildInfoRequest_BuildBot struct {
	// The master name.
	MasterName string `protobuf:"bytes,1,opt,name=master_name,json=masterName,proto3" json:"master_name,omitempty"`
	// The builder name server.
	BuilderName string `protobuf:"bytes,2,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"`
	// The build number.
	BuildNumber          int64    `protobuf:"varint,3,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request for the name of a BuildBot built.

func (*BuildInfoRequest_BuildBot) Descriptor

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

func (*BuildInfoRequest_BuildBot) GetBuildNumber

func (m *BuildInfoRequest_BuildBot) GetBuildNumber() int64

func (*BuildInfoRequest_BuildBot) GetBuilderName

func (m *BuildInfoRequest_BuildBot) GetBuilderName() string

func (*BuildInfoRequest_BuildBot) GetMasterName

func (m *BuildInfoRequest_BuildBot) GetMasterName() string

func (*BuildInfoRequest_BuildBot) ProtoMessage

func (*BuildInfoRequest_BuildBot) ProtoMessage()

func (*BuildInfoRequest_BuildBot) Reset

func (m *BuildInfoRequest_BuildBot) Reset()

func (*BuildInfoRequest_BuildBot) String

func (m *BuildInfoRequest_BuildBot) String() string

func (*BuildInfoRequest_BuildBot) XXX_DiscardUnknown

func (m *BuildInfoRequest_BuildBot) XXX_DiscardUnknown()

func (*BuildInfoRequest_BuildBot) XXX_Marshal

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

func (*BuildInfoRequest_BuildBot) XXX_Merge

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

func (*BuildInfoRequest_BuildBot) XXX_Size

func (m *BuildInfoRequest_BuildBot) XXX_Size() int

func (*BuildInfoRequest_BuildBot) XXX_Unmarshal

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

type BuildInfoRequest_Buildbot

type BuildInfoRequest_Buildbot struct {
	Buildbot *BuildInfoRequest_BuildBot `protobuf:"bytes,1,opt,name=buildbot,proto3,oneof"`
}

type BuildInfoRequest_Buildbucket

type BuildInfoRequest_Buildbucket struct {
	// The build ID of the buildbucket build.
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request containing a BuildBucket build.

func (*BuildInfoRequest_Buildbucket) Descriptor

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

func (*BuildInfoRequest_Buildbucket) GetId

func (*BuildInfoRequest_Buildbucket) ProtoMessage

func (*BuildInfoRequest_Buildbucket) ProtoMessage()

func (*BuildInfoRequest_Buildbucket) Reset

func (m *BuildInfoRequest_Buildbucket) Reset()

func (*BuildInfoRequest_Buildbucket) String

func (*BuildInfoRequest_Buildbucket) XXX_DiscardUnknown

func (m *BuildInfoRequest_Buildbucket) XXX_DiscardUnknown()

func (*BuildInfoRequest_Buildbucket) XXX_Marshal

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

func (*BuildInfoRequest_Buildbucket) XXX_Merge

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

func (*BuildInfoRequest_Buildbucket) XXX_Size

func (m *BuildInfoRequest_Buildbucket) XXX_Size() int

func (*BuildInfoRequest_Buildbucket) XXX_Unmarshal

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

type BuildInfoRequest_Buildbucket_

type BuildInfoRequest_Buildbucket_ struct {
	Buildbucket *BuildInfoRequest_Buildbucket `protobuf:"bytes,3,opt,name=buildbucket,proto3,oneof"`
}

type BuildInfoRequest_Swarming

type BuildInfoRequest_Swarming struct {
	// Host is the hostname of the Swarming server to connect to
	// (e.g., "swarming.example.com").
	//
	// This is optional. If omitted or empty, Milo's default Swarming server
	// will be used.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The Swarming task name.
	Task                 string   `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request containing a Swarming task.

func (*BuildInfoRequest_Swarming) Descriptor

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

func (*BuildInfoRequest_Swarming) GetHost

func (m *BuildInfoRequest_Swarming) GetHost() string

func (*BuildInfoRequest_Swarming) GetTask

func (m *BuildInfoRequest_Swarming) GetTask() string

func (*BuildInfoRequest_Swarming) ProtoMessage

func (*BuildInfoRequest_Swarming) ProtoMessage()

func (*BuildInfoRequest_Swarming) Reset

func (m *BuildInfoRequest_Swarming) Reset()

func (*BuildInfoRequest_Swarming) String

func (m *BuildInfoRequest_Swarming) String() string

func (*BuildInfoRequest_Swarming) XXX_DiscardUnknown

func (m *BuildInfoRequest_Swarming) XXX_DiscardUnknown()

func (*BuildInfoRequest_Swarming) XXX_Marshal

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

func (*BuildInfoRequest_Swarming) XXX_Merge

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

func (*BuildInfoRequest_Swarming) XXX_Size

func (m *BuildInfoRequest_Swarming) XXX_Size() int

func (*BuildInfoRequest_Swarming) XXX_Unmarshal

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

type BuildInfoRequest_Swarming_

type BuildInfoRequest_Swarming_ struct {
	Swarming *BuildInfoRequest_Swarming `protobuf:"bytes,2,opt,name=swarming,proto3,oneof"`
}

type BuildInfoResponse

type BuildInfoResponse struct {
	// The LUCI project that this build belongs to.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The main build step.
	Step *milo.Step `protobuf:"bytes,2,opt,name=step,proto3" json:"step,omitempty"`
	// The LogDog annotation stream for this build. The Prefix will be populated
	// and can be used as the prefix for any un-prefixed LogdogStream in "step".
	AnnotationStream     *milo.LogdogStream `protobuf:"bytes,3,opt,name=annotation_stream,json=annotationStream,proto3" json:"annotation_stream,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

The request containing the name of the master.

func (*BuildInfoResponse) Descriptor

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

func (*BuildInfoResponse) GetAnnotationStream

func (m *BuildInfoResponse) GetAnnotationStream() *milo.LogdogStream

func (*BuildInfoResponse) GetProject

func (m *BuildInfoResponse) GetProject() string

func (*BuildInfoResponse) GetStep

func (m *BuildInfoResponse) GetStep() *milo.Step

func (*BuildInfoResponse) ProtoMessage

func (*BuildInfoResponse) ProtoMessage()

func (*BuildInfoResponse) Reset

func (m *BuildInfoResponse) Reset()

func (*BuildInfoResponse) String

func (m *BuildInfoResponse) String() string

func (*BuildInfoResponse) XXX_DiscardUnknown

func (m *BuildInfoResponse) XXX_DiscardUnknown()

func (*BuildInfoResponse) XXX_Marshal

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

func (*BuildInfoResponse) XXX_Merge

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

func (*BuildInfoResponse) XXX_Size

func (m *BuildInfoResponse) XXX_Size() int

func (*BuildInfoResponse) XXX_Unmarshal

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

type BuildInfoServer

type BuildInfoServer interface {
	Get(context.Context, *BuildInfoRequest) (*BuildInfoResponse, error)
}

BuildInfoServer is the server API for BuildInfo service.

type BuildbotBuildJSON

type BuildbotBuildJSON struct {
	// Json data of the build.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The response message for a specific build.

func (*BuildbotBuildJSON) Descriptor

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

func (*BuildbotBuildJSON) GetData

func (m *BuildbotBuildJSON) GetData() []byte

func (*BuildbotBuildJSON) ProtoMessage

func (*BuildbotBuildJSON) ProtoMessage()

func (*BuildbotBuildJSON) Reset

func (m *BuildbotBuildJSON) Reset()

func (*BuildbotBuildJSON) String

func (m *BuildbotBuildJSON) String() string

func (*BuildbotBuildJSON) XXX_DiscardUnknown

func (m *BuildbotBuildJSON) XXX_DiscardUnknown()

func (*BuildbotBuildJSON) XXX_Marshal

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

func (*BuildbotBuildJSON) XXX_Merge

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

func (*BuildbotBuildJSON) XXX_Size

func (m *BuildbotBuildJSON) XXX_Size() int

func (*BuildbotBuildJSON) XXX_Unmarshal

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

type BuildbotBuildRequest

type BuildbotBuildRequest struct {
	Master   string `protobuf:"bytes,1,opt,name=master,proto3" json:"master,omitempty"`
	Builder  string `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"`
	BuildNum int64  `protobuf:"varint,3,opt,name=build_num,json=buildNum,proto3" json:"build_num,omitempty"`
	// if true, exclude response data that the foundation team is actively trying
	// to deprecate:
	// - slave info
	ExcludeDeprecated    bool     `protobuf:"varint,10,opt,name=exclude_deprecated,json=excludeDeprecated,proto3" json:"exclude_deprecated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request for a specific build.

func (*BuildbotBuildRequest) Descriptor

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

func (*BuildbotBuildRequest) GetBuildNum

func (m *BuildbotBuildRequest) GetBuildNum() int64

func (*BuildbotBuildRequest) GetBuilder

func (m *BuildbotBuildRequest) GetBuilder() string

func (*BuildbotBuildRequest) GetExcludeDeprecated

func (m *BuildbotBuildRequest) GetExcludeDeprecated() bool

func (*BuildbotBuildRequest) GetMaster

func (m *BuildbotBuildRequest) GetMaster() string

func (*BuildbotBuildRequest) ProtoMessage

func (*BuildbotBuildRequest) ProtoMessage()

func (*BuildbotBuildRequest) Reset

func (m *BuildbotBuildRequest) Reset()

func (*BuildbotBuildRequest) String

func (m *BuildbotBuildRequest) String() string

func (*BuildbotBuildRequest) XXX_DiscardUnknown

func (m *BuildbotBuildRequest) XXX_DiscardUnknown()

func (*BuildbotBuildRequest) XXX_Marshal

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

func (*BuildbotBuildRequest) XXX_Merge

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

func (*BuildbotBuildRequest) XXX_Size

func (m *BuildbotBuildRequest) XXX_Size() int

func (*BuildbotBuildRequest) XXX_Unmarshal

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

type BuildbotBuildsJSON

type BuildbotBuildsJSON struct {
	// builds is the list of builds resulting from the builds request.
	Builds               []*BuildbotBuildJSON `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The response message for multiple builds in a builder.

func (*BuildbotBuildsJSON) Descriptor

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

func (*BuildbotBuildsJSON) GetBuilds

func (m *BuildbotBuildsJSON) GetBuilds() []*BuildbotBuildJSON

func (*BuildbotBuildsJSON) ProtoMessage

func (*BuildbotBuildsJSON) ProtoMessage()

func (*BuildbotBuildsJSON) Reset

func (m *BuildbotBuildsJSON) Reset()

func (*BuildbotBuildsJSON) String

func (m *BuildbotBuildsJSON) String() string

func (*BuildbotBuildsJSON) XXX_DiscardUnknown

func (m *BuildbotBuildsJSON) XXX_DiscardUnknown()

func (*BuildbotBuildsJSON) XXX_Marshal

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

func (*BuildbotBuildsJSON) XXX_Merge

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

func (*BuildbotBuildsJSON) XXX_Size

func (m *BuildbotBuildsJSON) XXX_Size() int

func (*BuildbotBuildsJSON) XXX_Unmarshal

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

type BuildbotBuildsRequest

type BuildbotBuildsRequest struct {
	Master  string `protobuf:"bytes,1,opt,name=master,proto3" json:"master,omitempty"`
	Builder string `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"`
	// Limit to the number of builds to return (default: 20).
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// Include ongoing builds (default: false).
	IncludeCurrent bool `protobuf:"varint,4,opt,name=include_current,json=includeCurrent,proto3" json:"include_current,omitempty"`
	// if true, exclude response data that the foundation team is actively trying
	// to deprecate:
	// - slave info
	ExcludeDeprecated bool `protobuf:"varint,10,opt,name=exclude_deprecated,json=excludeDeprecated,proto3" json:"exclude_deprecated,omitempty"`
	// If true, turn off emulation mode.
	NoEmulation          bool     `protobuf:"varint,11,opt,name=no_emulation,json=noEmulation,proto3" json:"no_emulation,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request for multiple build on a builder.

func (*BuildbotBuildsRequest) Descriptor

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

func (*BuildbotBuildsRequest) GetBuilder

func (m *BuildbotBuildsRequest) GetBuilder() string

func (*BuildbotBuildsRequest) GetExcludeDeprecated

func (m *BuildbotBuildsRequest) GetExcludeDeprecated() bool

func (*BuildbotBuildsRequest) GetIncludeCurrent

func (m *BuildbotBuildsRequest) GetIncludeCurrent() bool

func (*BuildbotBuildsRequest) GetLimit

func (m *BuildbotBuildsRequest) GetLimit() int32

func (*BuildbotBuildsRequest) GetMaster

func (m *BuildbotBuildsRequest) GetMaster() string

func (*BuildbotBuildsRequest) GetNoEmulation

func (m *BuildbotBuildsRequest) GetNoEmulation() bool

func (*BuildbotBuildsRequest) ProtoMessage

func (*BuildbotBuildsRequest) ProtoMessage()

func (*BuildbotBuildsRequest) Reset

func (m *BuildbotBuildsRequest) Reset()

func (*BuildbotBuildsRequest) String

func (m *BuildbotBuildsRequest) String() string

func (*BuildbotBuildsRequest) XXX_DiscardUnknown

func (m *BuildbotBuildsRequest) XXX_DiscardUnknown()

func (*BuildbotBuildsRequest) XXX_Marshal

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

func (*BuildbotBuildsRequest) XXX_Merge

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

func (*BuildbotBuildsRequest) XXX_Size

func (m *BuildbotBuildsRequest) XXX_Size() int

func (*BuildbotBuildsRequest) XXX_Unmarshal

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

type BuildbotClient

type BuildbotClient interface {
	GetCompressedMasterJSON(ctx context.Context, in *MasterRequest, opts ...grpc.CallOption) (*CompressedMasterJSON, error)
	GetBuildbotBuildJSON(ctx context.Context, in *BuildbotBuildRequest, opts ...grpc.CallOption) (*BuildbotBuildJSON, error)
	GetBuildbotBuildsJSON(ctx context.Context, in *BuildbotBuildsRequest, opts ...grpc.CallOption) (*BuildbotBuildsJSON, error)
}

BuildbotClient is the client API for Buildbot service.

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

func NewBuildbotClient

func NewBuildbotClient(cc *grpc.ClientConn) BuildbotClient

func NewBuildbotPRPCClient

func NewBuildbotPRPCClient(client *prpc.Client) BuildbotClient

type BuildbotServer

type BuildbotServer interface {
	GetCompressedMasterJSON(context.Context, *MasterRequest) (*CompressedMasterJSON, error)
	GetBuildbotBuildJSON(context.Context, *BuildbotBuildRequest) (*BuildbotBuildJSON, error)
	GetBuildbotBuildsJSON(context.Context, *BuildbotBuildsRequest) (*BuildbotBuildsJSON, error)
}

BuildbotServer is the server API for Buildbot service.

type CompressedMasterJSON

type CompressedMasterJSON struct {
	// Whether the master is internal or not.
	Internal bool `protobuf:"varint,1,opt,name=internal,proto3" json:"internal,omitempty"`
	// Timestamp of the freshness of the master data.
	Modified *timestamp.Timestamp `protobuf:"bytes,2,opt,name=modified,proto3" json:"modified,omitempty"`
	// Gzipped json data of the master.
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The response message containing master information.

func (*CompressedMasterJSON) Descriptor

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

func (*CompressedMasterJSON) GetData

func (m *CompressedMasterJSON) GetData() []byte

func (*CompressedMasterJSON) GetInternal

func (m *CompressedMasterJSON) GetInternal() bool

func (*CompressedMasterJSON) GetModified

func (m *CompressedMasterJSON) GetModified() *timestamp.Timestamp

func (*CompressedMasterJSON) ProtoMessage

func (*CompressedMasterJSON) ProtoMessage()

func (*CompressedMasterJSON) Reset

func (m *CompressedMasterJSON) Reset()

func (*CompressedMasterJSON) String

func (m *CompressedMasterJSON) String() string

func (*CompressedMasterJSON) XXX_DiscardUnknown

func (m *CompressedMasterJSON) XXX_DiscardUnknown()

func (*CompressedMasterJSON) XXX_Marshal

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

func (*CompressedMasterJSON) XXX_Merge

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

func (*CompressedMasterJSON) XXX_Size

func (m *CompressedMasterJSON) XXX_Size() int

func (*CompressedMasterJSON) XXX_Unmarshal

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

type DecoratedBuildInfo

type DecoratedBuildInfo struct {
	// Service is the service to decorate.
	Service BuildInfoServer
	// Prelude is called for each method before forwarding the call to Service.
	// If Prelude returns an error, then the call is skipped and the error is
	// processed via the Postlude (if one is defined), or it is returned directly.
	Prelude func(c context.Context, methodName string, req proto.Message) (context.Context, error)
	// Postlude is called for each method after Service has processed the call, or
	// after the Prelude has returned an error. This takes the the Service's
	// response proto (which may be nil) and/or any error. The decorated
	// service will return the response (possibly mutated) and error that Postlude
	// returns.
	Postlude func(c context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedBuildInfo) Get

type DecoratedBuildbot

type DecoratedBuildbot struct {
	// Service is the service to decorate.
	Service BuildbotServer
	// Prelude is called for each method before forwarding the call to Service.
	// If Prelude returns an error, then the call is skipped and the error is
	// processed via the Postlude (if one is defined), or it is returned directly.
	Prelude func(c context.Context, methodName string, req proto.Message) (context.Context, error)
	// Postlude is called for each method after Service has processed the call, or
	// after the Prelude has returned an error. This takes the the Service's
	// response proto (which may be nil) and/or any error. The decorated
	// service will return the response (possibly mutated) and error that Postlude
	// returns.
	Postlude func(c context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedBuildbot) GetBuildbotBuildJSON

func (s *DecoratedBuildbot) GetBuildbotBuildJSON(c context.Context, req *BuildbotBuildRequest) (rsp *BuildbotBuildJSON, err error)

func (*DecoratedBuildbot) GetBuildbotBuildsJSON

func (s *DecoratedBuildbot) GetBuildbotBuildsJSON(c context.Context, req *BuildbotBuildsRequest) (rsp *BuildbotBuildsJSON, err error)

func (*DecoratedBuildbot) GetCompressedMasterJSON

func (s *DecoratedBuildbot) GetCompressedMasterJSON(c context.Context, req *MasterRequest) (rsp *CompressedMasterJSON, err error)

type MasterRequest

type MasterRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// if true, exclude response data that the foundation team is actively trying
	// to deprecate:
	// - slave info
	ExcludeDeprecated bool `protobuf:"varint,10,opt,name=exclude_deprecated,json=excludeDeprecated,proto3" json:"exclude_deprecated,omitempty"`
	// If true, turn off emulation mode.
	NoEmulation          bool     `protobuf:"varint,11,opt,name=no_emulation,json=noEmulation,proto3" json:"no_emulation,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request containing the name of the master.

func (*MasterRequest) Descriptor

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

func (*MasterRequest) GetExcludeDeprecated

func (m *MasterRequest) GetExcludeDeprecated() bool

func (*MasterRequest) GetName

func (m *MasterRequest) GetName() string

func (*MasterRequest) GetNoEmulation

func (m *MasterRequest) GetNoEmulation() bool

func (*MasterRequest) ProtoMessage

func (*MasterRequest) ProtoMessage()

func (*MasterRequest) Reset

func (m *MasterRequest) Reset()

func (*MasterRequest) String

func (m *MasterRequest) String() string

func (*MasterRequest) XXX_DiscardUnknown

func (m *MasterRequest) XXX_DiscardUnknown()

func (*MasterRequest) XXX_Marshal

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

func (*MasterRequest) XXX_Merge

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

func (*MasterRequest) XXX_Size

func (m *MasterRequest) XXX_Size() int

func (*MasterRequest) XXX_Unmarshal

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

type UnimplementedBuildInfoServer

type UnimplementedBuildInfoServer struct {
}

UnimplementedBuildInfoServer can be embedded to have forward compatible implementations.

func (*UnimplementedBuildInfoServer) Get

type UnimplementedBuildbotServer

type UnimplementedBuildbotServer struct {
}

UnimplementedBuildbotServer can be embedded to have forward compatible implementations.

func (*UnimplementedBuildbotServer) GetBuildbotBuildJSON

func (*UnimplementedBuildbotServer) GetBuildbotBuildsJSON

func (*UnimplementedBuildbotServer) GetCompressedMasterJSON

func (*UnimplementedBuildbotServer) GetCompressedMasterJSON(ctx context.Context, req *MasterRequest) (*CompressedMasterJSON, error)

Jump to

Keyboard shortcuts

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