luci: go.chromium.org/luci/milo/api/proto Index | Files

package milo

import "go.chromium.org/luci/milo/api/proto"

Index

Package Files

buildbot.pb.go buildbotserver_dec.go buildinfo.pb.go buildinfoserver_dec.go generate.go pb.discovery.go

func FileDescriptorSet Uses

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 Uses

func RegisterBuildInfoServer(s prpc.Registrar, srv BuildInfoServer)

func RegisterBuildbotServer Uses

func RegisterBuildbotServer(s prpc.Registrar, srv BuildbotServer)

type BuildInfoClient Uses

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 Uses

func NewBuildInfoClient(cc *grpc.ClientConn) BuildInfoClient

func NewBuildInfoPRPCClient Uses

func NewBuildInfoPRPCClient(client *prpc.Client) BuildInfoClient

type BuildInfoRequest Uses

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" json:"project_hint,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*BuildInfoRequest) Descriptor Uses

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

func (*BuildInfoRequest) GetBuild Uses

func (m *BuildInfoRequest) GetBuild() isBuildInfoRequest_Build

func (*BuildInfoRequest) GetBuildbot Uses

func (m *BuildInfoRequest) GetBuildbot() *BuildInfoRequest_BuildBot

func (*BuildInfoRequest) GetBuildbucket Uses

func (m *BuildInfoRequest) GetBuildbucket() *BuildInfoRequest_Buildbucket

func (*BuildInfoRequest) GetProjectHint Uses

func (m *BuildInfoRequest) GetProjectHint() string

func (*BuildInfoRequest) GetSwarming Uses

func (m *BuildInfoRequest) GetSwarming() *BuildInfoRequest_Swarming

func (*BuildInfoRequest) ProtoMessage Uses

func (*BuildInfoRequest) ProtoMessage()

func (*BuildInfoRequest) Reset Uses

func (m *BuildInfoRequest) Reset()

func (*BuildInfoRequest) String Uses

func (m *BuildInfoRequest) String() string

func (*BuildInfoRequest) XXX_DiscardUnknown Uses

func (m *BuildInfoRequest) XXX_DiscardUnknown()

func (*BuildInfoRequest) XXX_Marshal Uses

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

func (*BuildInfoRequest) XXX_Merge Uses

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

func (*BuildInfoRequest) XXX_OneofFuncs Uses

func (*BuildInfoRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*BuildInfoRequest) XXX_Size Uses

func (m *BuildInfoRequest) XXX_Size() int

func (*BuildInfoRequest) XXX_Unmarshal Uses

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

type BuildInfoRequest_BuildBot Uses

