Documentation
¶
Index ¶
- Variables
- type DeployReq
- func (x *DeployReq) ClearConfig()
- func (x *DeployReq) ClearK8S()
- func (x *DeployReq) GetConfig() *DeployReq_Config
- func (x *DeployReq) GetK8S() *K8S
- func (x *DeployReq) HasConfig() bool
- func (x *DeployReq) HasK8S() bool
- func (*DeployReq) ProtoMessage()
- func (x *DeployReq) ProtoReflect() protoreflect.Message
- func (x *DeployReq) Reset()
- func (x *DeployReq) SetConfig(v *DeployReq_Config)
- func (x *DeployReq) SetK8S(v *K8S)
- func (x *DeployReq) String() string
- type DeployReq_Config
- func (x *DeployReq_Config) ClearEgress()
- func (x *DeployReq_Config) ClearTcpdump()
- func (x *DeployReq_Config) GetContainers() []*_go.Container
- func (x *DeployReq_Config) GetEgress() bool
- 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 (x *DeployReq_Config) GetTcpdump() bool
- func (x *DeployReq_Config) HasEgress() bool
- func (x *DeployReq_Config) HasTcpdump() bool
- func (*DeployReq_Config) ProtoMessage()
- func (x *DeployReq_Config) ProtoReflect() protoreflect.Message
- func (x *DeployReq_Config) Reset()
- func (x *DeployReq_Config) SetContainers(v []*_go.Container)
- func (x *DeployReq_Config) SetEgress(v bool)
- func (x *DeployReq_Config) SetEndpoint(v string)
- func (x *DeployReq_Config) SetExpose(v []string)
- func (x *DeployReq_Config) SetFlag(v string)
- func (x *DeployReq_Config) SetName(v string)
- func (x *DeployReq_Config) SetTcpdump(v bool)
- func (x *DeployReq_Config) String() string
- type DeployReq_Config_builder
- type DeployReq_builder
- type Empty
- type Empty_builder
- type EventRsp
- func (x *EventRsp) ClearItems()
- func (x *EventRsp) GetItems() *v11.EventList
- func (x *EventRsp) HasItems() bool
- func (*EventRsp) ProtoMessage()
- func (x *EventRsp) ProtoReflect() protoreflect.Message
- func (x *EventRsp) Reset()
- func (x *EventRsp) SetItems(v *v11.EventList)
- func (x *EventRsp) String() string
- type EventRsp_builder
- type ExecReq
- func (x *ExecReq) ClearK8S()
- func (x *ExecReq) GetCommand() string
- func (x *ExecReq) GetIndex() int64
- func (x *ExecReq) GetK8S() *K8S
- func (x *ExecReq) GetName() string
- func (x *ExecReq) HasK8S() bool
- func (*ExecReq) ProtoMessage()
- func (x *ExecReq) ProtoReflect() protoreflect.Message
- func (x *ExecReq) Reset()
- func (x *ExecReq) SetCommand(v string)
- func (x *ExecReq) SetIndex(v int64)
- func (x *ExecReq) SetK8S(v *K8S)
- func (x *ExecReq) SetName(v string)
- func (x *ExecReq) String() string
- type ExecReq_builder
- type ExecRsp
- type ExecRsp_builder
- type K8S
- type K8S_builder
- type ListReq
- type ListReq_builder
- type ListRsp
- type ListRsp_builder
- type LogRsp
- type LogRsp_Log
- func (x *LogRsp_Log) GetData() string
- func (x *LogRsp_Log) GetName() string
- func (*LogRsp_Log) ProtoMessage()
- func (x *LogRsp_Log) ProtoReflect() protoreflect.Message
- func (x *LogRsp_Log) Reset()
- func (x *LogRsp_Log) SetData(v string)
- func (x *LogRsp_Log) SetName(v string)
- func (x *LogRsp_Log) String() string
- type LogRsp_Log_builder
- type LogRsp_builder
- type NameReq
- func (x *NameReq) ClearK8S()
- func (x *NameReq) GetK8S() *K8S
- func (x *NameReq) GetName() string
- func (x *NameReq) HasK8S() bool
- func (*NameReq) ProtoMessage()
- func (x *NameReq) ProtoReflect() protoreflect.Message
- func (x *NameReq) Reset()
- func (x *NameReq) SetK8S(v *K8S)
- func (x *NameReq) SetName(v string)
- func (x *NameReq) String() string
- type NameReq_builder
- type PodRsp
- type PodRsp_builder
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
func (*DeployReq) SetConfig ¶
func (x *DeployReq) SetConfig(v *DeployReq_Config)
type DeployReq_Config ¶
type DeployReq_Config struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // pod_name
Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // domain
Flag string `protobuf:"bytes,3,opt,name=flag,proto3" json:"flag,omitempty"` // flag
Egress *bool `protobuf:"varint,4,opt,name=egress,proto3,oneof" json:"egress,omitempty"`
Tcpdump *bool `protobuf:"varint,5,opt,name=tcpdump,proto3,oneof" json:"tcpdump,omitempty"`
Expose []string `protobuf:"bytes,6,rep,name=expose,proto3" json:"expose,omitempty"` // port
Containers []*_go.Container `protobuf:"bytes,7,rep,name=containers,proto3" json:"containers,omitempty"` // containers
// contains filtered or unexported fields
}
func (*DeployReq_Config) ClearEgress ¶
func (x *DeployReq_Config) ClearEgress()
func (*DeployReq_Config) ClearTcpdump ¶
func (x *DeployReq_Config) ClearTcpdump()
func (*DeployReq_Config) GetContainers ¶
func (x *DeployReq_Config) GetContainers() []*_go.Container
func (*DeployReq_Config) GetEgress ¶
func (x *DeployReq_Config) GetEgress() bool
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) GetTcpdump ¶
func (x *DeployReq_Config) GetTcpdump() bool
func (*DeployReq_Config) HasEgress ¶
func (x *DeployReq_Config) HasEgress() bool
func (*DeployReq_Config) HasTcpdump ¶
func (x *DeployReq_Config) HasTcpdump() bool
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) SetContainers ¶
func (x *DeployReq_Config) SetContainers(v []*_go.Container)
func (*DeployReq_Config) SetEgress ¶
func (x *DeployReq_Config) SetEgress(v bool)
func (*DeployReq_Config) SetEndpoint ¶
func (x *DeployReq_Config) SetEndpoint(v string)
func (*DeployReq_Config) SetExpose ¶
func (x *DeployReq_Config) SetExpose(v []string)
func (*DeployReq_Config) SetFlag ¶
func (x *DeployReq_Config) SetFlag(v string)
func (*DeployReq_Config) SetName ¶
func (x *DeployReq_Config) SetName(v string)
func (*DeployReq_Config) SetTcpdump ¶
func (x *DeployReq_Config) SetTcpdump(v bool)
func (*DeployReq_Config) String ¶
func (x *DeployReq_Config) String() string
type DeployReq_Config_builder ¶
type DeployReq_Config_builder struct {
Name string
Endpoint string
Flag string
Egress *bool
Tcpdump *bool
Expose []string
Containers []*_go.Container
// contains filtered or unexported fields
}
func (DeployReq_Config_builder) Build ¶
func (b0 DeployReq_Config_builder) Build() *DeployReq_Config
type DeployReq_builder ¶
type DeployReq_builder struct {
Config *DeployReq_Config
K8S *K8S
// contains filtered or unexported fields
}
func (DeployReq_builder) Build ¶
func (b0 DeployReq_builder) Build() *DeployReq
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Empty_builder ¶
type Empty_builder struct {
// contains filtered or unexported fields
}
func (Empty_builder) Build ¶
func (b0 Empty_builder) Build() *Empty
type EventRsp ¶
type EventRsp struct {
Items *v11.EventList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*EventRsp) ProtoReflect ¶
func (x *EventRsp) ProtoReflect() protoreflect.Message
type EventRsp_builder ¶
func (EventRsp_builder) Build ¶
func (b0 EventRsp_builder) Build() *EventRsp
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 ExecReq_builder ¶
type ExecReq_builder struct {
Name string
Index int64
Command string
K8S *K8S
// contains filtered or unexported fields
}
func (ExecReq_builder) Build ¶
func (b0 ExecReq_builder) Build() *ExecReq
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 ExecRsp_builder ¶
type ExecRsp_builder struct {
Stdout string
// contains filtered or unexported fields
}
func (ExecRsp_builder) Build ¶
func (b0 ExecRsp_builder) Build() *ExecRsp
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 K8S_builder ¶
func (K8S_builder) Build ¶
func (b0 K8S_builder) Build() *K8S
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 ListReq_builder ¶
type ListReq_builder struct {
K8S *K8S
// contains filtered or unexported fields
}
func (ListReq_builder) Build ¶
func (b0 ListReq_builder) Build() *ListReq
type ListRsp ¶
type ListRsp struct {
Items *v1.PodList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*ListRsp) ProtoReflect ¶
func (x *ListRsp) ProtoReflect() protoreflect.Message
type ListRsp_builder ¶
func (ListRsp_builder) Build ¶
func (b0 ListRsp_builder) Build() *ListRsp
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
func (*LogRsp) SetData ¶
func (x *LogRsp) SetData(v []*LogRsp_Log)
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) 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) SetData ¶
func (x *LogRsp_Log) SetData(v string)
func (*LogRsp_Log) SetName ¶
func (x *LogRsp_Log) SetName(v string)
func (*LogRsp_Log) String ¶
func (x *LogRsp_Log) String() string
type LogRsp_Log_builder ¶
type LogRsp_Log_builder struct {
Name string
Data string
// contains filtered or unexported fields
}
func (LogRsp_Log_builder) Build ¶
func (b0 LogRsp_Log_builder) Build() *LogRsp_Log
type LogRsp_builder ¶
type LogRsp_builder struct {
Data []*LogRsp_Log
// contains filtered or unexported fields
}
func (LogRsp_builder) Build ¶
func (b0 LogRsp_builder) Build() *LogRsp
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 NameReq_builder ¶
func (NameReq_builder) Build ¶
func (b0 NameReq_builder) Build() *NameReq
Source Files
¶
- mercury.pb.go
Click to show internal directories.
Click to hide internal directories.