mercuryv1

package module
v1.36.11-2024060707210... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 8 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) ClearConfig

func (x *DeployReq) ClearConfig()

func (*DeployReq) ClearK8S

func (x *DeployReq) ClearK8S()

func (*DeployReq) GetConfig

func (x *DeployReq) GetConfig() *DeployReq_Config

func (*DeployReq) GetK8S

func (x *DeployReq) GetK8S() *K8S

func (*DeployReq) HasConfig

func (x *DeployReq) HasConfig() bool

func (*DeployReq) HasK8S

func (x *DeployReq) HasK8S() bool

func (*DeployReq) ProtoMessage

func (*DeployReq) ProtoMessage()

func (*DeployReq) ProtoReflect

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

func (*DeployReq) Reset

func (x *DeployReq) Reset()

func (*DeployReq) SetConfig

func (x *DeployReq) SetConfig(v *DeployReq_Config)

func (*DeployReq) SetK8S

func (x *DeployReq) SetK8S(v *K8S)

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,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

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) 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 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) ClearItems

func (x *EventRsp) ClearItems()

func (*EventRsp) GetItems

func (x *EventRsp) GetItems() *v11.EventList

func (*EventRsp) HasItems

func (x *EventRsp) HasItems() bool

func (*EventRsp) ProtoMessage

func (*EventRsp) ProtoMessage()

func (*EventRsp) ProtoReflect

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

func (*EventRsp) Reset

func (x *EventRsp) Reset()

func (*EventRsp) SetItems

func (x *EventRsp) SetItems(v *v11.EventList)

func (*EventRsp) String

func (x *EventRsp) String() string

type EventRsp_builder

type EventRsp_builder struct {
	Items *v11.EventList
	// contains filtered or unexported fields
}

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) ClearK8S

func (x *ExecReq) ClearK8S()

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) HasK8S

func (x *ExecReq) HasK8S() bool

func (*ExecReq) ProtoMessage

func (*ExecReq) ProtoMessage()

func (*ExecReq) ProtoReflect

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

func (*ExecReq) Reset

func (x *ExecReq) Reset()

func (*ExecReq) SetCommand

func (x *ExecReq) SetCommand(v string)

func (*ExecReq) SetIndex

func (x *ExecReq) SetIndex(v int64)

func (*ExecReq) SetK8S

func (x *ExecReq) SetK8S(v *K8S)

func (*ExecReq) SetName

func (x *ExecReq) SetName(v string)

func (*ExecReq) String

func (x *ExecReq) String() string

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) 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) SetStdout

func (x *ExecRsp) SetStdout(v string)

func (*ExecRsp) String

func (x *ExecRsp) String() string

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) 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) SetName

func (x *K8S) SetName(v string)

func (*K8S) SetNamespace

func (x *K8S) SetNamespace(v string)

func (*K8S) String

func (x *K8S) String() string

type K8S_builder

type K8S_builder struct {
	Name      string
	Namespace string
	// contains filtered or unexported fields
}

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) ClearK8S

func (x *ListReq) ClearK8S()

func (*ListReq) GetK8S

func (x *ListReq) GetK8S() *K8S

func (*ListReq) HasK8S

func (x *ListReq) HasK8S() bool

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) ProtoReflect

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

func (*ListReq) Reset

func (x *ListReq) Reset()

func (*ListReq) SetK8S

func (x *ListReq) SetK8S(v *K8S)

func (*ListReq) String

func (x *ListReq) String() string

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) ClearItems

func (x *ListRsp) ClearItems()

func (*ListRsp) GetItems

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

func (*ListRsp) HasItems

func (x *ListRsp) HasItems() bool

func (*ListRsp) ProtoMessage

func (*ListRsp) ProtoMessage()

func (*ListRsp) ProtoReflect

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

func (*ListRsp) Reset

func (x *ListRsp) Reset()

func (*ListRsp) SetItems

func (x *ListRsp) SetItems(v *v1.PodList)

func (*ListRsp) String

func (x *ListRsp) String() string

type ListRsp_builder

type ListRsp_builder struct {
	Items *v1.PodList
	// contains filtered or unexported fields
}

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) ProtoMessage

func (*LogRsp) ProtoMessage()

func (*LogRsp) ProtoReflect

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

func (*LogRsp) Reset

func (x *LogRsp) Reset()

func (*LogRsp) SetData

func (x *LogRsp) SetData(v []*LogRsp_Log)

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) 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) ClearK8S

func (x *NameReq) ClearK8S()

func (*NameReq) GetK8S

func (x *NameReq) GetK8S() *K8S

func (*NameReq) GetName

func (x *NameReq) GetName() string

func (*NameReq) HasK8S

func (x *NameReq) HasK8S() bool

func (*NameReq) ProtoMessage

func (*NameReq) ProtoMessage()

func (*NameReq) ProtoReflect

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

func (*NameReq) Reset

func (x *NameReq) Reset()

func (*NameReq) SetK8S

func (x *NameReq) SetK8S(v *K8S)

func (*NameReq) SetName

func (x *NameReq) SetName(v string)

func (*NameReq) String

func (x *NameReq) String() string

type NameReq_builder

type NameReq_builder struct {
	Name string
	K8S  *K8S
	// contains filtered or unexported fields
}

func (NameReq_builder) Build

func (b0 NameReq_builder) Build() *NameReq

type PodRsp

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

func (*PodRsp) ClearPod

func (x *PodRsp) ClearPod()

func (*PodRsp) GetPod

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

func (*PodRsp) HasPod

func (x *PodRsp) HasPod() bool

func (*PodRsp) ProtoMessage

func (*PodRsp) ProtoMessage()

func (*PodRsp) ProtoReflect

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

func (*PodRsp) Reset

func (x *PodRsp) Reset()

func (*PodRsp) SetPod

func (x *PodRsp) SetPod(v *v1.Pod)

func (*PodRsp) String

func (x *PodRsp) String() string

type PodRsp_builder

type PodRsp_builder struct {
	Pod *v1.Pod
	// contains filtered or unexported fields
}

func (PodRsp_builder) Build

func (b0 PodRsp_builder) Build() *PodRsp

Source Files

  • mercury.pb.go

Jump to

Keyboard shortcuts

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