_go

package module
v1.33.0-20240417125149... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 7 Imported by: 1

Documentation

Index

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) Descriptor deprecated

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

Deprecated: Use DeployReq.ProtoReflect.Descriptor instead.

func (*DeployReq) GetConfig

func (x *DeployReq) GetConfig() *DeployReq_Config

func (*DeployReq) GetK8S

func (x *DeployReq) GetK8S() *K8S

func (*DeployReq) ProtoMessage

func (*DeployReq) ProtoMessage()

func (*DeployReq) ProtoReflect

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

func (*DeployReq) Reset

func (x *DeployReq) Reset()

func (*DeployReq) String

func (x *DeployReq) String() string

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,4,opt,name=flag,proto3" json:"flag,omitempty"`         // flag
	BanEgress  bool             `protobuf:"varint,5,opt,name=ban_egress,json=banEgress,proto3" json:"ban_egress,omitempty"`
	Tcpdump    bool             `protobuf:"varint,6,opt,name=tcpdump,proto3" json:"tcpdump,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) GetTcpdump

func (x *DeployReq_Config) GetTcpdump() 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) String

func (x *DeployReq_Config) 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 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) Descriptor deprecated

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

Deprecated: Use ExecReq.ProtoReflect.Descriptor instead.

func (*ExecReq) GetCommand

func (x *ExecReq) GetCommand() string

func (*ExecReq) GetIndex

func (x *ExecReq) GetIndex() int64

func (*ExecReq) GetK8S

func (x *ExecReq) GetK8S() *K8S

func (*ExecReq) GetName

func (x *ExecReq) GetName() string

func (*ExecReq) ProtoMessage

func (*ExecReq) ProtoMessage()

func (*ExecReq) ProtoReflect

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

func (*ExecReq) Reset

func (x *ExecReq) Reset()

func (*ExecReq) String

func (x *ExecReq) String() string

type ExecRsp

type ExecRsp struct {
	Stdout string `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecRsp) Descriptor deprecated

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

Deprecated: Use ExecRsp.ProtoReflect.Descriptor instead.

func (*ExecRsp) GetStdout

func (x *ExecRsp) GetStdout() string

func (*ExecRsp) ProtoMessage

func (*ExecRsp) ProtoMessage()

func (*ExecRsp) ProtoReflect

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

func (*ExecRsp) Reset

func (x *ExecRsp) Reset()

func (*ExecRsp) String

func (x *ExecRsp) String() string

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) Descriptor deprecated

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

Deprecated: Use K8S.ProtoReflect.Descriptor instead.

func (*K8S) GetName

func (x *K8S) GetName() string

func (*K8S) GetNamespace

func (x *K8S) GetNamespace() string

func (*K8S) ProtoMessage

func (*K8S) ProtoMessage()

func (*K8S) ProtoReflect

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

func (*K8S) Reset

func (x *K8S) Reset()

func (*K8S) String

func (x *K8S) String() string

type ListReq

type ListReq struct {
	K8S *K8S `protobuf:"bytes,99,opt,name=k8s,proto3" json:"k8s,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReq) Descriptor deprecated

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

Deprecated: Use ListReq.ProtoReflect.Descriptor instead.

func (*ListReq) GetK8S

func (x *ListReq) GetK8S() *K8S

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) ProtoReflect

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

func (*ListReq) Reset

func (x *ListReq) Reset()

func (*ListReq) String

func (x *ListReq) String() string

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) Descriptor deprecated

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

Deprecated: Use ListRsp.ProtoReflect.Descriptor instead.

func (*ListRsp) GetPods

func (x *ListRsp) GetPods() *v1.PodList

func (*ListRsp) ProtoMessage

func (*ListRsp) ProtoMessage()

func (*ListRsp) ProtoReflect

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

func (*ListRsp) Reset

func (x *ListRsp) Reset()

func (*ListRsp) String

func (x *ListRsp) String() string

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) Descriptor deprecated

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

Deprecated: Use LogRsp.ProtoReflect.Descriptor instead.

func (*LogRsp) GetData

func (x *LogRsp) GetData() []*LogRsp_Log

func (*LogRsp) ProtoMessage

func (*LogRsp) ProtoMessage()

func (*LogRsp) ProtoReflect

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

func (*LogRsp) Reset

func (x *LogRsp) Reset()

func (*LogRsp) String

func (x *LogRsp) String() string

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) Descriptor deprecated

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

Deprecated: Use NameReq.ProtoReflect.Descriptor instead.

func (*NameReq) GetK8S

func (x *NameReq) GetK8S() *K8S

func (*NameReq) GetName

func (x *NameReq) GetName() string

func (*NameReq) ProtoMessage

func (*NameReq) ProtoMessage()

func (*NameReq) ProtoReflect

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

func (*NameReq) Reset

func (x *NameReq) Reset()

func (*NameReq) String

func (x *NameReq) String() string

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) Descriptor deprecated

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

Deprecated: Use ShellReq.ProtoReflect.Descriptor instead.

func (*ShellReq) GetIndex

func (x *ShellReq) GetIndex() int64

func (*ShellReq) GetK8S

func (x *ShellReq) GetK8S() *K8S

func (*ShellReq) GetName

func (x *ShellReq) GetName() string

func (*ShellReq) GetStdin

func (x *ShellReq) GetStdin() []byte

func (*ShellReq) ProtoMessage

func (*ShellReq) ProtoMessage()

func (*ShellReq) ProtoReflect

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

func (*ShellReq) Reset

func (x *ShellReq) Reset()

func (*ShellReq) String

func (x *ShellReq) String() string

type ShellRsp

type ShellRsp struct {
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// contains filtered or unexported fields
}

func (*ShellRsp) Descriptor deprecated

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

Deprecated: Use ShellRsp.ProtoReflect.Descriptor instead.

func (*ShellRsp) GetStdout

func (x *ShellRsp) GetStdout() []byte

func (*ShellRsp) ProtoMessage

func (*ShellRsp) ProtoMessage()

func (*ShellRsp) ProtoReflect

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

func (*ShellRsp) Reset

func (x *ShellRsp) Reset()

func (*ShellRsp) String

func (x *ShellRsp) String() string

type WatchRsp

type WatchRsp struct {
	Pod *v1.Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRsp) Descriptor deprecated

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

Deprecated: Use WatchRsp.ProtoReflect.Descriptor instead.

func (*WatchRsp) GetPod

func (x *WatchRsp) GetPod() *v1.Pod

func (*WatchRsp) ProtoMessage

func (*WatchRsp) ProtoMessage()

func (*WatchRsp) ProtoReflect

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

func (*WatchRsp) Reset

func (x *WatchRsp) Reset()

func (*WatchRsp) String

func (x *WatchRsp) String() string

Jump to

Keyboard shortcuts

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