Documentation ¶
Index ¶
- Variables
- type DeployReq
- type DeployReq_Config
- func (*DeployReq_Config) Descriptor() ([]byte, []int)deprecated
- func (x *DeployReq_Config) GetBanEgress() bool
- func (x *DeployReq_Config) GetContainers() []*_go.Container
- func (x *DeployReq_Config) GetEndpoint() string
- func (x *DeployReq_Config) GetExpose() []string
- func (x *DeployReq_Config) GetFlag() string
- func (x *DeployReq_Config) GetName() string
- func (*DeployReq_Config) ProtoMessage()
- func (x *DeployReq_Config) ProtoReflect() protoreflect.Message
- func (x *DeployReq_Config) Reset()
- func (x *DeployReq_Config) String() string
- type Empty
- type EventListRsp
- type ExecReq
- func (*ExecReq) Descriptor() ([]byte, []int)deprecated
- func (x *ExecReq) GetCommand() string
- func (x *ExecReq) GetIndex() int64
- func (x *ExecReq) GetK8S() *K8S
- func (x *ExecReq) GetName() string
- func (*ExecReq) ProtoMessage()
- func (x *ExecReq) ProtoReflect() protoreflect.Message
- func (x *ExecReq) Reset()
- func (x *ExecReq) String() string
- type ExecRsp
- type InspectRsp
- type K8S
- type ListReq
- type ListRsp
- type LogRsp
- type LogRsp_Log
- type NameReq
- type ShellReq
- func (*ShellReq) Descriptor() ([]byte, []int)deprecated
- func (x *ShellReq) GetIndex() int64
- func (x *ShellReq) GetK8S() *K8S
- func (x *ShellReq) GetName() string
- func (x *ShellReq) GetStdin() []byte
- func (*ShellReq) ProtoMessage()
- func (x *ShellReq) ProtoReflect() protoreflect.Message
- func (x *ShellReq) Reset()
- func (x *ShellReq) String() string
- type ShellRsp
- type WatchRsp
Constants ¶
This section is empty.
Variables ¶
View Source
var File_mercury_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DeployReq ¶
type DeployReq struct { Config *DeployReq_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` K8S *K8S `protobuf:"bytes,99,opt,name=k8s,proto3" json:"k8s,omitempty"` // contains filtered or unexported fields }
func (*DeployReq) GetConfig ¶
func (x *DeployReq) GetConfig() *DeployReq_Config
func (*DeployReq) ProtoReflect ¶
func (x *DeployReq) ProtoReflect() protoreflect.Message
type DeployReq_Config ¶
type DeployReq_Config struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // deployment_name Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // domain Flag string `protobuf:"bytes,4,opt,name=flag,proto3" json:"flag,omitempty"` // domain BanEgress bool `protobuf:"varint,5,opt,name=ban_egress,json=banEgress,proto3" json:"ban_egress,omitempty"` Expose []string `protobuf:"bytes,9,rep,name=expose,proto3" json:"expose,omitempty"` // port Containers []*_go.Container `protobuf:"bytes,19,rep,name=containers,proto3" json:"containers,omitempty"` // containers // contains filtered or unexported fields }
func (*DeployReq_Config) Descriptor
deprecated
func (*DeployReq_Config) Descriptor() ([]byte, []int)
Deprecated: Use DeployReq_Config.ProtoReflect.Descriptor instead.
func (*DeployReq_Config) GetBanEgress ¶
func (x *DeployReq_Config) GetBanEgress() bool
func (*DeployReq_Config) GetContainers ¶
func (x *DeployReq_Config) GetContainers() []*_go.Container
func (*DeployReq_Config) GetEndpoint ¶
func (x *DeployReq_Config) GetEndpoint() string
func (*DeployReq_Config) GetExpose ¶
func (x *DeployReq_Config) GetExpose() []string
func (*DeployReq_Config) GetFlag ¶
func (x *DeployReq_Config) GetFlag() string
func (*DeployReq_Config) GetName ¶
func (x *DeployReq_Config) GetName() string
func (*DeployReq_Config) ProtoMessage ¶
func (*DeployReq_Config) ProtoMessage()
func (*DeployReq_Config) ProtoReflect ¶
func (x *DeployReq_Config) ProtoReflect() protoreflect.Message
func (*DeployReq_Config) Reset ¶
func (x *DeployReq_Config) Reset()
func (*DeployReq_Config) String ¶
func (x *DeployReq_Config) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EventListRsp ¶
type EventListRsp struct { Events *v11.EventList `protobuf:"bytes,1,opt,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*EventListRsp) Descriptor
deprecated
func (*EventListRsp) Descriptor() ([]byte, []int)
Deprecated: Use EventListRsp.ProtoReflect.Descriptor instead.
func (*EventListRsp) GetEvents ¶
func (x *EventListRsp) GetEvents() *v11.EventList
func (*EventListRsp) ProtoMessage ¶
func (*EventListRsp) ProtoMessage()
func (*EventListRsp) ProtoReflect ¶
func (x *EventListRsp) ProtoReflect() protoreflect.Message
func (*EventListRsp) Reset ¶
func (x *EventListRsp) Reset()
func (*EventListRsp) String ¶
func (x *EventListRsp) String() string
type ExecReq ¶
type ExecReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` K8S *K8S `protobuf:"bytes,99,opt,name=k8s,proto3" json:"k8s,omitempty"` // contains filtered or unexported fields }
func (*ExecReq) ProtoReflect ¶
func (x *ExecReq) ProtoReflect() protoreflect.Message
type ExecRsp ¶
type ExecRsp struct { Stdout string `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // contains filtered or unexported fields }
func (*ExecRsp) ProtoReflect ¶
func (x *ExecRsp) ProtoReflect() protoreflect.Message
type InspectRsp ¶
type InspectRsp struct { Pod *v1.Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"` // contains filtered or unexported fields }
func (*InspectRsp) Descriptor
deprecated
func (*InspectRsp) Descriptor() ([]byte, []int)
Deprecated: Use InspectRsp.ProtoReflect.Descriptor instead.
func (*InspectRsp) GetPod ¶
func (x *InspectRsp) GetPod() *v1.Pod
func (*InspectRsp) ProtoMessage ¶
func (*InspectRsp) ProtoMessage()
func (*InspectRsp) ProtoReflect ¶
func (x *InspectRsp) ProtoReflect() protoreflect.Message
func (*InspectRsp) Reset ¶
func (x *InspectRsp) Reset()
func (*InspectRsp) String ¶
func (x *InspectRsp) String() string
type K8S ¶
type K8S struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*K8S) ProtoReflect ¶
func (x *K8S) ProtoReflect() protoreflect.Message
type ListReq ¶
type ListReq struct { K8S *K8S `protobuf:"bytes,99,opt,name=k8s,proto3" json:"k8s,omitempty"` // contains filtered or unexported fields }
func (*ListReq) ProtoReflect ¶
func (x *ListReq) ProtoReflect() protoreflect.Message
type ListRsp ¶
type ListRsp struct { Pods *v1.PodList `protobuf:"bytes,1,opt,name=pods,proto3" json:"pods,omitempty"` // contains filtered or unexported fields }
func (*ListRsp) ProtoReflect ¶
func (x *ListRsp) ProtoReflect() protoreflect.Message
type LogRsp ¶
type LogRsp struct { Data []*LogRsp_Log `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*LogRsp) GetData ¶
func (x *LogRsp) GetData() []*LogRsp_Log
func (*LogRsp) ProtoReflect ¶
func (x *LogRsp) ProtoReflect() protoreflect.Message
type LogRsp_Log ¶
type LogRsp_Log struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*LogRsp_Log) Descriptor
deprecated
func (*LogRsp_Log) Descriptor() ([]byte, []int)
Deprecated: Use LogRsp_Log.ProtoReflect.Descriptor instead.
func (*LogRsp_Log) GetData ¶
func (x *LogRsp_Log) GetData() string
func (*LogRsp_Log) GetName ¶
func (x *LogRsp_Log) GetName() string
func (*LogRsp_Log) ProtoMessage ¶
func (*LogRsp_Log) ProtoMessage()
func (*LogRsp_Log) ProtoReflect ¶
func (x *LogRsp_Log) ProtoReflect() protoreflect.Message
func (*LogRsp_Log) Reset ¶
func (x *LogRsp_Log) Reset()
func (*LogRsp_Log) String ¶
func (x *LogRsp_Log) String() string
type NameReq ¶
type NameReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` K8S *K8S `protobuf:"bytes,99,opt,name=k8s,proto3" json:"k8s,omitempty"` // contains filtered or unexported fields }
func (*NameReq) ProtoReflect ¶
func (x *NameReq) ProtoReflect() protoreflect.Message
type ShellReq ¶
type ShellReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` K8S *K8S `protobuf:"bytes,99,opt,name=k8s,proto3" json:"k8s,omitempty"` // contains filtered or unexported fields }
func (*ShellReq) ProtoReflect ¶
func (x *ShellReq) ProtoReflect() protoreflect.Message
type ShellRsp ¶
type ShellRsp struct { Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // contains filtered or unexported fields }
func (*ShellRsp) ProtoReflect ¶
func (x *ShellRsp) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.