builderpb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Option.ProtoReflect.Descriptor instead.

func (*Option) GetChoices

func (x *Option) GetChoices() []string

func (*Option) GetDefault

func (x *Option) GetDefault() string

func (*Option) GetDescription

func (x *Option) GetDescription() string

func (*Option) GetName

func (x *Option) GetName() string

func (*Option) GetRequired

func (x *Option) GetRequired() bool

func (*Option) GetType

func (x *Option) GetType() string

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) ProtoReflect

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

func (*Option) Reset

func (x *Option) Reset()

func (*Option) String

func (x *Option) String() string

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
const (
	Status_Success           Status = 0
	Status_FailedWithMessage Status = 1 // The message is contained as the first response in the responses field
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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