type BuildInfoRequest_BuildBot struct {
    // The master name.
    MasterName string `protobuf:"bytes,1,opt,name=master_name,json=masterName" json:"master_name,omitempty"`
    // The builder name server.
    BuilderName string `protobuf:"bytes,2,opt,name=builder_name,json=builderName" json:"builder_name,omitempty"`
    // The build number.
    BuildNumber          int64    `protobuf:"varint,3,opt,name=build_number,json=buildNumber" 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 Uses

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

func (*BuildInfoRequest_BuildBot) GetBuildNumber Uses

func (m *BuildInfoRequest_BuildBot) GetBuildNumber() int64

func (*BuildInfoRequest_BuildBot) GetBuilderName Uses

func (m *BuildInfoRequest_BuildBot) GetBuilderName() string

func (*BuildInfoRequest_BuildBot) GetMasterName Uses

func (m *BuildInfoRequest_BuildBot) GetMasterName() string

func (*BuildInfoRequest_BuildBot) ProtoMessage Uses

func (*BuildInfoRequest_BuildBot) ProtoMessage()

func (*BuildInfoRequest_BuildBot) Reset Uses

func (m *BuildInfoRequest_BuildBot) Reset()

func (*BuildInfoRequest_BuildBot) String Uses

func (m *BuildInfoRequest_BuildBot) String() string

func (*BuildInfoRequest_BuildBot) XXX_DiscardUnknown Uses

func (m *BuildInfoRequest_BuildBot) XXX_DiscardUnknown()

func (*BuildInfoRequest_BuildBot) XXX_Marshal Uses

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

func (*BuildInfoRequest_BuildBot) XXX_Merge Uses

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

func (*BuildInfoRequest_BuildBot) XXX_Size Uses

func (m *BuildInfoRequest_BuildBot) XXX_Size() int

func (*BuildInfoRequest_BuildBot) XXX_Unmarshal Uses

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

type BuildInfoRequest_Buildbot Uses

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

type BuildInfoRequest_Buildbucket Uses

type BuildInfoRequest_Buildbucket struct {
    // The build ID of the buildbucket build.
    Id                   int64    `protobuf:"varint,1,opt,name=id" 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 Uses

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

func (*BuildInfoRequest_Buildbucket) GetId Uses

func (m *BuildInfoRequest_Buildbucket) GetId() int64

func (*BuildInfoRequest_Buildbucket) ProtoMessage Uses

func (*BuildInfoRequest_Buildbucket) ProtoMessage()

func (*BuildInfoRequest_Buildbucket) Reset Uses

func (m *BuildInfoRequest_Buildbucket) Reset()

func (*BuildInfoRequest_Buildbucket) String Uses

func (m *BuildInfoRequest_Buildbucket) String() string

func (*BuildInfoRequest_Buildbucket) XXX_DiscardUnknown Uses

func (m *BuildInfoRequest_Buildbucket) XXX_DiscardUnknown()

func (*BuildInfoRequest_Buildbucket) XXX_Marshal Uses

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

func (*BuildInfoRequest_Buildbucket) XXX_Merge Uses

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

func (*BuildInfoRequest_Buildbucket) XXX_Size Uses

func (m *BuildInfoRequest_Buildbucket) XXX_Size() int

func (*BuildInfoRequest_Buildbucket) XXX_Unmarshal Uses

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

type BuildInfoRequest_Buildbucket_ Uses

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

type BuildInfoRequest_Swarming Uses

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" json:"host,omitempty"`
    // The Swarming task name.
    Task                 string   `protobuf:"bytes,2,opt,name=task" 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 Uses

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

func (*BuildInfoRequest_Swarming) GetHost Uses

func (m *BuildInfoRequest_Swarming) GetHost() string

func (*BuildInfoRequest_Swarming) GetTask Uses

func (m *BuildInfoRequest_Swarming) GetTask() string

func (*BuildInfoRequest_Swarming) ProtoMessage Uses

func (*BuildInfoRequest_Swarming) ProtoMessage()

func (*BuildInfoRequest_Swarming) Reset Uses

func (m *BuildInfoRequest_Swarming) Reset()

func (*BuildInfoRequest_Swarming) String Uses

func (m *BuildInfoRequest_Swarming) String() string

func (*BuildInfoRequest_Swarming) XXX_DiscardUnknown Uses

func (m *BuildInfoRequest_Swarming) XXX_DiscardUnknown()

func (*BuildInfoRequest_Swarming) XXX_Marshal Uses

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

func (*BuildInfoRequest_Swarming) XXX_Merge Uses

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

func (*BuildInfoRequest_Swarming) XXX_Size Uses

func (m *BuildInfoRequest_Swarming) XXX_Size() int

func (*BuildInfoRequest_Swarming) XXX_Unmarshal Uses

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

type BuildInfoRequest_Swarming_ Uses

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

type BuildInfoResponse Uses

type BuildInfoResponse struct {
    // The LUCI project that this build belongs to.
    Project string `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
    // The main build step.
    Step *milo.Step `protobuf:"bytes,2,opt,name=step" 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" 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 Uses

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

func (*BuildInfoResponse) GetAnnotationStream Uses

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

func (*BuildInfoResponse) GetProject Uses

func (m *BuildInfoResponse) GetProject() string

func (*BuildInfoResponse) GetStep Uses

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

func (*BuildInfoResponse) ProtoMessage Uses

func (*BuildInfoResponse) ProtoMessage()

func (*BuildInfoResponse) Reset Uses

func (m *BuildInfoResponse) Reset()

func (*BuildInfoResponse) String Uses

func (m *BuildInfoResponse) String() string

func (*BuildInfoResponse) XXX_DiscardUnknown Uses

func (m *BuildInfoResponse) XXX_DiscardUnknown()

func (*BuildInfoResponse) XXX_Marshal Uses

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

func (*BuildInfoResponse) XXX_Merge Uses

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

func (*BuildInfoResponse) XXX_Size Uses

func (m *BuildInfoResponse) XXX_Size() int

func (*BuildInfoResponse) XXX_Unmarshal Uses

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

type BuildInfoServer Uses

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

BuildInfoServer is the server API for BuildInfo service.

type BuildbotBuildJSON Uses

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 Uses

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

func (*BuildbotBuildJSON) GetData Uses

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

func (*BuildbotBuildJSON) ProtoMessage Uses

func (*BuildbotBuildJSON) ProtoMessage()

func (*BuildbotBuildJSON) Reset Uses

func (m *BuildbotBuildJSON) Reset()

func (*BuildbotBuildJSON) String Uses

func (m *BuildbotBuildJSON) String() string

func (*BuildbotBuildJSON) XXX_DiscardUnknown Uses

func (m *BuildbotBuildJSON) XXX_DiscardUnknown()

func (*BuildbotBuildJSON) XXX_Marshal Uses

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

func (*BuildbotBuildJSON) XXX_Merge Uses

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

func (*BuildbotBuildJSON) XXX_Size Uses

func (m *BuildbotBuildJSON) XXX_Size() int

func (*BuildbotBuildJSON) XXX_Unmarshal Uses

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

type BuildbotBuildRequest Uses

type BuildbotBuildRequest struct {
    Master   string `protobuf:"bytes,1,opt,name=master" json:"master,omitempty"`
    Builder  string `protobuf:"bytes,2,opt,name=builder" json:"builder,omitempty"`
    BuildNum int64  `protobuf:"varint,3,opt,name=build_num,json=buildNum" 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" 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 Uses

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

func (*BuildbotBuildRequest) GetBuildNum Uses

func (m *BuildbotBuildRequest) GetBuildNum() int64

func (*BuildbotBuildRequest) GetBuilder Uses

func (m *BuildbotBuildRequest) GetBuilder() string

func (*BuildbotBuildRequest) GetExcludeDeprecated Uses

func (m *BuildbotBuildRequest) GetExcludeDeprecated() bool

func (*BuildbotBuildRequest) GetMaster Uses

func (m *BuildbotBuildRequest) GetMaster() string

func (*BuildbotBuildRequest) ProtoMessage Uses

func (*BuildbotBuildRequest) ProtoMessage()

func (*BuildbotBuildRequest) Reset Uses

func (m *BuildbotBuildRequest) Reset()

func (*BuildbotBuildRequest) String Uses

func (m *BuildbotBuildRequest) String() string

func (*BuildbotBuildRequest) XXX_DiscardUnknown Uses

func (m *BuildbotBuildRequest) XXX_DiscardUnknown()

func (*BuildbotBuildRequest) XXX_Marshal Uses

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

func (*BuildbotBuildRequest) XXX_Merge Uses

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

func (*BuildbotBuildRequest) XXX_Size Uses

func (m *BuildbotBuildRequest) XXX_Size() int

func (*BuildbotBuildRequest) XXX_Unmarshal Uses

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

type BuildbotBuildsJSON Uses

type BuildbotBuildsJSON struct {
    // builds is the list of builds resulting from the builds request.
    Builds               []*BuildbotBuildJSON `protobuf:"bytes,1,rep,name=builds" 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 Uses

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

func (*BuildbotBuildsJSON) GetBuilds Uses

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

func (*BuildbotBuildsJSON) ProtoMessage Uses

func (*BuildbotBuildsJSON) ProtoMessage()

func (*BuildbotBuildsJSON) Reset Uses

func (m *BuildbotBuildsJSON) Reset()

func (*BuildbotBuildsJSON) String Uses

func (m *BuildbotBuildsJSON) String() string

func (*BuildbotBuildsJSON) XXX_DiscardUnknown Uses

func (m *BuildbotBuildsJSON) XXX_DiscardUnknown()

func (*BuildbotBuildsJSON) XXX_Marshal Uses

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

func (*BuildbotBuildsJSON) XXX_Merge Uses

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

func (*BuildbotBuildsJSON) XXX_Size Uses

func (m *BuildbotBuildsJSON) XXX_Size() int

func (*BuildbotBuildsJSON) XXX_Unmarshal Uses

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

type BuildbotBuildsRequest Uses

type BuildbotBuildsRequest struct {
    Master  string `protobuf:"bytes,1,opt,name=master" json:"master,omitempty"`
    Builder string `protobuf:"bytes,2,opt,name=builder" json:"builder,omitempty"`
    // Limit to the number of builds to return (default: 20).
    Limit int32 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
    // Include ongoing builds (default: false).
    IncludeCurrent bool `protobuf:"varint,4,opt,name=include_current,json=includeCurrent" 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" json:"exclude_deprecated,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The request for multiple build on a builder.

func (*BuildbotBuildsRequest) Descriptor Uses

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

func (*BuildbotBuildsRequest) GetBuilder Uses

func (m *BuildbotBuildsRequest) GetBuilder() string

func (*BuildbotBuildsRequest) GetExcludeDeprecated Uses

func (m *BuildbotBuildsRequest) GetExcludeDeprecated() bool

func (*BuildbotBuildsRequest) GetIncludeCurrent Uses

func (m *BuildbotBuildsRequest) GetIncludeCurrent() bool

func (*BuildbotBuildsRequest) GetLimit Uses

func (m *BuildbotBuildsRequest) GetLimit() int32

func (*BuildbotBuildsRequest) GetMaster Uses

func (m *BuildbotBuildsRequest) GetMaster() string

func (*BuildbotBuildsRequest) ProtoMessage Uses

func (*BuildbotBuildsRequest) ProtoMessage()

func (*BuildbotBuildsRequest) Reset Uses

func (m *BuildbotBuildsRequest) Reset()

func (*BuildbotBuildsRequest) String Uses

func (m *BuildbotBuildsRequest) String() string

func (*BuildbotBuildsRequest) XXX_DiscardUnknown Uses

func (m *BuildbotBuildsRequest) XXX_DiscardUnknown()

func (*BuildbotBuildsRequest) XXX_Marshal Uses

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

func (*BuildbotBuildsRequest) XXX_Merge Uses

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

func (*BuildbotBuildsRequest) XXX_Size Uses

func (m *BuildbotBuildsRequest) XXX_Size() int

func (*BuildbotBuildsRequest) XXX_Unmarshal Uses

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

type BuildbotClient Uses

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 Uses

func NewBuildbotClient(cc *grpc.ClientConn) BuildbotClient

func NewBuildbotPRPCClient Uses

func NewBuildbotPRPCClient(client *prpc.Client) BuildbotClient

type BuildbotServer Uses

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 Uses

type CompressedMasterJSON struct {
    // Whether the master is internal or not.
    Internal bool `protobuf:"varint,1,opt,name=internal" json:"internal,omitempty"`
    // Timestamp of the freshness of the master data.
    Modified *timestamp.Timestamp `protobuf:"bytes,2,opt,name=modified" 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 Uses

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

func (*CompressedMasterJSON) GetData Uses

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

func (*CompressedMasterJSON) GetInternal Uses

func (m *CompressedMasterJSON) GetInternal() bool

func (*CompressedMasterJSON) GetModified Uses

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

func (*CompressedMasterJSON) ProtoMessage Uses

func (*CompressedMasterJSON) ProtoMessage()

func (*CompressedMasterJSON) Reset Uses

func (m *CompressedMasterJSON) Reset()

func (*CompressedMasterJSON) String Uses

func (m *CompressedMasterJSON) String() string

func (*CompressedMasterJSON) XXX_DiscardUnknown Uses

func (m *CompressedMasterJSON) XXX_DiscardUnknown()

func (*CompressedMasterJSON) XXX_Marshal Uses

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

func (*CompressedMasterJSON) XXX_Merge Uses

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

func (*CompressedMasterJSON) XXX_Size Uses

func (m *CompressedMasterJSON) XXX_Size() int

func (*CompressedMasterJSON) XXX_Unmarshal Uses

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

type DecoratedBuildInfo Uses

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 Uses

func (s *DecoratedBuildInfo) Get(c context.Context, req *BuildInfoRequest) (rsp *BuildInfoResponse, err error)

type DecoratedBuildbot Uses

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 Uses

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

func (*DecoratedBuildbot) GetBuildbotBuildsJSON Uses

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

func (*DecoratedBuildbot) GetCompressedMasterJSON Uses

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

type MasterRequest Uses

type MasterRequest struct {
    Name string `protobuf:"bytes,1,opt,name=name" 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" json:"exclude_deprecated,omitempty"`
    // If true, turn off emulation mode.
    NoEmulation          bool     `protobuf:"varint,11,opt,name=no_emulation,json=noEmulation" 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 Uses

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

func (*MasterRequest) GetExcludeDeprecated Uses

func (m *MasterRequest) GetExcludeDeprecated() bool

func (*MasterRequest) GetName Uses

func (m *MasterRequest) GetName() string

func (*MasterRequest) GetNoEmulation Uses

func (m *MasterRequest) GetNoEmulation() bool

func (*MasterRequest) ProtoMessage Uses

func (*MasterRequest) ProtoMessage()

func (*MasterRequest) Reset Uses

func (m *MasterRequest) Reset()

func (*MasterRequest) String Uses

func (m *MasterRequest) String() string

func (*MasterRequest) XXX_DiscardUnknown Uses

func (m *MasterRequest) XXX_DiscardUnknown()

func (*MasterRequest) XXX_Marshal Uses

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

func (*MasterRequest) XXX_Merge Uses

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

func (*MasterRequest) XXX_Size Uses

func (m *MasterRequest) XXX_Size() int

func (*MasterRequest) XXX_Unmarshal Uses

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

Package milo imports 10 packages (graph) and is imported by 8 packages. Updated 2018-08-21. Refresh now. Tools for package owners.