proto

package
v0.0.0-...-94295e1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RequirementCategory_name = map[int32]string{
		0: "UNKNOWN",
		1: "DISK",
		2: "EXTERNAL",
		3: "SERVER",
		4: "NETWORK",
		5: "ACCESS_POINT",
		6: "RECEIPT_PRINTER",
		7: "BITS",
		8: "HOST_TYPE",
		9: "ZONE",
	}
	RequirementCategory_value = map[string]int32{
		"UNKNOWN":         0,
		"DISK":            1,
		"EXTERNAL":        2,
		"SERVER":          3,
		"NETWORK":         4,
		"ACCESS_POINT":    5,
		"RECEIPT_PRINTER": 6,
		"BITS":            7,
		"HOST_TYPE":       8,
		"ZONE":            9,
	}
)

Enum value maps for RequirementCategory.

View Source
var (
	State_name = map[int32]string{
		0:  "WARMUP",
		11: "ACKNOWLEDGED",
		1:  "BUILDING",
		2:  "BUILT",
		12: "VERSION_CHECK",
		3:  "RUNNING",
		4:  "UPDATE_STARTING",
		5:  "UPDATING",
		6:  "KILLING",
		7:  "DEAD",
		8:  "PENDING",
		9:  "DIED",
		10: "BRINK_OF_DEATH",
	}
	State_value = map[string]int32{
		"WARMUP":          0,
		"ACKNOWLEDGED":    11,
		"BUILDING":        1,
		"BUILT":           2,
		"VERSION_CHECK":   12,
		"RUNNING":         3,
		"UPDATE_STARTING": 4,
		"UPDATING":        5,
		"KILLING":         6,
		"DEAD":            7,
		"PENDING":         8,
		"DIED":            9,
		"BRINK_OF_DEATH":  10,
	}
)

Enum value maps for State.

View Source
var File_slave_proto protoreflect.FileDescriptor

Functions

func RegisterBuildSlaveServer

func RegisterBuildSlaveServer(s grpc.ServiceRegistrar, srv BuildSlaveServer)

func RegisterGoBuildSlaveServer

func RegisterGoBuildSlaveServer(s grpc.ServiceRegistrar, srv GoBuildSlaveServer)

Types

type BuildSlaveClient

