Documentation ¶
Index ¶
- Variables
- type BuildReply
- func (*BuildReply) Descriptor() ([]byte, []int)deprecated
- func (x *BuildReply) GetBuild() []byte
- func (x *BuildReply) GetError() string
- func (x *BuildReply) GetStatus() Status
- func (*BuildReply) ProtoMessage()
- func (x *BuildReply) ProtoReflect() protoreflect.Message
- func (x *BuildReply) Reset()
- func (x *BuildReply) String() string
- type BuildRequest
- func (*BuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildRequest) GetBuilderId() string
- func (x *BuildRequest) GetOptions() map[string]string
- func (*BuildRequest) ProtoMessage()
- func (x *BuildRequest) ProtoReflect() protoreflect.Message
- func (x *BuildRequest) Reset()
- func (x *BuildRequest) String() string
- type Description
- func (*Description) Descriptor() ([]byte, []int)deprecated
- func (x *Description) GetAdmin() bool
- func (x *Description) GetDescriptionLong() string
- func (x *Description) GetDescriptionShort() string
- func (x *Description) GetMaxArgs() int32
- func (x *Description) GetMinArgs() int32
- func (x *Description) GetName() string
- func (x *Description) GetOpcode() int32
- func (x *Description) GetUsage() string
- func (*Description) ProtoMessage()
- func (x *Description) ProtoReflect() protoreflect.Message
- func (x *Description) Reset()
- func (x *Description) String() string
- type DescriptionsReply
- func (*DescriptionsReply) Descriptor() ([]byte, []int)deprecated
- func (x *DescriptionsReply) GetDescriptions() []*Description
- func (*DescriptionsReply) ProtoMessage()
- func (x *DescriptionsReply) ProtoReflect() protoreflect.Message
- func (x *DescriptionsReply) Reset()
- func (x *DescriptionsReply) String() string
- type DescriptionsRequest
- func (*DescriptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescriptionsRequest) GetBuilderId() string
- func (*DescriptionsRequest) ProtoMessage()
- func (x *DescriptionsRequest) ProtoReflect() protoreflect.Message
- func (x *DescriptionsRequest) Reset()
- func (x *DescriptionsRequest) String() string
- type Option
- func (*Option) Descriptor() ([]byte, []int)deprecated
- func (x *Option) GetChoices() []string
- func (x *Option) GetDefault() string
- func (x *Option) GetDescription() string
- func (x *Option) GetName() string
- func (x *Option) GetRequired() bool
- func (x *Option) GetType() string
- func (*Option) ProtoMessage()
- func (x *Option) ProtoReflect() protoreflect.Message
- func (x *Option) Reset()
- func (x *Option) String() string
- type OptionsReply
- type OptionsRequest
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_name = map[int32]string{ 0: "Success", 1: "FailedWithMessage", } Status_value = map[string]int32{ "Success": 0, "FailedWithMessage": 1, } )
Enum value maps for Status.
View Source
var File_builderpb_builder_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuildReply ¶
type BuildReply struct { Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=builderpb.Status" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Build []byte `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"` // contains filtered or unexported fields }
func (*BuildReply) Descriptor
deprecated
func (*BuildReply) Descriptor() ([]byte, []int)
Deprecated: Use BuildReply.ProtoReflect.Descriptor instead.
func (*BuildReply) GetBuild ¶
func (x *BuildReply) GetBuild() []byte
func (*BuildReply) GetError ¶
func (x *BuildReply) GetError() string
func (*BuildReply) GetStatus ¶
func (x *BuildReply) GetStatus() Status
func (*BuildReply) ProtoMessage ¶
func (*BuildReply) ProtoMessage()
func (*BuildReply) ProtoReflect ¶
func (x *BuildReply) ProtoReflect() protoreflect.Message
func (*BuildReply) Reset ¶
func (x *BuildReply) Reset()
func (*BuildReply) String ¶
func (x *BuildReply) String() string
type BuildRequest ¶
type BuildRequest struct { Options map[string]string `` // contains the agent ID /* 155-byte string literal not displayed */ BuilderId string `protobuf:"bytes,2,opt,name=builder_id,json=builderId,proto3" json:"builder_id,omitempty"` // contains filtered or unexported fields }
func (*BuildRequest) Descriptor
deprecated
func (*BuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) GetBuilderId ¶
func (x *BuildRequest) GetBuilderId() string
func (*BuildRequest) GetOptions ¶
func (x *BuildRequest) GetOptions() map[string]string
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) ProtoReflect ¶
func (x *BuildRequest) ProtoReflect() protoreflect.Message
func (*BuildRequest) Reset ¶
func (x *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (x *BuildRequest) String() string
type Description ¶
type Description struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Opcode int32 `protobuf:"varint,2,opt,name=opcode,proto3" json:"opcode,omitempty"` Usage string `protobuf:"bytes,3,opt,name=usage,proto3" json:"usage,omitempty"` DescriptionShort string `protobuf:"bytes,4,opt,name=description_short,json=descriptionShort,proto3" json:"description_short,omitempty"` DescriptionLong string `protobuf:"bytes,5,opt,name=description_long,json=descriptionLong,proto3" json:"description_long,omitempty"` MinArgs int32 `protobuf:"varint,6,opt,name=min_args,json=minArgs,proto3" json:"min_args,omitempty"` MaxArgs int32 `protobuf:"varint,7,opt,name=max_args,json=maxArgs,proto3" json:"max_args,omitempty"` Admin bool `protobuf:"varint,8,opt,name=admin,proto3" json:"admin,omitempty"` // True if admin is needed to run the command // contains filtered or unexported fields }
func (*Description) Descriptor
deprecated
func (*Description) Descriptor() ([]byte, []int)
Deprecated: Use Description.ProtoReflect.Descriptor instead.
func (*Description) GetAdmin ¶
func (x *Description) GetAdmin() bool
func (*Description) GetDescriptionLong ¶
func (x *Description) GetDescriptionLong() string
func (*Description) GetDescriptionShort ¶
func (x *Description) GetDescriptionShort() string
func (*Description) GetMaxArgs ¶
func (x *Description) GetMaxArgs() int32
func (*Description) GetMinArgs ¶
func (x *Description) GetMinArgs() int32
func (*Description) GetName ¶
func (x *Description) GetName() string
func (*Description) GetOpcode ¶
func (x *Description) GetOpcode() int32
func (*Description) GetUsage ¶
func (x *Description) GetUsage() string
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) ProtoReflect ¶
func (x *Description) ProtoReflect() protoreflect.Message
func (*Description) Reset ¶
func (x *Description) Reset()
func (*Description) String ¶
func (x *Description) String() string
type DescriptionsReply ¶
type DescriptionsReply struct { Descriptions []*Description `protobuf:"bytes,1,rep,name=descriptions,proto3" json:"descriptions,omitempty"` // contains filtered or unexported fields }
func (*DescriptionsReply) Descriptor
deprecated
func (*DescriptionsReply) Descriptor() ([]byte, []int)
Deprecated: Use DescriptionsReply.ProtoReflect.Descriptor instead.
func (*DescriptionsReply) GetDescriptions ¶
func (x *DescriptionsReply) GetDescriptions() []*Description
func (*DescriptionsReply) ProtoMessage ¶
func (*DescriptionsReply) ProtoMessage()
func (*DescriptionsReply) ProtoReflect ¶
func (x *DescriptionsReply) ProtoReflect() protoreflect.Message
func (*DescriptionsReply) Reset ¶
func (x *DescriptionsReply) Reset()
func (*DescriptionsReply) String ¶
func (x *DescriptionsReply) String() string
type DescriptionsRequest ¶
type DescriptionsRequest struct { BuilderId string `protobuf:"bytes,1,opt,name=builder_id,json=builderId,proto3" json:"builder_id,omitempty"` // contains filtered or unexported fields }
Internal /////////////////////////////////////////
func (*DescriptionsRequest) Descriptor
deprecated
func (*DescriptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescriptionsRequest.ProtoReflect.Descriptor instead.
func (*DescriptionsRequest) GetBuilderId ¶
func (x *DescriptionsRequest) GetBuilderId() string
func (*DescriptionsRequest) ProtoMessage ¶
func (*DescriptionsRequest) ProtoMessage()
func (*DescriptionsRequest) ProtoReflect ¶
func (x *DescriptionsRequest) ProtoReflect() protoreflect.Message
func (*DescriptionsRequest) Reset ¶
func (x *DescriptionsRequest) Reset()
func (*DescriptionsRequest) String ¶
func (x *DescriptionsRequest) String() string
type Option ¶
type Option struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` Choices []string `protobuf:"bytes,5,rep,name=choices,proto3" json:"choices,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Option) Descriptor
deprecated
func (*Option) GetChoices ¶
func (*Option) GetDefault ¶
func (*Option) GetDescription ¶
func (*Option) GetRequired ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
type OptionsReply ¶
type OptionsReply struct { Options []*Option `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*OptionsReply) Descriptor
deprecated
func (*OptionsReply) Descriptor() ([]byte, []int)
Deprecated: Use OptionsReply.ProtoReflect.Descriptor instead.
func (*OptionsReply) GetOptions ¶
func (x *OptionsReply) GetOptions() []*Option
func (*OptionsReply) ProtoMessage ¶
func (*OptionsReply) ProtoMessage()
func (*OptionsReply) ProtoReflect ¶
func (x *OptionsReply) ProtoReflect() protoreflect.Message
func (*OptionsReply) Reset ¶
func (x *OptionsReply) Reset()
func (*OptionsReply) String ¶
func (x *OptionsReply) String() string
type OptionsRequest ¶
type OptionsRequest struct { BuilderId string `protobuf:"bytes,1,opt,name=builder_id,json=builderId,proto3" json:"builder_id,omitempty"` // contains filtered or unexported fields }
func (*OptionsRequest) Descriptor
deprecated
func (*OptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use OptionsRequest.ProtoReflect.Descriptor instead.
func (*OptionsRequest) GetBuilderId ¶
func (x *OptionsRequest) GetBuilderId() string
func (*OptionsRequest) ProtoMessage ¶
func (*OptionsRequest) ProtoMessage()
func (*OptionsRequest) ProtoReflect ¶
func (x *OptionsRequest) ProtoReflect() protoreflect.Message
func (*OptionsRequest) Reset ¶
func (x *OptionsRequest) Reset()
func (*OptionsRequest) String ¶
func (x *OptionsRequest) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.