type BuildSlaveClient interface {
	RunJob(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
	UpdateJob(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	KillJob(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error)
	ListJobs(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	SlaveConfig(ctx context.Context, in *ConfigRequest, opts ...grpc.CallOption) (*ConfigResponse, error)
	FullShutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error)
}

BuildSlaveClient is the client API for BuildSlave service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBuildSlaveClient

func NewBuildSlaveClient(cc grpc.ClientConnInterface) BuildSlaveClient

type BuildSlaveServer

BuildSlaveServer is the server API for BuildSlave service. All implementations should embed UnimplementedBuildSlaveServer for forward compatibility

type Config

type Config struct {
	Memory      int64  `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
	Disk        int64  `protobuf:"varint,2,opt,name=disk,proto3" json:"disk,omitempty"`
	External    bool   `protobuf:"varint,3,opt,name=external,proto3" json:"external,omitempty"`
	GoVersion   string `protobuf:"bytes,4,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	SupportsCds bool   `protobuf:"varint,5,opt,name=supports_cds,json=supportsCds,proto3" json:"supports_cds,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetDisk

func (x *Config) GetDisk() int64

func (*Config) GetExternal

func (x *Config) GetExternal() bool

func (*Config) GetGoVersion

func (x *Config) GetGoVersion() string

func (*Config) GetMemory

func (x *Config) GetMemory() int64

func (*Config) GetSupportsCds

func (x *Config) GetSupportsCds() bool

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ConfigRequest

type ConfigRequest struct {
	// contains filtered or unexported fields
}

func (*ConfigRequest) Descriptor deprecated

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

Deprecated: Use ConfigRequest.ProtoReflect.Descriptor instead.

func (*ConfigRequest) ProtoMessage

func (*ConfigRequest) ProtoMessage()

func (*ConfigRequest) ProtoReflect

func (x *ConfigRequest) ProtoReflect() protoreflect.Message

func (*ConfigRequest) Reset

func (x *ConfigRequest) Reset()

func (*ConfigRequest) String

func (x *ConfigRequest) String() string

type ConfigResponse

type ConfigResponse struct {
	Config *SlaveConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigResponse) Descriptor deprecated

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

Deprecated: Use ConfigResponse.ProtoReflect.Descriptor instead.

func (*ConfigResponse) GetConfig

func (x *ConfigResponse) GetConfig() *SlaveConfig

func (*ConfigResponse) ProtoMessage

func (*ConfigResponse) ProtoMessage()

func (*ConfigResponse) ProtoReflect

func (x *ConfigResponse) ProtoReflect() protoreflect.Message

func (*ConfigResponse) Reset

func (x *ConfigResponse) Reset()

func (*ConfigResponse) String

func (x *ConfigResponse) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GoBuildSlaveClient

type GoBuildSlaveClient interface {
	Update(ctx context.Context, in *JobSpec, opts ...grpc.CallOption) (*Empty, error)
	BuildJob(ctx context.Context, in *JobSpec, opts ...grpc.CallOption) (*Empty, error)
	Run(ctx context.Context, in *JobSpec, opts ...grpc.CallOption) (*Empty, error)
	Kill(ctx context.Context, in *JobSpec, opts ...grpc.CallOption) (*Empty, error)
	List(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*JobList, error)
	GetConfig(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Config, error)
}

GoBuildSlaveClient is the client API for GoBuildSlave service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type GoBuildSlaveServer

type GoBuildSlaveServer interface {
	Update(context.Context, *JobSpec) (*Empty, error)
	BuildJob(context.Context, *JobSpec) (*Empty, error)
	Run(context.Context, *JobSpec) (*Empty, error)
	Kill(context.Context, *JobSpec) (*Empty, error)
	List(context.Context, *Empty) (*JobList, error)
	GetConfig(context.Context, *Empty) (*Config, error)
}

GoBuildSlaveServer is the server API for GoBuildSlave service. All implementations should embed UnimplementedGoBuildSlaveServer for forward compatibility

type Job

type Job struct {
	Name         string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	GoPath       string         `protobuf:"bytes,2,opt,name=go_path,json=goPath,proto3" json:"go_path,omitempty"`
	Requirements []*Requirement `protobuf:"bytes,3,rep,name=requirements,proto3" json:"requirements,omitempty"`
	Sudo         bool           `protobuf:"varint,4,opt,name=sudo,proto3" json:"sudo,omitempty"`
	Bootstrap    bool           `protobuf:"varint,5,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	Breakout     bool           `protobuf:"varint,6,opt,name=breakout,proto3" json:"breakout,omitempty"`
	// We partial bootstrap if we need something to come up
	// when it doesn't currently exist.
	PartialBootstrap bool `protobuf:"varint,7,opt,name=partial_bootstrap,json=partialBootstrap,proto3" json:"partial_bootstrap,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetBootstrap

func (x *Job) GetBootstrap() bool

func (*Job) GetBreakout

func (x *Job) GetBreakout() bool

func (*Job) GetGoPath

func (x *Job) GetGoPath() string

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) GetPartialBootstrap

func (x *Job) GetPartialBootstrap() bool

func (*Job) GetRequirements

func (x *Job) GetRequirements() []*Requirement

func (*Job) GetSudo

func (x *Job) GetSudo() bool

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

func (x *Job) ProtoReflect() protoreflect.Message

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

type JobAssignment

type JobAssignment struct {
	Job                *Job   `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Server             string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	Host               string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	Port               int32  `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	State              State  `protobuf:"varint,4,opt,name=state,proto3,enum=gobuildslave.State" json:"state,omitempty"`
	StartTime          int64  `protobuf:"varint,6,opt,name=startTime,proto3" json:"startTime,omitempty"`
	CommandKey         string `protobuf:"bytes,7,opt,name=command_key,json=commandKey,proto3" json:"command_key,omitempty"`
	BuildFail          int32  `protobuf:"varint,8,opt,name=build_fail,json=buildFail,proto3" json:"build_fail,omitempty"`
	RunningVersion     string `protobuf:"bytes,9,opt,name=running_version,json=runningVersion,proto3" json:"running_version,omitempty"`
	DiscoverCount      int32  `protobuf:"varint,10,opt,name=discover_count,json=discoverCount,proto3" json:"discover_count,omitempty"`
	Status             string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	LastTransitionTime int64  `protobuf:"varint,12,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"`
	QueuePos           int32  `protobuf:"varint,13,opt,name=queue_pos,json=queuePos,proto3" json:"queue_pos,omitempty"`
	LastVersionPull    int64  `protobuf:"varint,14,opt,name=last_version_pull,json=lastVersionPull,proto3" json:"last_version_pull,omitempty"`
	LastUpdateTime     int64  `protobuf:"varint,15,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	SubState           string `protobuf:"bytes,16,opt,name=sub_state,json=subState,proto3" json:"sub_state,omitempty"`
	Bits               int32  `protobuf:"varint,17,opt,name=bits,proto3" json:"bits,omitempty"`
	// contains filtered or unexported fields
}

func (*JobAssignment) Descriptor deprecated

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

Deprecated: Use JobAssignment.ProtoReflect.Descriptor instead.

func (*JobAssignment) GetBits

func (x *JobAssignment) GetBits() int32

func (*JobAssignment) GetBuildFail

func (x *JobAssignment) GetBuildFail() int32

func (*JobAssignment) GetCommandKey

func (x *JobAssignment) GetCommandKey() string

func (*JobAssignment) GetDiscoverCount

func (x *JobAssignment) GetDiscoverCount() int32

func (*JobAssignment) GetHost

func (x *JobAssignment) GetHost() string

func (*JobAssignment) GetJob

func (x *JobAssignment) GetJob() *Job

func (*JobAssignment) GetLastTransitionTime

func (x *JobAssignment) GetLastTransitionTime() int64

func (*JobAssignment) GetLastUpdateTime

func (x *JobAssignment) GetLastUpdateTime() int64

func (*JobAssignment) GetLastVersionPull

func (x *JobAssignment) GetLastVersionPull() int64

func (*JobAssignment) GetPort

func (x *JobAssignment) GetPort() int32

func (*JobAssignment) GetQueuePos

func (x *JobAssignment) GetQueuePos() int32

func (*JobAssignment) GetRunningVersion

func (x *JobAssignment) GetRunningVersion() string

func (*JobAssignment) GetServer

func (x *JobAssignment) GetServer() string

func (*JobAssignment) GetStartTime

func (x *JobAssignment) GetStartTime() int64

func (*JobAssignment) GetState

func (x *JobAssignment) GetState() State

func (*JobAssignment) GetStatus

func (x *JobAssignment) GetStatus() string

func (*JobAssignment) GetSubState

func (x *JobAssignment) GetSubState() string

func (*JobAssignment) ProtoMessage

func (*JobAssignment) ProtoMessage()

func (*JobAssignment) ProtoReflect

func (x *JobAssignment) ProtoReflect() protoreflect.Message

func (*JobAssignment) Reset

func (x *JobAssignment) Reset()

func (*JobAssignment) String

func (x *JobAssignment) String() string

type JobDetails

type JobDetails struct {
	Spec      *JobSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	State     State    `protobuf:"varint,2,opt,name=state,proto3,enum=gobuildslave.State" json:"state,omitempty"`
	StartTime int64    `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	TestCount int32    `protobuf:"varint,4,opt,name=test_count,json=testCount,proto3" json:"test_count,omitempty"`
	// contains filtered or unexported fields
}

func (*JobDetails) Descriptor deprecated

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

Deprecated: Use JobDetails.ProtoReflect.Descriptor instead.

func (*JobDetails) GetSpec

func (x *JobDetails) GetSpec() *JobSpec

func (*JobDetails) GetStartTime

func (x *JobDetails) GetStartTime() int64

func (*JobDetails) GetState

func (x *JobDetails) GetState() State

func (*JobDetails) GetTestCount

func (x *JobDetails) GetTestCount() int32

func (*JobDetails) ProtoMessage

func (*JobDetails) ProtoMessage()

func (*JobDetails) ProtoReflect

func (x *JobDetails) ProtoReflect() protoreflect.Message

func (*JobDetails) Reset

func (x *JobDetails) Reset()

func (*JobDetails) String

func (x *JobDetails) String() string

type JobList

type JobList struct {
	Details []*JobDetails `protobuf:"bytes,1,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*JobList) Descriptor deprecated

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

Deprecated: Use JobList.ProtoReflect.Descriptor instead.

func (*JobList) GetDetails

func (x *JobList) GetDetails() []*JobDetails

func (*JobList) ProtoMessage

func (*JobList) ProtoMessage()

func (*JobList) ProtoReflect

func (x *JobList) ProtoReflect() protoreflect.Message

func (*JobList) Reset

func (x *JobList) Reset()

func (*JobList) String

func (x *JobList) String() string

type JobSpec

type JobSpec struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Server   string   `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	Disk     int64    `protobuf:"varint,3,opt,name=disk,proto3" json:"disk,omitempty"`
	Args     []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	External bool     `protobuf:"varint,5,opt,name=external,proto3" json:"external,omitempty"`
	Host     string   `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"`
	Port     int32    `protobuf:"varint,7,opt,name=port,proto3" json:"port,omitempty"`
	Cds      bool     `protobuf:"varint,8,opt,name=cds,proto3" json:"cds,omitempty"`
	// contains filtered or unexported fields
}

func (*JobSpec) Descriptor deprecated

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

Deprecated: Use JobSpec.ProtoReflect.Descriptor instead.

func (*JobSpec) GetArgs

func (x *JobSpec) GetArgs() []string

func (*JobSpec) GetCds

func (x *JobSpec) GetCds() bool

func (*JobSpec) GetDisk

func (x *JobSpec) GetDisk() int64

func (*JobSpec) GetExternal

func (x *JobSpec) GetExternal() bool

func (*JobSpec) GetHost

func (x *JobSpec) GetHost() string

func (*JobSpec) GetName

func (x *JobSpec) GetName() string

func (*JobSpec) GetPort

func (x *JobSpec) GetPort() int32

func (*JobSpec) GetServer

func (x *JobSpec) GetServer() string

func (*JobSpec) ProtoMessage

func (*JobSpec) ProtoMessage()

func (*JobSpec) ProtoReflect

func (x *JobSpec) ProtoReflect() protoreflect.Message

func (*JobSpec) Reset

func (x *JobSpec) Reset()

func (*JobSpec) String

func (x *JobSpec) String() string

type KillRequest

type KillRequest struct {
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*KillRequest) Descriptor deprecated

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

Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.

func (*KillRequest) GetJob

func (x *KillRequest) GetJob() *Job

func (*KillRequest) ProtoMessage

func (*KillRequest) ProtoMessage()

func (*KillRequest) ProtoReflect

func (x *KillRequest) ProtoReflect() protoreflect.Message

func (*KillRequest) Reset

func (x *KillRequest) Reset()

func (*KillRequest) String

func (x *KillRequest) String() string

type KillResponse

type KillResponse struct {
	// contains filtered or unexported fields
}

func (*KillResponse) Descriptor deprecated

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

Deprecated: Use KillResponse.ProtoReflect.Descriptor instead.

func (*KillResponse) ProtoMessage

func (*KillResponse) ProtoMessage()

func (*KillResponse) ProtoReflect

func (x *KillResponse) ProtoReflect() protoreflect.Message

func (*KillResponse) Reset

func (x *KillResponse) Reset()

func (*KillResponse) String

func (x *KillResponse) String() string

type ListRequest

type ListRequest struct {
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

func (x *ListRequest) ProtoReflect() protoreflect.Message

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {
	Jobs []*JobAssignment `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetJobs

func (x *ListResponse) GetJobs() []*JobAssignment

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

func (x *ListResponse) ProtoReflect() protoreflect.Message

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type Requirement

type Requirement struct {
	Category   RequirementCategory `protobuf:"varint,1,opt,name=category,proto3,enum=gobuildslave.RequirementCategory" json:"category,omitempty"`
	Properties string              `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Requirement) Descriptor deprecated

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

Deprecated: Use Requirement.ProtoReflect.Descriptor instead.

func (*Requirement) GetCategory

func (x *Requirement) GetCategory() RequirementCategory

func (*Requirement) GetProperties

func (x *Requirement) GetProperties() string

func (*Requirement) ProtoMessage

func (*Requirement) ProtoMessage()

func (*Requirement) ProtoReflect

func (x *Requirement) ProtoReflect() protoreflect.Message

func (*Requirement) Reset

func (x *Requirement) Reset()

func (*Requirement) String

func (x *Requirement) String() string

type RequirementCategory

type RequirementCategory int32
const (
	RequirementCategory_UNKNOWN         RequirementCategory = 0
	RequirementCategory_DISK            RequirementCategory = 1
	RequirementCategory_EXTERNAL        RequirementCategory = 2
	RequirementCategory_SERVER          RequirementCategory = 3
	RequirementCategory_NETWORK         RequirementCategory = 4
	RequirementCategory_ACCESS_POINT    RequirementCategory = 5
	RequirementCategory_RECEIPT_PRINTER RequirementCategory = 6
	RequirementCategory_BITS            RequirementCategory = 7
	RequirementCategory_HOST_TYPE       RequirementCategory = 8
	RequirementCategory_ZONE            RequirementCategory = 9
)

func (RequirementCategory) Descriptor

func (RequirementCategory) Enum

func (RequirementCategory) EnumDescriptor deprecated

func (RequirementCategory) EnumDescriptor() ([]byte, []int)

Deprecated: Use RequirementCategory.Descriptor instead.

func (RequirementCategory) Number

func (RequirementCategory) String

func (x RequirementCategory) String() string

func (RequirementCategory) Type

type RunRequest

type RunRequest struct {
	Job  *Job  `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Bits int32 `protobuf:"varint,2,opt,name=bits,proto3" json:"bits,omitempty"`
	// contains filtered or unexported fields
}

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetBits

func (x *RunRequest) GetBits() int32

func (*RunRequest) GetJob

func (x *RunRequest) GetJob() *Job

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect

func (x *RunRequest) ProtoReflect() protoreflect.Message

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

type RunResponse

type RunResponse struct {
	// contains filtered or unexported fields
}

func (*RunResponse) Descriptor deprecated

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

Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.

func (*RunResponse) ProtoMessage

func (*RunResponse) ProtoMessage()

func (*RunResponse) ProtoReflect

func (x *RunResponse) ProtoReflect() protoreflect.Message

func (*RunResponse) Reset

func (x *RunResponse) Reset()

func (*RunResponse) String

func (x *RunResponse) String() string

type ShutdownRequest

type ShutdownRequest struct {
	// contains filtered or unexported fields
}

func (*ShutdownRequest) Descriptor deprecated

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

Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.

func (*ShutdownRequest) ProtoMessage

func (*ShutdownRequest) ProtoMessage()

func (*ShutdownRequest) ProtoReflect

func (x *ShutdownRequest) ProtoReflect() protoreflect.Message

func (*ShutdownRequest) Reset

func (x *ShutdownRequest) Reset()

func (*ShutdownRequest) String

func (x *ShutdownRequest) String() string

type ShutdownResponse

type ShutdownResponse struct {
	// contains filtered or unexported fields
}

func (*ShutdownResponse) Descriptor deprecated

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

Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.

func (*ShutdownResponse) ProtoMessage

func (*ShutdownResponse) ProtoMessage()

func (*ShutdownResponse) ProtoReflect

func (x *ShutdownResponse) ProtoReflect() protoreflect.Message

func (*ShutdownResponse) Reset

func (x *ShutdownResponse) Reset()

func (*ShutdownResponse) String

func (x *ShutdownResponse) String() string

type SlaveConfig

type SlaveConfig struct {
	Requirements []*Requirement `protobuf:"bytes,1,rep,name=requirements,proto3" json:"requirements,omitempty"`
	// contains filtered or unexported fields
}

func (*SlaveConfig) Descriptor deprecated

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

Deprecated: Use SlaveConfig.ProtoReflect.Descriptor instead.

func (*SlaveConfig) GetRequirements

func (x *SlaveConfig) GetRequirements() []*Requirement

func (*SlaveConfig) ProtoMessage

func (*SlaveConfig) ProtoMessage()

func (*SlaveConfig) ProtoReflect

func (x *SlaveConfig) ProtoReflect() protoreflect.Message

func (*SlaveConfig) Reset

func (x *SlaveConfig) Reset()

func (*SlaveConfig) String

func (x *SlaveConfig) String() string

type State

type State int32
const (
	State_WARMUP          State = 0
	State_ACKNOWLEDGED    State = 11
	State_BUILDING        State = 1
	State_BUILT           State = 2
	State_VERSION_CHECK   State = 12
	State_RUNNING         State = 3
	State_UPDATE_STARTING State = 4
	State_UPDATING        State = 5
	State_KILLING         State = 6
	State_DEAD            State = 7
	State_PENDING         State = 8
	State_DIED            State = 9
	State_BRINK_OF_DEATH  State = 10
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type UnimplementedBuildSlaveServer

type UnimplementedBuildSlaveServer struct {
}

UnimplementedBuildSlaveServer should be embedded to have forward compatible implementations.

func (UnimplementedBuildSlaveServer) FullShutdown

func (UnimplementedBuildSlaveServer) KillJob

func (UnimplementedBuildSlaveServer) ListJobs

func (UnimplementedBuildSlaveServer) RunJob

func (UnimplementedBuildSlaveServer) SlaveConfig

func (UnimplementedBuildSlaveServer) UpdateJob

type UnimplementedGoBuildSlaveServer

type UnimplementedGoBuildSlaveServer struct {
}

UnimplementedGoBuildSlaveServer should be embedded to have forward compatible implementations.

func (UnimplementedGoBuildSlaveServer) BuildJob

func (UnimplementedGoBuildSlaveServer) GetConfig

func (UnimplementedGoBuildSlaveServer) Kill

func (UnimplementedGoBuildSlaveServer) List

func (UnimplementedGoBuildSlaveServer) Run

func (UnimplementedGoBuildSlaveServer) Update

type UnsafeBuildSlaveServer

type UnsafeBuildSlaveServer interface {
	// contains filtered or unexported methods
}

UnsafeBuildSlaveServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BuildSlaveServer will result in compilation errors.

type UnsafeGoBuildSlaveServer

type UnsafeGoBuildSlaveServer interface {
	// contains filtered or unexported methods
}

UnsafeGoBuildSlaveServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GoBuildSlaveServer will result in compilation errors.

type UpdateRequest

type UpdateRequest struct {
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetJob

func (x *UpdateRequest) GetJob() *Job

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

func (x *UpdateRequest) ProtoReflect() protoreflect.Message

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

func (x *UpdateResponse) ProtoReflect() protoreflect.Message

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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