runtimepb

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: Apache-2.0 Imports: 16 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCmdImage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCmdImage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCmdImage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCmdPod        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCmdPod          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCmdPod = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgImage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgImage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgImage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgPod        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgPod          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgPod = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRuntime        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRuntime          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRuntime = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ContainerSecuritySpec_ProcMountKind_name = map[int32]string{
	0: "PROC_MOUNT_DEFAULT",
	1: "PROC_MOUNT_UNMASKED",
}
View Source
var ContainerSecuritySpec_ProcMountKind_value = map[string]int32{
	"PROC_MOUNT_DEFAULT":  0,
	"PROC_MOUNT_UNMASKED": 1,
}
View Source
var ImagePullPolicy_name = map[int32]string{
	0: "IMAGE_PULL_ALWAYS",
	1: "IMAGE_PULL_IF_NOT_PRESENT",
	2: "IMAGE_PULL_NEVER",
}
View Source
var ImagePullPolicy_value = map[string]int32{
	"IMAGE_PULL_ALWAYS":         0,
	"IMAGE_PULL_IF_NOT_PRESENT": 1,
	"IMAGE_PULL_NEVER":          2,
}
View Source
var PacketType_name = map[int32]string{
	0:  "_INVALID_RUNTIME_DATA",
	1:  "CMD_GET_INFO",
	2:  "CMD_EXEC",
	3:  "CMD_ATTACH",
	4:  "CMD_LOGS",
	5:  "CMD_TTY_RESIZE",
	6:  "CMD_PORT_FORWARD",
	8:  "MSG_DONE",
	9:  "MSG_RUNTIME_INFO",
	10: "MSG_ERROR",
	11: "CMD_IMAGE_LIST",
	12: "CMD_IMAGE_ENSURE",
	13: "CMD_IMAGE_DELETE",
	21: "MSG_IMAGE_STATUS",
	22: "MSG_IMAGE_STATUS_LIST",
	31: "CMD_POD_LIST",
	32: "CMD_POD_ENSURE",
	33: "CMD_POD_DELETE",
	41: "MSG_POD_STATUS",
	42: "MSG_POD_STATUS_LIST",
	51: "CMD_METRICS_CONFIG",
	52: "CMD_METRICS_COLLECT",
}
View Source
var PacketType_value = map[string]int32{
	"_INVALID_RUNTIME_DATA": 0,
	"CMD_GET_INFO":          1,
	"CMD_EXEC":              2,
	"CMD_ATTACH":            3,
	"CMD_LOGS":              4,
	"CMD_TTY_RESIZE":        5,
	"CMD_PORT_FORWARD":      6,
	"MSG_DONE":              8,
	"MSG_RUNTIME_INFO":      9,
	"MSG_ERROR":             10,
	"CMD_IMAGE_LIST":        11,
	"CMD_IMAGE_ENSURE":      12,
	"CMD_IMAGE_DELETE":      13,
	"MSG_IMAGE_STATUS":      21,
	"MSG_IMAGE_STATUS_LIST": 22,
	"CMD_POD_LIST":          31,
	"CMD_POD_ENSURE":        32,
	"CMD_POD_DELETE":        33,
	"MSG_POD_STATUS":        41,
	"MSG_POD_STATUS_LIST":   42,
	"CMD_METRICS_CONFIG":    51,
	"CMD_METRICS_COLLECT":   52,
}
View Source
var PodState_name = map[int32]string{
	0: "POD_STATE_UNKNOWN",
	1: "POD_STATE_PENDING",
	2: "POD_STATE_RUNNING",
	3: "POD_STATE_SUCCEEDED",
	4: "POD_STATE_FAILED",
}
View Source
var PodState_value = map[string]int32{
	"POD_STATE_UNKNOWN":   0,
	"POD_STATE_PENDING":   1,
	"POD_STATE_RUNNING":   2,
	"POD_STATE_SUCCEEDED": 3,
	"POD_STATE_FAILED":    4,
}
View Source
var RestartPolicy_name = map[int32]string{
	0: "RESTART_ALWAYS",
	1: "RESTART_ON_FAILURE",
	2: "RESTART_NEVER",
}
View Source
var RestartPolicy_value = map[string]int32{
	"RESTART_ALWAYS":     0,
	"RESTART_ON_FAILURE": 1,
	"RESTART_NEVER":      2,
}

Functions

This section is empty.

Types

type ContainerAction

type ContainerAction struct {
	// Types that are valid to be assigned to Action:
	//	*ContainerAction_Exec_
	//	*ContainerAction_Http
	//	*ContainerAction_Socket_
	Action isContainerAction_Action `protobuf_oneof:"action"`
}

func (*ContainerAction) Descriptor

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

func (*ContainerAction) Equal

func (this *ContainerAction) Equal(that interface{}) bool

func (*ContainerAction) GetAction

func (m *ContainerAction) GetAction() isContainerAction_Action

func (*ContainerAction) GetExec

func (m *ContainerAction) GetExec() *ContainerAction_Exec

func (*ContainerAction) GetHttp

func (m *ContainerAction) GetHttp() *ContainerAction_HTTP

func (*ContainerAction) GetSocket

func (m *ContainerAction) GetSocket() *ContainerAction_Socket

func (*ContainerAction) GoString

func (this *ContainerAction) GoString() string

func (*ContainerAction) Marshal

func (m *ContainerAction) Marshal() (dAtA []byte, err error)

func (*ContainerAction) MarshalTo

func (m *ContainerAction) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAction) MarshalToSizedBuffer

func (m *ContainerAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAction) ProtoMessage

func (*ContainerAction) ProtoMessage()

func (*ContainerAction) Reset

func (m *ContainerAction) Reset()

func (*ContainerAction) Size

func (m *ContainerAction) Size() (n int)

func (*ContainerAction) String

func (this *ContainerAction) String() string

func (*ContainerAction) Unmarshal

func (m *ContainerAction) Unmarshal(dAtA []byte) error

func (*ContainerAction) XXX_DiscardUnknown

func (m *ContainerAction) XXX_DiscardUnknown()

func (*ContainerAction) XXX_Marshal

func (m *ContainerAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerAction) XXX_Merge

func (m *ContainerAction) XXX_Merge(src proto.Message)

func (*ContainerAction) XXX_OneofWrappers

func (*ContainerAction) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContainerAction) XXX_Size

func (m *ContainerAction) XXX_Size() int

func (*ContainerAction) XXX_Unmarshal

func (m *ContainerAction) XXX_Unmarshal(b []byte) error

type ContainerAction_Exec

type ContainerAction_Exec struct {
	Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
}

func (*ContainerAction_Exec) Descriptor

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

func (*ContainerAction_Exec) Equal

func (this *ContainerAction_Exec) Equal(that interface{}) bool

func (*ContainerAction_Exec) GetCommand

func (m *ContainerAction_Exec) GetCommand() []string

func (*ContainerAction_Exec) GoString

func (this *ContainerAction_Exec) GoString() string

func (*ContainerAction_Exec) Marshal

func (m *ContainerAction_Exec) Marshal() (dAtA []byte, err error)

func (*ContainerAction_Exec) MarshalTo

func (m *ContainerAction_Exec) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAction_Exec) MarshalToSizedBuffer

func (m *ContainerAction_Exec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAction_Exec) ProtoMessage

func (*ContainerAction_Exec) ProtoMessage()

func (*ContainerAction_Exec) Reset

func (m *ContainerAction_Exec) Reset()

func (*ContainerAction_Exec) Size

func (m *ContainerAction_Exec) Size() (n int)

func (*ContainerAction_Exec) String

func (this *ContainerAction_Exec) String() string

func (*ContainerAction_Exec) Unmarshal

func (m *ContainerAction_Exec) Unmarshal(dAtA []byte) error

func (*ContainerAction_Exec) XXX_DiscardUnknown

func (m *ContainerAction_Exec) XXX_DiscardUnknown()

func (*ContainerAction_Exec) XXX_Marshal

func (m *ContainerAction_Exec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerAction_Exec) XXX_Merge

func (m *ContainerAction_Exec) XXX_Merge(src proto.Message)

func (*ContainerAction_Exec) XXX_Size

func (m *ContainerAction_Exec) XXX_Size() int

func (*ContainerAction_Exec) XXX_Unmarshal

func (m *ContainerAction_Exec) XXX_Unmarshal(b []byte) error

type ContainerAction_Exec_

type ContainerAction_Exec_ struct {
	Exec *ContainerAction_Exec `protobuf:"bytes,1,opt,name=exec,proto3,oneof" json:"exec,omitempty"`
}

func (*ContainerAction_Exec_) Equal

func (this *ContainerAction_Exec_) Equal(that interface{}) bool

func (*ContainerAction_Exec_) GoString

func (this *ContainerAction_Exec_) GoString() string

func (*ContainerAction_Exec_) MarshalTo

func (m *ContainerAction_Exec_) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAction_Exec_) MarshalToSizedBuffer

func (m *ContainerAction_Exec_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAction_Exec_) Size

func (m *ContainerAction_Exec_) Size() (n int)

func (*ContainerAction_Exec_) String

func (this *ContainerAction_Exec_) String() string

type ContainerAction_HTTP

type ContainerAction_HTTP struct {
	Method  string          `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Url     string          `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Headers []*KeyValuePair `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
}

func (*ContainerAction_HTTP) Descriptor

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

func (*ContainerAction_HTTP) Equal

func (this *ContainerAction_HTTP) Equal(that interface{}) bool

func (*ContainerAction_HTTP) GetHeaders

func (m *ContainerAction_HTTP) GetHeaders() []*KeyValuePair

func (*ContainerAction_HTTP) GetMethod

func (m *ContainerAction_HTTP) GetMethod() string

func (*ContainerAction_HTTP) GetUrl

func (m *ContainerAction_HTTP) GetUrl() string

func (*ContainerAction_HTTP) GoString

func (this *ContainerAction_HTTP) GoString() string

func (*ContainerAction_HTTP) Marshal

func (m *ContainerAction_HTTP) Marshal() (dAtA []byte, err error)

func (*ContainerAction_HTTP) MarshalTo

func (m *ContainerAction_HTTP) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAction_HTTP) MarshalToSizedBuffer

func (m *ContainerAction_HTTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAction_HTTP) ProtoMessage

func (*ContainerAction_HTTP) ProtoMessage()

func (*ContainerAction_HTTP) Reset

func (m *ContainerAction_HTTP) Reset()

func (*ContainerAction_HTTP) Size

func (m *ContainerAction_HTTP) Size() (n int)

func (*ContainerAction_HTTP) String

func (this *ContainerAction_HTTP) String() string

func (*ContainerAction_HTTP) Unmarshal

func (m *ContainerAction_HTTP) Unmarshal(dAtA []byte) error

func (*ContainerAction_HTTP) XXX_DiscardUnknown

func (m *ContainerAction_HTTP) XXX_DiscardUnknown()

func (*ContainerAction_HTTP) XXX_Marshal

func (m *ContainerAction_HTTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerAction_HTTP) XXX_Merge

func (m *ContainerAction_HTTP) XXX_Merge(src proto.Message)

func (*ContainerAction_HTTP) XXX_Size

func (m *ContainerAction_HTTP) XXX_Size() int

func (*ContainerAction_HTTP) XXX_Unmarshal

func (m *ContainerAction_HTTP) XXX_Unmarshal(b []byte) error

type ContainerAction_Http

type ContainerAction_Http struct {
	Http *ContainerAction_HTTP `protobuf:"bytes,2,opt,name=http,proto3,oneof" json:"http,omitempty"`
}

func (*ContainerAction_Http) Equal

func (this *ContainerAction_Http) Equal(that interface{}) bool

func (*ContainerAction_Http) GoString

func (this *ContainerAction_Http) GoString() string

func (*ContainerAction_Http) MarshalTo

func (m *ContainerAction_Http) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAction_Http) MarshalToSizedBuffer

func (m *ContainerAction_Http) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAction_Http) Size

func (m *ContainerAction_Http) Size() (n int)

func (*ContainerAction_Http) String

func (this *ContainerAction_Http) String() string

type ContainerAction_Socket

type ContainerAction_Socket struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*ContainerAction_Socket) Descriptor

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

func (*ContainerAction_Socket) Equal

func (this *ContainerAction_Socket) Equal(that interface{}) bool

func (*ContainerAction_Socket) GetAddress

func (m *ContainerAction_Socket) GetAddress() string

func (*ContainerAction_Socket) GoString

func (this *ContainerAction_Socket) GoString() string

func (*ContainerAction_Socket) Marshal

func (m *ContainerAction_Socket) Marshal() (dAtA []byte, err error)

func (*ContainerAction_Socket) MarshalTo

func (m *ContainerAction_Socket) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAction_Socket) MarshalToSizedBuffer

func (m *ContainerAction_Socket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAction_Socket) ProtoMessage

func (*ContainerAction_Socket) ProtoMessage()

func (*ContainerAction_Socket) Reset

func (m *ContainerAction_Socket) Reset()

func (*ContainerAction_Socket) Size

func (m *ContainerAction_Socket) Size() (n int)

func (*ContainerAction_Socket) String

func (this *ContainerAction_Socket) String() string

func (*ContainerAction_Socket) Unmarshal

func (m *ContainerAction_Socket) Unmarshal(dAtA []byte) error

func (*ContainerAction_Socket) XXX_DiscardUnknown

func (m *ContainerAction_Socket) XXX_DiscardUnknown()

func (*ContainerAction_Socket) XXX_Marshal

func (m *ContainerAction_Socket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerAction_Socket) XXX_Merge

func (m *ContainerAction_Socket) XXX_Merge(src proto.Message)

func (*ContainerAction_Socket) XXX_Size

func (m *ContainerAction_Socket) XXX_Size() int

func (*ContainerAction_Socket) XXX_Unmarshal

func (m *ContainerAction_Socket) XXX_Unmarshal(b []byte) error

type ContainerAction_Socket_

type ContainerAction_Socket_ struct {
	Socket *ContainerAction_Socket `protobuf:"bytes,3,opt,name=socket,proto3,oneof" json:"socket,omitempty"`
}

func (*ContainerAction_Socket_) Equal

func (this *ContainerAction_Socket_) Equal(that interface{}) bool

func (*ContainerAction_Socket_) GoString

func (this *ContainerAction_Socket_) GoString() string

func (*ContainerAction_Socket_) MarshalTo

func (m *ContainerAction_Socket_) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAction_Socket_) MarshalToSizedBuffer

func (m *ContainerAction_Socket_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAction_Socket_) Size

func (m *ContainerAction_Socket_) Size() (n int)

func (*ContainerAction_Socket_) String

func (this *ContainerAction_Socket_) String() string

type ContainerMountSpec

type ContainerMountSpec struct {
	MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	SubPath   string `protobuf:"bytes,2,opt,name=sub_path,json=subPath,proto3" json:"sub_path,omitempty"`
	ReadOnly  bool   `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// device type
	Type     string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Options  []string `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"`
	FileMode uint32   `protobuf:"varint,6,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
	// mount this volume use cluster CSI
	Remote bool `protobuf:"varint,7,opt,name=remote,proto3" json:"remote,omitempty"`
}

func (*ContainerMountSpec) Descriptor

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

func (*ContainerMountSpec) Ensure

func (v *ContainerMountSpec) Ensure(dir string, dataMap map[string][]byte) (mountPath string, err error)

func (*ContainerMountSpec) Equal

func (this *ContainerMountSpec) Equal(that interface{}) bool

func (*ContainerMountSpec) GetFileMode

func (m *ContainerMountSpec) GetFileMode() uint32

func (*ContainerMountSpec) GetMountPath

func (m *ContainerMountSpec) GetMountPath() string

func (*ContainerMountSpec) GetOptions

func (m *ContainerMountSpec) GetOptions() []string

func (*ContainerMountSpec) GetReadOnly

func (m *ContainerMountSpec) GetReadOnly() bool

func (*ContainerMountSpec) GetRemote

func (m *ContainerMountSpec) GetRemote() bool

func (*ContainerMountSpec) GetSubPath

func (m *ContainerMountSpec) GetSubPath() string

func (*ContainerMountSpec) GetType

func (m *ContainerMountSpec) GetType() string

func (*ContainerMountSpec) GoString

func (this *ContainerMountSpec) GoString() string

func (*ContainerMountSpec) Marshal

func (m *ContainerMountSpec) Marshal() (dAtA []byte, err error)

func (*ContainerMountSpec) MarshalTo

func (m *ContainerMountSpec) MarshalTo(dAtA []byte) (int, error)

func (*ContainerMountSpec) MarshalToSizedBuffer

func (m *ContainerMountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerMountSpec) ProtoMessage

func (*ContainerMountSpec) ProtoMessage()

func (*ContainerMountSpec) Reset

func (m *ContainerMountSpec) Reset()

func (*ContainerMountSpec) Size

func (m *ContainerMountSpec) Size() (n int)

func (*ContainerMountSpec) String

func (this *ContainerMountSpec) String() string

func (*ContainerMountSpec) Unmarshal

func (m *ContainerMountSpec) Unmarshal(dAtA []byte) error

func (*ContainerMountSpec) XXX_DiscardUnknown

func (m *ContainerMountSpec) XXX_DiscardUnknown()

func (*ContainerMountSpec) XXX_Marshal

func (m *ContainerMountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerMountSpec) XXX_Merge

func (m *ContainerMountSpec) XXX_Merge(src proto.Message)

func (*ContainerMountSpec) XXX_Size

func (m *ContainerMountSpec) XXX_Size() int

func (*ContainerMountSpec) XXX_Unmarshal

func (m *ContainerMountSpec) XXX_Unmarshal(b []byte) error

type ContainerProbeSpec

type ContainerProbeSpec struct {
	InitialDelay     int64            `protobuf:"varint,1,opt,name=initial_delay,json=initialDelay,proto3" json:"initial_delay,omitempty"`
	ProbeTimeout     int64            `protobuf:"varint,2,opt,name=probe_timeout,json=probeTimeout,proto3" json:"probe_timeout,omitempty"`
	ProbeInterval    int64            `protobuf:"varint,3,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"`
	SuccessThreshold int32            `protobuf:"varint,4,opt,name=success_threshold,json=successThreshold,proto3" json:"success_threshold,omitempty"`
	FailureThreshold int32            `protobuf:"varint,5,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"`
	Method           *ContainerAction `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"`
}

func (*ContainerProbeSpec) Descriptor

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

func (*ContainerProbeSpec) Equal

func (this *ContainerProbeSpec) Equal(that interface{}) bool

func (*ContainerProbeSpec) GetFailureThreshold

func (m *ContainerProbeSpec) GetFailureThreshold() int32

func (*ContainerProbeSpec) GetInitialDelay

func (m *ContainerProbeSpec) GetInitialDelay() int64

func (*ContainerProbeSpec) GetMethod

func (m *ContainerProbeSpec) GetMethod() *ContainerAction

func (*ContainerProbeSpec) GetProbeInterval

func (m *ContainerProbeSpec) GetProbeInterval() int64

func (*ContainerProbeSpec) GetProbeTimeout

func (m *ContainerProbeSpec) GetProbeTimeout() int64

func (*ContainerProbeSpec) GetSuccessThreshold

func (m *ContainerProbeSpec) GetSuccessThreshold() int32

func (*ContainerProbeSpec) GoString

func (this *ContainerProbeSpec) GoString() string

func (*ContainerProbeSpec) Marshal

func (m *ContainerProbeSpec) Marshal() (dAtA []byte, err error)

func (*ContainerProbeSpec) MarshalTo

func (m *ContainerProbeSpec) MarshalTo(dAtA []byte) (int, error)

func (*ContainerProbeSpec) MarshalToSizedBuffer

func (m *ContainerProbeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerProbeSpec) ProtoMessage

func (*ContainerProbeSpec) ProtoMessage()

func (*ContainerProbeSpec) Reset

func (m *ContainerProbeSpec) Reset()

func (*ContainerProbeSpec) Size

func (m *ContainerProbeSpec) Size() (n int)

func (*ContainerProbeSpec) String

func (this *ContainerProbeSpec) String() string

func (*ContainerProbeSpec) Unmarshal

func (m *ContainerProbeSpec) Unmarshal(dAtA []byte) error

func (*ContainerProbeSpec) XXX_DiscardUnknown

func (m *ContainerProbeSpec) XXX_DiscardUnknown()

func (*ContainerProbeSpec) XXX_Marshal

func (m *ContainerProbeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerProbeSpec) XXX_Merge

func (m *ContainerProbeSpec) XXX_Merge(src proto.Message)

func (*ContainerProbeSpec) XXX_Size

func (m *ContainerProbeSpec) XXX_Size() int

func (*ContainerProbeSpec) XXX_Unmarshal

func (m *ContainerProbeSpec) XXX_Unmarshal(b []byte) error

type ContainerSecuritySpec

type ContainerSecuritySpec struct {
	Privileged         bool                                `protobuf:"varint,1,opt,name=privileged,proto3" json:"privileged,omitempty"`
	AllowNewPrivileges bool                                `protobuf:"varint,2,opt,name=allow_new_privileges,json=allowNewPrivileges,proto3" json:"allow_new_privileges,omitempty"`
	NonRoot            bool                                `protobuf:"varint,3,opt,name=non_root,json=nonRoot,proto3" json:"non_root,omitempty"`
	ReadOnlyRootfs     bool                                `protobuf:"varint,4,opt,name=read_only_rootfs,json=readOnlyRootfs,proto3" json:"read_only_rootfs,omitempty"`
	User               int64                               `protobuf:"varint,5,opt,name=user,proto3" json:"user,omitempty"`
	Group              int64                               `protobuf:"varint,6,opt,name=group,proto3" json:"group,omitempty"`
	CapsAdd            []string                            `protobuf:"bytes,7,rep,name=caps_add,json=capsAdd,proto3" json:"caps_add,omitempty"`
	CapsDrop           []string                            `protobuf:"bytes,8,rep,name=caps_drop,json=capsDrop,proto3" json:"caps_drop,omitempty"`
	ProcMountKind      ContainerSecuritySpec_ProcMountKind `` /* 152-byte string literal not displayed */
	SelinuxOptions     *SELinuxOptions                     `protobuf:"bytes,10,opt,name=selinux_options,json=selinuxOptions,proto3" json:"selinux_options,omitempty"`
}

func (*ContainerSecuritySpec) Descriptor

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

func (*ContainerSecuritySpec) Equal

func (this *ContainerSecuritySpec) Equal(that interface{}) bool

func (*ContainerSecuritySpec) GetAllowNewPrivileges

func (m *ContainerSecuritySpec) GetAllowNewPrivileges() bool

func (*ContainerSecuritySpec) GetCapsAdd

func (m *ContainerSecuritySpec) GetCapsAdd() []string

func (*ContainerSecuritySpec) GetCapsDrop

func (m *ContainerSecuritySpec) GetCapsDrop() []string

func (*ContainerSecuritySpec) GetGroup

func (m *ContainerSecuritySpec) GetGroup() int64

func (*ContainerSecuritySpec) GetNonRoot

func (m *ContainerSecuritySpec) GetNonRoot() bool

func (*ContainerSecuritySpec) GetPrivileged

func (m *ContainerSecuritySpec) GetPrivileged() bool

func (*ContainerSecuritySpec) GetProcMountKind

func (*ContainerSecuritySpec) GetReadOnlyRootfs

func (m *ContainerSecuritySpec) GetReadOnlyRootfs() bool

func (*ContainerSecuritySpec) GetSelinuxOptions

func (m *ContainerSecuritySpec) GetSelinuxOptions() *SELinuxOptions

func (*ContainerSecuritySpec) GetUser

func (m *ContainerSecuritySpec) GetUser() int64

func (*ContainerSecuritySpec) GoString

func (this *ContainerSecuritySpec) GoString() string

func (*ContainerSecuritySpec) Marshal

func (m *ContainerSecuritySpec) Marshal() (dAtA []byte, err error)

func (*ContainerSecuritySpec) MarshalTo

func (m *ContainerSecuritySpec) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSecuritySpec) MarshalToSizedBuffer

func (m *ContainerSecuritySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSecuritySpec) ProtoMessage

func (*ContainerSecuritySpec) ProtoMessage()

func (*ContainerSecuritySpec) Reset

func (m *ContainerSecuritySpec) Reset()

func (*ContainerSecuritySpec) Size

func (m *ContainerSecuritySpec) Size() (n int)

func (*ContainerSecuritySpec) String

func (this *ContainerSecuritySpec) String() string

func (*ContainerSecuritySpec) Unmarshal

func (m *ContainerSecuritySpec) Unmarshal(dAtA []byte) error

func (*ContainerSecuritySpec) XXX_DiscardUnknown

func (m *ContainerSecuritySpec) XXX_DiscardUnknown()

func (*ContainerSecuritySpec) XXX_Marshal

func (m *ContainerSecuritySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSecuritySpec) XXX_Merge

func (m *ContainerSecuritySpec) XXX_Merge(src proto.Message)

func (*ContainerSecuritySpec) XXX_Size

func (m *ContainerSecuritySpec) XXX_Size() int

func (*ContainerSecuritySpec) XXX_Unmarshal

func (m *ContainerSecuritySpec) XXX_Unmarshal(b []byte) error

type ContainerSecuritySpec_ProcMountKind

type ContainerSecuritySpec_ProcMountKind int32
const (
	PROC_MOUNT_DEFAULT  ContainerSecuritySpec_ProcMountKind = 0
	PROC_MOUNT_UNMASKED ContainerSecuritySpec_ProcMountKind = 1
)

func (ContainerSecuritySpec_ProcMountKind) EnumDescriptor

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

func (ContainerSecuritySpec_ProcMountKind) String

type ContainerSpec

type ContainerSpec struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// container image name to pull
	Image      string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	WorkingDir string `protobuf:"bytes,3,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	Stdin      bool   `protobuf:"varint,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
	StdinOnce  bool   `protobuf:"varint,5,opt,name=stdin_once,json=stdinOnce,proto3" json:"stdin_once,omitempty"`
	Tty        bool   `protobuf:"varint,6,opt,name=tty,proto3" json:"tty,omitempty"`
	// Command (ENTRYPOINT in Dockerfile)
	Command []string `protobuf:"bytes,7,rep,name=command,proto3" json:"command,omitempty"`
	// Args (CMD in Dockerfile)
	Args []string `protobuf:"bytes,8,rep,name=args,proto3" json:"args,omitempty"`
	// Contaienr environment variables
	//
	// key: env key
	// value: env value
	Envs map[string]string `` /* 149-byte string literal not displayed */
	// Container voulme or device mounts
	//
	// key: volume or device name
	// value: mount options
	Mounts         map[string]*ContainerMountSpec `` /* 154-byte string literal not displayed */
	ReadinessCheck *ContainerProbeSpec            `protobuf:"bytes,11,opt,name=readiness_check,json=readinessCheck,proto3" json:"readiness_check,omitempty"`
	LivenessCheck  *ContainerProbeSpec            `protobuf:"bytes,12,opt,name=liveness_check,json=livenessCheck,proto3" json:"liveness_check,omitempty"`
	//
	// resolved security opts in pod
	//
	Security *ContainerSecuritySpec `protobuf:"bytes,13,opt,name=security,proto3" json:"security,omitempty"`
	//
	// Container hooks
	//
	HookPostStart *ContainerAction `protobuf:"bytes,14,opt,name=hook_post_start,json=hookPostStart,proto3" json:"hook_post_start,omitempty"`
}

func (*ContainerSpec) Descriptor

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

func (*ContainerSpec) Equal

func (this *ContainerSpec) Equal(that interface{}) bool

func (*ContainerSpec) GetArgs

func (m *ContainerSpec) GetArgs() []string

func (*ContainerSpec) GetCommand

func (m *ContainerSpec) GetCommand() []string

func (*ContainerSpec) GetEnvs

func (m *ContainerSpec) GetEnvs() map[string]string

func (*ContainerSpec) GetHookPostStart

func (m *ContainerSpec) GetHookPostStart() *ContainerAction

func (*ContainerSpec) GetImage

func (m *ContainerSpec) GetImage() string

func (*ContainerSpec) GetLivenessCheck

func (m *ContainerSpec) GetLivenessCheck() *ContainerProbeSpec

func (*ContainerSpec) GetMounts

func (m *ContainerSpec) GetMounts() map[string]*ContainerMountSpec

func (*ContainerSpec) GetName

func (m *ContainerSpec) GetName() string

func (*ContainerSpec) GetReadinessCheck

func (m *ContainerSpec) GetReadinessCheck() *ContainerProbeSpec

func (*ContainerSpec) GetSecurity

func (m *ContainerSpec) GetSecurity() *ContainerSecuritySpec

func (*ContainerSpec) GetStdin

func (m *ContainerSpec) GetStdin() bool

func (*ContainerSpec) GetStdinOnce

func (m *ContainerSpec) GetStdinOnce() bool

func (*ContainerSpec) GetTty

func (m *ContainerSpec) GetTty() bool

func (*ContainerSpec) GetWorkingDir

func (m *ContainerSpec) GetWorkingDir() string

func (*ContainerSpec) GoString

func (this *ContainerSpec) GoString() string

func (*ContainerSpec) Marshal

func (m *ContainerSpec) Marshal() (dAtA []byte, err error)

func (*ContainerSpec) MarshalTo

func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSpec) MarshalToSizedBuffer

func (m *ContainerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSpec) ProtoMessage

func (*ContainerSpec) ProtoMessage()

func (*ContainerSpec) Reset

func (m *ContainerSpec) Reset()

func (*ContainerSpec) Size

func (m *ContainerSpec) Size() (n int)

func (*ContainerSpec) String

func (this *ContainerSpec) String() string

func (*ContainerSpec) Unmarshal

func (m *ContainerSpec) Unmarshal(dAtA []byte) error

func (*ContainerSpec) XXX_DiscardUnknown

func (m *ContainerSpec) XXX_DiscardUnknown()

func (*ContainerSpec) XXX_Marshal

func (m *ContainerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSpec) XXX_Merge

func (m *ContainerSpec) XXX_Merge(src proto.Message)

func (*ContainerSpec) XXX_Size

func (m *ContainerSpec) XXX_Size() int

func (*ContainerSpec) XXX_Unmarshal

func (m *ContainerSpec) XXX_Unmarshal(b []byte) error

type ContainerStatus

type ContainerStatus struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ImageId     string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// time values in rfc3339nano format
	CreatedAt    string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	StartedAt    string `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FinishedAt   string `protobuf:"bytes,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	ExitCode     int32  `protobuf:"varint,7,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	RestartCount int32  `protobuf:"varint,8,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	Reason       string `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"`
	Message      string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"`
}

func (*ContainerStatus) Descriptor

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

func (*ContainerStatus) Equal

func (this *ContainerStatus) Equal(that interface{}) bool

func (*ContainerStatus) GetContainerId

func (m *ContainerStatus) GetContainerId() string

func (*ContainerStatus) GetCreatedAt

func (m *ContainerStatus) GetCreatedAt() string

func (*ContainerStatus) GetExitCode

func (m *ContainerStatus) GetExitCode() int32

func (*ContainerStatus) GetFinishedAt

func (m *ContainerStatus) GetFinishedAt() string

func (*ContainerStatus) GetImageId

func (m *ContainerStatus) GetImageId() string

func (*ContainerStatus) GetMessage

func (m *ContainerStatus) GetMessage() string

func (*ContainerStatus) GetReason

func (m *ContainerStatus) GetReason() string

func (*ContainerStatus) GetRestartCount

func (m *ContainerStatus) GetRestartCount() int32

func (*ContainerStatus) GetStartedAt

func (m *ContainerStatus) GetStartedAt() string

func (*ContainerStatus) GetState

func (s *ContainerStatus) GetState() PodState

func (*ContainerStatus) GetTimeCreatedAt

func (s *ContainerStatus) GetTimeCreatedAt() time.Time

func (*ContainerStatus) GetTimeFinishedAt

func (s *ContainerStatus) GetTimeFinishedAt() time.Time

func (*ContainerStatus) GetTimeStartedAt

func (s *ContainerStatus) GetTimeStartedAt() time.Time

func (*ContainerStatus) GoString

func (this *ContainerStatus) GoString() string

func (*ContainerStatus) Marshal

func (m *ContainerStatus) Marshal() (dAtA []byte, err error)

func (*ContainerStatus) MarshalTo

func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatus) MarshalToSizedBuffer

func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) Reset

func (m *ContainerStatus) Reset()

func (*ContainerStatus) Size

func (m *ContainerStatus) Size() (n int)

func (*ContainerStatus) String

func (this *ContainerStatus) String() string

func (*ContainerStatus) Unmarshal

func (m *ContainerStatus) Unmarshal(dAtA []byte) error

func (*ContainerStatus) XXX_DiscardUnknown

func (m *ContainerStatus) XXX_DiscardUnknown()

func (*ContainerStatus) XXX_Marshal

func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatus) XXX_Merge

func (m *ContainerStatus) XXX_Merge(src proto.Message)

func (*ContainerStatus) XXX_Size

func (m *ContainerStatus) XXX_Size() int

func (*ContainerStatus) XXX_Unmarshal

func (m *ContainerStatus) XXX_Unmarshal(b []byte) error

type ImageAuthConfig

type ImageAuthConfig struct {
	Username      string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Auth          string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	ServerAddress string `protobuf:"bytes,4,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"`
	// IdentityToken is used to authenticate the user and get
	// an access token for the registry.
	IdentityToken string `protobuf:"bytes,5,opt,name=identity_token,json=identityToken,proto3" json:"identity_token,omitempty"`
	// RegistryToken is a bearer token to be sent to a registry
	RegistryToken string `protobuf:"bytes,6,opt,name=registry_token,json=registryToken,proto3" json:"registry_token,omitempty"`
	Email         string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
}

func (*ImageAuthConfig) Descriptor

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

func (*ImageAuthConfig) Equal

func (this *ImageAuthConfig) Equal(that interface{}) bool

func (*ImageAuthConfig) GetAuth

func (m *ImageAuthConfig) GetAuth() string

func (*ImageAuthConfig) GetEmail

func (m *ImageAuthConfig) GetEmail() string

func (*ImageAuthConfig) GetIdentityToken

func (m *ImageAuthConfig) GetIdentityToken() string

func (*ImageAuthConfig) GetPassword

func (m *ImageAuthConfig) GetPassword() string

func (*ImageAuthConfig) GetRegistryToken

func (m *ImageAuthConfig) GetRegistryToken() string

func (*ImageAuthConfig) GetServerAddress

func (m *ImageAuthConfig) GetServerAddress() string

func (*ImageAuthConfig) GetUsername

func (m *ImageAuthConfig) GetUsername() string

func (*ImageAuthConfig) GoString

func (this *ImageAuthConfig) GoString() string

func (*ImageAuthConfig) Marshal

func (m *ImageAuthConfig) Marshal() (dAtA []byte, err error)

func (*ImageAuthConfig) MarshalTo

func (m *ImageAuthConfig) MarshalTo(dAtA []byte) (int, error)

func (*ImageAuthConfig) MarshalToSizedBuffer

func (m *ImageAuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageAuthConfig) ProtoMessage

func (*ImageAuthConfig) ProtoMessage()

func (*ImageAuthConfig) Reset

func (m *ImageAuthConfig) Reset()

func (*ImageAuthConfig) Size

func (m *ImageAuthConfig) Size() (n int)

func (*ImageAuthConfig) String

func (this *ImageAuthConfig) String() string

func (*ImageAuthConfig) Unmarshal

func (m *ImageAuthConfig) Unmarshal(dAtA []byte) error

func (*ImageAuthConfig) XXX_DiscardUnknown

func (m *ImageAuthConfig) XXX_DiscardUnknown()

func (*ImageAuthConfig) XXX_Marshal

func (m *ImageAuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageAuthConfig) XXX_Merge

func (m *ImageAuthConfig) XXX_Merge(src proto.Message)

func (*ImageAuthConfig) XXX_Size

func (m *ImageAuthConfig) XXX_Size() int

func (*ImageAuthConfig) XXX_Unmarshal

func (m *ImageAuthConfig) XXX_Unmarshal(b []byte) error

type ImageDeleteCmd

type ImageDeleteCmd struct {
	Refs []string `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"`
}

func (*ImageDeleteCmd) Descriptor

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

func (*ImageDeleteCmd) Equal

func (this *ImageDeleteCmd) Equal(that interface{}) bool

func (*ImageDeleteCmd) GetRefs

func (m *ImageDeleteCmd) GetRefs() []string

func (*ImageDeleteCmd) GoString

func (this *ImageDeleteCmd) GoString() string

func (*ImageDeleteCmd) Marshal

func (m *ImageDeleteCmd) Marshal() (dAtA []byte, err error)

func (*ImageDeleteCmd) MarshalTo

func (m *ImageDeleteCmd) MarshalTo(dAtA []byte) (int, error)

func (*ImageDeleteCmd) MarshalToSizedBuffer

func (m *ImageDeleteCmd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageDeleteCmd) ProtoMessage

func (*ImageDeleteCmd) ProtoMessage()

func (*ImageDeleteCmd) Reset

func (m *ImageDeleteCmd) Reset()

func (*ImageDeleteCmd) Size

func (m *ImageDeleteCmd) Size() (n int)

func (*ImageDeleteCmd) String

func (this *ImageDeleteCmd) String() string

func (*ImageDeleteCmd) Unmarshal

func (m *ImageDeleteCmd) Unmarshal(dAtA []byte) error

func (*ImageDeleteCmd) XXX_DiscardUnknown

func (m *ImageDeleteCmd) XXX_DiscardUnknown()

func (*ImageDeleteCmd) XXX_Marshal

func (m *ImageDeleteCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageDeleteCmd) XXX_Merge

func (m *ImageDeleteCmd) XXX_Merge(src proto.Message)

func (*ImageDeleteCmd) XXX_Size

func (m *ImageDeleteCmd) XXX_Size() int

func (*ImageDeleteCmd) XXX_Unmarshal

func (m *ImageDeleteCmd) XXX_Unmarshal(b []byte) error

type ImageEnsureCmd

type ImageEnsureCmd struct {
	// key: image ref (name)
	// value: pull config
	Images map[string]*ImagePullSpec `` /* 153-byte string literal not displayed */
}

func (*ImageEnsureCmd) Descriptor

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

func (*ImageEnsureCmd) Equal

func (this *ImageEnsureCmd) Equal(that interface{}) bool

func (*ImageEnsureCmd) GetImages

func (m *ImageEnsureCmd) GetImages() map[string]*ImagePullSpec

func (*ImageEnsureCmd) GoString

func (this *ImageEnsureCmd) GoString() string

func (*ImageEnsureCmd) Marshal

func (m *ImageEnsureCmd) Marshal() (dAtA []byte, err error)

func (*ImageEnsureCmd) MarshalTo

func (m *ImageEnsureCmd) MarshalTo(dAtA []byte) (int, error)

func (*ImageEnsureCmd) MarshalToSizedBuffer

func (m *ImageEnsureCmd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageEnsureCmd) ProtoMessage

func (*ImageEnsureCmd) ProtoMessage()

func (*ImageEnsureCmd) Reset

func (m *ImageEnsureCmd) Reset()

func (*ImageEnsureCmd) Size

func (m *ImageEnsureCmd) Size() (n int)

func (*ImageEnsureCmd) String

func (this *ImageEnsureCmd) String() string

func (*ImageEnsureCmd) Unmarshal

func (m *ImageEnsureCmd) Unmarshal(dAtA []byte) error

func (*ImageEnsureCmd) XXX_DiscardUnknown

func (m *ImageEnsureCmd) XXX_DiscardUnknown()

func (*ImageEnsureCmd) XXX_Marshal

func (m *ImageEnsureCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageEnsureCmd) XXX_Merge

func (m *ImageEnsureCmd) XXX_Merge(src proto.Message)

func (*ImageEnsureCmd) XXX_Size

func (m *ImageEnsureCmd) XXX_Size() int

func (*ImageEnsureCmd) XXX_Unmarshal

func (m *ImageEnsureCmd) XXX_Unmarshal(b []byte) error

type ImageListCmd

type ImageListCmd struct {
	Refs []string `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"`
}

func (*ImageListCmd) Descriptor

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

func (*ImageListCmd) Equal

func (this *ImageListCmd) Equal(that interface{}) bool

func (*ImageListCmd) GetRefs

func (m *ImageListCmd) GetRefs() []string

func (*ImageListCmd) GoString

func (this *ImageListCmd) GoString() string

func (*ImageListCmd) Marshal

func (m *ImageListCmd) Marshal() (dAtA []byte, err error)

func (*ImageListCmd) MarshalTo

func (m *ImageListCmd) MarshalTo(dAtA []byte) (int, error)

func (*ImageListCmd) MarshalToSizedBuffer

func (m *ImageListCmd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageListCmd) ProtoMessage

func (*ImageListCmd) ProtoMessage()

func (*ImageListCmd) Reset

func (m *ImageListCmd) Reset()

func (*ImageListCmd) Size

func (m *ImageListCmd) Size() (n int)

func (*ImageListCmd) String

func (this *ImageListCmd) String() string

func (*ImageListCmd) Unmarshal

func (m *ImageListCmd) Unmarshal(dAtA []byte) error

func (*ImageListCmd) XXX_DiscardUnknown

func (m *ImageListCmd) XXX_DiscardUnknown()

func (*ImageListCmd) XXX_Marshal

func (m *ImageListCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageListCmd) XXX_Merge

func (m *ImageListCmd) XXX_Merge(src proto.Message)

func (*ImageListCmd) XXX_Size

func (m *ImageListCmd) XXX_Size() int

func (*ImageListCmd) XXX_Unmarshal

func (m *ImageListCmd) XXX_Unmarshal(b []byte) error

type ImagePullPolicy

type ImagePullPolicy int32
const (
	IMAGE_PULL_ALWAYS         ImagePullPolicy = 0
	IMAGE_PULL_IF_NOT_PRESENT ImagePullPolicy = 1
	IMAGE_PULL_NEVER          ImagePullPolicy = 2
)

func (ImagePullPolicy) EnumDescriptor

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

func (ImagePullPolicy) String

func (x ImagePullPolicy) String() string

type ImagePullSpec

type ImagePullSpec struct {
	// image pull secrets
	AuthConfig *ImageAuthConfig `protobuf:"bytes,1,opt,name=auth_config,json=authConfig,proto3" json:"auth_config,omitempty"`
	// pull policy
	PullPolicy ImagePullPolicy `protobuf:"varint,2,opt,name=pull_policy,json=pullPolicy,proto3,enum=runtime.ImagePullPolicy" json:"pull_policy,omitempty"`
}

func (*ImagePullSpec) Descriptor

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

func (*ImagePullSpec) Equal

func (this *ImagePullSpec) Equal(that interface{}) bool

func (*ImagePullSpec) GetAuthConfig

func (m *ImagePullSpec) GetAuthConfig() *ImageAuthConfig

func (*ImagePullSpec) GetPullPolicy

func (m *ImagePullSpec) GetPullPolicy() ImagePullPolicy

func (*ImagePullSpec) GoString

func (this *ImagePullSpec) GoString() string

func (*ImagePullSpec) Marshal

func (m *ImagePullSpec) Marshal() (dAtA []byte, err error)

func (*ImagePullSpec) MarshalTo

func (m *ImagePullSpec) MarshalTo(dAtA []byte) (int, error)

func (*ImagePullSpec) MarshalToSizedBuffer

func (m *ImagePullSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImagePullSpec) ProtoMessage

func (*ImagePullSpec) ProtoMessage()

func (*ImagePullSpec) Reset

func (m *ImagePullSpec) Reset()

func (*ImagePullSpec) Size

func (m *ImagePullSpec) Size() (n int)

func (*ImagePullSpec) String

func (this *ImagePullSpec) String() string

func (*ImagePullSpec) Unmarshal

func (m *ImagePullSpec) Unmarshal(dAtA []byte) error

func (*ImagePullSpec) XXX_DiscardUnknown

func (m *ImagePullSpec) XXX_DiscardUnknown()

func (*ImagePullSpec) XXX_Marshal

func (m *ImagePullSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImagePullSpec) XXX_Merge

func (m *ImagePullSpec) XXX_Merge(src proto.Message)

func (*ImagePullSpec) XXX_Size

func (m *ImagePullSpec) XXX_Size() int

func (*ImagePullSpec) XXX_Unmarshal

func (m *ImagePullSpec) XXX_Unmarshal(b []byte) error

type ImageStatusListMsg

type ImageStatusListMsg struct {
	Images []*ImageStatusMsg `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
}

func (*ImageStatusListMsg) Descriptor

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

func (*ImageStatusListMsg) Equal

func (this *ImageStatusListMsg) Equal(that interface{}) bool

func (*ImageStatusListMsg) GetImages

func (m *ImageStatusListMsg) GetImages() []*ImageStatusMsg

func (*ImageStatusListMsg) GoString

func (this *ImageStatusListMsg) GoString() string

func (*ImageStatusListMsg) Marshal

func (m *ImageStatusListMsg) Marshal() (dAtA []byte, err error)

func (*ImageStatusListMsg) MarshalTo

func (m *ImageStatusListMsg) MarshalTo(dAtA []byte) (int, error)

func (*ImageStatusListMsg) MarshalToSizedBuffer

func (m *ImageStatusListMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageStatusListMsg) ProtoMessage

func (*ImageStatusListMsg) ProtoMessage()

func (*ImageStatusListMsg) Reset

func (m *ImageStatusListMsg) Reset()

func (*ImageStatusListMsg) Size

func (m *ImageStatusListMsg) Size() (n int)

func (*ImageStatusListMsg) String

func (this *ImageStatusListMsg) String() string

func (*ImageStatusListMsg) Unmarshal

func (m *ImageStatusListMsg) Unmarshal(dAtA []byte) error

func (*ImageStatusListMsg) XXX_DiscardUnknown

func (m *ImageStatusListMsg) XXX_DiscardUnknown()

func (*ImageStatusListMsg) XXX_Marshal

func (m *ImageStatusListMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageStatusListMsg) XXX_Merge

func (m *ImageStatusListMsg) XXX_Merge(src proto.Message)

func (*ImageStatusListMsg) XXX_Size

func (m *ImageStatusListMsg) XXX_Size() int

func (*ImageStatusListMsg) XXX_Unmarshal

func (m *ImageStatusListMsg) XXX_Unmarshal(b []byte) error

type ImageStatusMsg

type ImageStatusMsg struct {
	Sha256 string `protobuf:"bytes,1,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// size of the image in bytes
	Size_ uint64   `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Refs  []string `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"`
}

func (*ImageStatusMsg) Descriptor

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

func (*ImageStatusMsg) Equal

func (this *ImageStatusMsg) Equal(that interface{}) bool

func (*ImageStatusMsg) GetRefs

func (m *ImageStatusMsg) GetRefs() []string

func (*ImageStatusMsg) GetSha256

func (m *ImageStatusMsg) GetSha256() string

func (*ImageStatusMsg) GetSize_

func (m *ImageStatusMsg) GetSize_() uint64

func (*ImageStatusMsg) GoString

func (this *ImageStatusMsg) GoString() string

func (*ImageStatusMsg) Marshal

func (m *ImageStatusMsg) Marshal() (dAtA []byte, err error)

func (*ImageStatusMsg) MarshalTo

func (m *ImageStatusMsg) MarshalTo(dAtA []byte) (int, error)

func (*ImageStatusMsg) MarshalToSizedBuffer

func (m *ImageStatusMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageStatusMsg) ProtoMessage

func (*ImageStatusMsg) ProtoMessage()

func (*ImageStatusMsg) Reset

func (m *ImageStatusMsg) Reset()

func (*ImageStatusMsg) Size

func (m *ImageStatusMsg) Size() (n int)

func (*ImageStatusMsg) String

func (this *ImageStatusMsg) String() string

func (*ImageStatusMsg) Unmarshal

func (m *ImageStatusMsg) Unmarshal(dAtA []byte) error

func (*ImageStatusMsg) XXX_DiscardUnknown

func (m *ImageStatusMsg) XXX_DiscardUnknown()

func (*ImageStatusMsg) XXX_Marshal

func (m *ImageStatusMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageStatusMsg) XXX_Merge

func (m *ImageStatusMsg) XXX_Merge(src proto.Message)

func (*ImageStatusMsg) XXX_Size

func (m *ImageStatusMsg) XXX_Size() int

func (*ImageStatusMsg) XXX_Unmarshal

func (m *ImageStatusMsg) XXX_Unmarshal(b []byte) error

type KeyValuePair

type KeyValuePair struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*KeyValuePair) Descriptor

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

func (*KeyValuePair) Equal

func (this *KeyValuePair) Equal(that interface{}) bool

func (*KeyValuePair) GetKey

func (m *KeyValuePair) GetKey() string

func (*KeyValuePair) GetValue

func (m *KeyValuePair) GetValue() string

func (*KeyValuePair) GoString

func (this *KeyValuePair) GoString() string

func (*KeyValuePair) Marshal

func (m *KeyValuePair) Marshal() (dAtA []byte, err error)

func (*KeyValuePair) MarshalTo

func (m *KeyValuePair) MarshalTo(dAtA []byte) (int, error)

func (*KeyValuePair) MarshalToSizedBuffer

func (m *KeyValuePair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyValuePair) ProtoMessage

func (*KeyValuePair) ProtoMessage()

func (*KeyValuePair) Reset

func (m *KeyValuePair) Reset()

func (*KeyValuePair) Size

func (m *KeyValuePair) Size() (n int)

func (*KeyValuePair) String

func (this *KeyValuePair) String() string

func (*KeyValuePair) Unmarshal

func (m *KeyValuePair) Unmarshal(dAtA []byte) error

func (*KeyValuePair) XXX_DiscardUnknown

func (m *KeyValuePair) XXX_DiscardUnknown()

func (*KeyValuePair) XXX_Marshal

func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValuePair) XXX_Merge

func (m *KeyValuePair) XXX_Merge(src proto.Message)

func (*KeyValuePair) XXX_Size

func (m *KeyValuePair) XXX_Size() int

func (*KeyValuePair) XXX_Unmarshal

func (m *KeyValuePair) XXX_Unmarshal(b []byte) error

type NamedData

type NamedData struct {
	DataMap map[string][]byte `` /* 170-byte string literal not displayed */
}

func (*NamedData) Descriptor

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

func (*NamedData) Equal

func (this *NamedData) Equal(that interface{}) bool

func (*NamedData) GetDataMap

func (m *NamedData) GetDataMap() map[string][]byte

func (*NamedData) GoString

func (this *NamedData) GoString() string

func (*NamedData) Marshal

func (m *NamedData) Marshal() (dAtA []byte, err error)

func (*NamedData) MarshalTo

func (m *NamedData) MarshalTo(dAtA []byte) (int, error)

func (*NamedData) MarshalToSizedBuffer

func (m *NamedData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamedData) ProtoMessage

func (*NamedData) ProtoMessage()

func (*NamedData) Reset

func (m *NamedData) Reset()

func (*NamedData) Size

func (m *NamedData) Size() (n int)

func (*NamedData) String

func (this *NamedData) String() string

func (*NamedData) Unmarshal

func (m *NamedData) Unmarshal(dAtA []byte) error

func (*NamedData) XXX_DiscardUnknown

func (m *NamedData) XXX_DiscardUnknown()

func (*NamedData) XXX_Marshal

func (m *NamedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedData) XXX_Merge

func (m *NamedData) XXX_Merge(src proto.Message)

func (*NamedData) XXX_Size

func (m *NamedData) XXX_Size() int

func (*NamedData) XXX_Unmarshal

func (m *NamedData) XXX_Unmarshal(b []byte) error

type Packet

type Packet struct {
	Kind    PacketType `protobuf:"varint,1,opt,name=kind,proto3,enum=runtime.PacketType" json:"kind,omitempty"`
	Payload []byte     `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*Packet) Descriptor

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

func (*Packet) Equal

func (this *Packet) Equal(that interface{}) bool

func (*Packet) GetKind

func (m *Packet) GetKind() PacketType

func (*Packet) GetPayload

func (m *Packet) GetPayload() []byte

func (*Packet) GoString

func (this *Packet) GoString() string

func (*Packet) Marshal

func (m *Packet) Marshal() (dAtA []byte, err error)

func (*Packet) MarshalTo

func (m *Packet) MarshalTo(dAtA []byte) (int, error)

func (*Packet) MarshalToSizedBuffer

func (m *Packet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) Reset

func (m *Packet) Reset()

func (*Packet) Size

func (m *Packet) Size() (n int)

func (*Packet) String

func (this *Packet) String() string

func (*Packet) Unmarshal

func (m *Packet) Unmarshal(dAtA []byte) error

func (*Packet) XXX_DiscardUnknown

func (m *Packet) XXX_DiscardUnknown()

func (*Packet) XXX_Marshal

func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Packet) XXX_Merge

func (m *Packet) XXX_Merge(src proto.Message)

func (*Packet) XXX_Size

func (m *Packet) XXX_Size() int

func (*Packet) XXX_Unmarshal

func (m *Packet) XXX_Unmarshal(b []byte) error

type PacketType

type PacketType int32
const (

	// 1-9: runtime basic operations
	CMD_GET_INFO     PacketType = 1
	CMD_EXEC         PacketType = 2
	CMD_ATTACH       PacketType = 3
	CMD_LOGS         PacketType = 4
	CMD_TTY_RESIZE   PacketType = 5
	CMD_PORT_FORWARD PacketType = 6
	MSG_DONE         PacketType = 8
	MSG_RUNTIME_INFO PacketType = 9
	MSG_ERROR        PacketType = 10
	// 11-19: container image / application bundle operations
	CMD_IMAGE_LIST   PacketType = 11
	CMD_IMAGE_ENSURE PacketType = 12
	CMD_IMAGE_DELETE PacketType = 13
	// 21-29: image msgs
	MSG_IMAGE_STATUS      PacketType = 21
	MSG_IMAGE_STATUS_LIST PacketType = 22
	// 31-39: pod provisioning
	CMD_POD_LIST   PacketType = 31
	CMD_POD_ENSURE PacketType = 32
	CMD_POD_DELETE PacketType = 33
	// 41-49: pod msgs
	MSG_POD_STATUS      PacketType = 41
	MSG_POD_STATUS_LIST PacketType = 42
	// 51-59: metrics operations
	CMD_METRICS_CONFIG  PacketType = 51
	CMD_METRICS_COLLECT PacketType = 52
)

func (PacketType) EnumDescriptor

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

func (PacketType) String

func (x PacketType) String() string

type PodDeleteCmd

type PodDeleteCmd struct {
	// pod to perform delete operation
	PodUid string `protobuf:"bytes,1,opt,name=pod_uid,json=podUid,proto3" json:"pod_uid,omitempty"`
	// containers to delete, if not specified, delete this pod
	Containers []string `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"`
	// pod deletion grace time
	GraceTime int64 `protobuf:"varint,10,opt,name=grace_time,json=graceTime,proto3" json:"grace_time,omitempty"`
	// key: container name
	// value:
	HookPreStop map[string]*ContainerAction `` /* 185-byte string literal not displayed */
}

func (*PodDeleteCmd) Descriptor

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

func (*PodDeleteCmd) Equal

func (this *PodDeleteCmd) Equal(that interface{}) bool

func (*PodDeleteCmd) GetContainers

func (m *PodDeleteCmd) GetContainers() []string

func (*PodDeleteCmd) GetGraceTime

func (m *PodDeleteCmd) GetGraceTime() int64

func (*PodDeleteCmd) GetHookPreStop

func (m *PodDeleteCmd) GetHookPreStop() map[string]*ContainerAction

func (*PodDeleteCmd) GetPodUid

func (m *PodDeleteCmd) GetPodUid() string

func (*PodDeleteCmd) GoString

func (this *PodDeleteCmd) GoString() string

func (*PodDeleteCmd) Marshal

func (m *PodDeleteCmd) Marshal() (dAtA []byte, err error)

func (*PodDeleteCmd) MarshalTo

func (m *PodDeleteCmd) MarshalTo(dAtA []byte) (int, error)

func (*PodDeleteCmd) MarshalToSizedBuffer

func (m *PodDeleteCmd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodDeleteCmd) ProtoMessage

func (*PodDeleteCmd) ProtoMessage()

func (*PodDeleteCmd) Reset

func (m *PodDeleteCmd) Reset()

func (*PodDeleteCmd) Size

func (m *PodDeleteCmd) Size() (n int)

func (*PodDeleteCmd) String

func (this *PodDeleteCmd) String() string

func (*PodDeleteCmd) Unmarshal

func (m *PodDeleteCmd) Unmarshal(dAtA []byte) error

func (*PodDeleteCmd) XXX_DiscardUnknown

func (m *PodDeleteCmd) XXX_DiscardUnknown()

func (*PodDeleteCmd) XXX_Marshal

func (m *PodDeleteCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodDeleteCmd) XXX_Merge

func (m *PodDeleteCmd) XXX_Merge(src proto.Message)

func (*PodDeleteCmd) XXX_Size

func (m *PodDeleteCmd) XXX_Size() int

func (*PodDeleteCmd) XXX_Unmarshal

func (m *PodDeleteCmd) XXX_Unmarshal(b []byte) error

type PodEnsureCmd

type PodEnsureCmd struct {
	// kubernetes metadata
	PodUid        string        `protobuf:"bytes,1,opt,name=pod_uid,json=podUid,proto3" json:"pod_uid,omitempty"`
	Namespace     string        `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name          string        `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	RestartPolicy RestartPolicy `` /* 128-byte string literal not displayed */
	//
	// Relationships to host namespaces
	//
	HostIpc     bool `protobuf:"varint,5,opt,name=host_ipc,json=hostIpc,proto3" json:"host_ipc,omitempty"`
	HostNetwork bool `protobuf:"varint,6,opt,name=host_network,json=hostNetwork,proto3" json:"host_network,omitempty"`
	HostPid     bool `protobuf:"varint,7,opt,name=host_pid,json=hostPid,proto3" json:"host_pid,omitempty"`
	// share pid namespace between containers in the same pod
	SharePid bool `protobuf:"varint,8,opt,name=share_pid,json=sharePid,proto3" json:"share_pid,omitempty"`
	// wait unitl all containers defined in this cmd exited with no error
	Wait bool `protobuf:"varint,9,opt,name=wait,proto3" json:"wait,omitempty"`
	// custom hostname to override pod name as hostname
	Hostname   string            `protobuf:"bytes,10,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Containers []*ContainerSpec  `protobuf:"bytes,11,rep,name=containers,proto3" json:"containers,omitempty"`
	Network    *PodNetworkSpec   `protobuf:"bytes,12,opt,name=network,proto3" json:"network,omitempty"`
	Volumes    *PodVolumeSpec    `protobuf:"bytes,13,opt,name=volumes,proto3" json:"volumes,omitempty"`
	Security   *PodSecuritySpec  `protobuf:"bytes,14,opt,name=security,proto3" json:"security,omitempty"`
	Labels     map[string]string `` /* 154-byte string literal not displayed */
}

func (*PodEnsureCmd) Descriptor

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

func (*PodEnsureCmd) Equal

func (this *PodEnsureCmd) Equal(that interface{}) bool

func (*PodEnsureCmd) GetContainers

func (m *PodEnsureCmd) GetContainers() []*ContainerSpec

func (*PodEnsureCmd) GetHostIpc

func (m *PodEnsureCmd) GetHostIpc() bool

func (*PodEnsureCmd) GetHostNetwork

func (m *PodEnsureCmd) GetHostNetwork() bool

func (*PodEnsureCmd) GetHostPid

func (m *PodEnsureCmd) GetHostPid() bool

func (*PodEnsureCmd) GetHostname

func (m *PodEnsureCmd) GetHostname() string

func (*PodEnsureCmd) GetLabels

func (m *PodEnsureCmd) GetLabels() map[string]string

func (*PodEnsureCmd) GetName

func (m *PodEnsureCmd) GetName() string

func (*PodEnsureCmd) GetNamespace

func (m *PodEnsureCmd) GetNamespace() string

func (*PodEnsureCmd) GetNetwork

func (m *PodEnsureCmd) GetNetwork() *PodNetworkSpec

func (*PodEnsureCmd) GetPodUid

func (m *PodEnsureCmd) GetPodUid() string

func (*PodEnsureCmd) GetRestartPolicy

func (m *PodEnsureCmd) GetRestartPolicy() RestartPolicy

func (*PodEnsureCmd) GetSecurity

func (m *PodEnsureCmd) GetSecurity() *PodSecuritySpec

func (*PodEnsureCmd) GetSharePid

func (m *PodEnsureCmd) GetSharePid() bool

func (*PodEnsureCmd) GetVolumes

func (m *PodEnsureCmd) GetVolumes() *PodVolumeSpec

func (*PodEnsureCmd) GetWait

func (m *PodEnsureCmd) GetWait() bool

func (*PodEnsureCmd) GoString

func (this *PodEnsureCmd) GoString() string

func (*PodEnsureCmd) Marshal

func (m *PodEnsureCmd) Marshal() (dAtA []byte, err error)

func (*PodEnsureCmd) MarshalTo

func (m *PodEnsureCmd) MarshalTo(dAtA []byte) (int, error)

func (*PodEnsureCmd) MarshalToSizedBuffer

func (m *PodEnsureCmd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodEnsureCmd) ProtoMessage

func (*PodEnsureCmd) ProtoMessage()

func (*PodEnsureCmd) Reset

func (m *PodEnsureCmd) Reset()

func (*PodEnsureCmd) Size

func (m *PodEnsureCmd) Size() (n int)

func (*PodEnsureCmd) String

func (this *PodEnsureCmd) String() string

func (*PodEnsureCmd) Unmarshal

func (m *PodEnsureCmd) Unmarshal(dAtA []byte) error

func (*PodEnsureCmd) XXX_DiscardUnknown

func (m *PodEnsureCmd) XXX_DiscardUnknown()

func (*PodEnsureCmd) XXX_Marshal

func (m *PodEnsureCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodEnsureCmd) XXX_Merge

func (m *PodEnsureCmd) XXX_Merge(src proto.Message)

func (*PodEnsureCmd) XXX_Size

func (m *PodEnsureCmd) XXX_Size() int

func (*PodEnsureCmd) XXX_Unmarshal

func (m *PodEnsureCmd) XXX_Unmarshal(b []byte) error

type PodListCmd

type PodListCmd struct {
	// show all pods available
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// pod names filter
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
}

func (*PodListCmd) Descriptor

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

func (*PodListCmd) Equal

func (this *PodListCmd) Equal(that interface{}) bool

func (*PodListCmd) GetAll

func (m *PodListCmd) GetAll() bool

func (*PodListCmd) GetNames

func (m *PodListCmd) GetNames() []string

func (*PodListCmd) GoString

func (this *PodListCmd) GoString() string

func (*PodListCmd) Marshal

func (m *PodListCmd) Marshal() (dAtA []byte, err error)

func (*PodListCmd) MarshalTo

func (m *PodListCmd) MarshalTo(dAtA []byte) (int, error)

func (*PodListCmd) MarshalToSizedBuffer

func (m *PodListCmd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodListCmd) ProtoMessage

func (*PodListCmd) ProtoMessage()

func (*PodListCmd) Reset

func (m *PodListCmd) Reset()

func (*PodListCmd) Size

func (m *PodListCmd) Size() (n int)

func (*PodListCmd) String

func (this *PodListCmd) String() string

func (*PodListCmd) Unmarshal

func (m *PodListCmd) Unmarshal(dAtA []byte) error

func (*PodListCmd) XXX_DiscardUnknown

func (m *PodListCmd) XXX_DiscardUnknown()

func (*PodListCmd) XXX_Marshal

func (m *PodListCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodListCmd) XXX_Merge

func (m *PodListCmd) XXX_Merge(src proto.Message)

func (*PodListCmd) XXX_Size

func (m *PodListCmd) XXX_Size() int

func (*PodListCmd) XXX_Unmarshal

func (m *PodListCmd) XXX_Unmarshal(b []byte) error

type PodNetworkSpec

type PodNetworkSpec struct {
	Nameservers []string `protobuf:"bytes,1,rep,name=nameservers,proto3" json:"nameservers,omitempty"`
	DnsSearches []string `protobuf:"bytes,2,rep,name=dns_searches,json=dnsSearches,proto3" json:"dns_searches,omitempty"`
	DnsOptions  []string `protobuf:"bytes,3,rep,name=dns_options,json=dnsOptions,proto3" json:"dns_options,omitempty"`
	// key: ip
	// value: space separated domain names (e.g. `example.com example.org`)
	Hosts map[string]string `` /* 151-byte string literal not displayed */
	// protobuf bytes of abbot proto
	AbbotRequestBytes []byte `protobuf:"bytes,11,opt,name=abbot_request_bytes,json=abbotRequestBytes,proto3" json:"abbot_request_bytes,omitempty"`
}

func (*PodNetworkSpec) Descriptor

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

func (*PodNetworkSpec) Equal

func (this *PodNetworkSpec) Equal(that interface{}) bool

func (*PodNetworkSpec) GetAbbotRequestBytes

func (m *PodNetworkSpec) GetAbbotRequestBytes() []byte

func (*PodNetworkSpec) GetDnsOptions

func (m *PodNetworkSpec) GetDnsOptions() []string

func (*PodNetworkSpec) GetDnsSearches

func (m *PodNetworkSpec) GetDnsSearches() []string

func (*PodNetworkSpec) GetHosts

func (m *PodNetworkSpec) GetHosts() map[string]string

func (*PodNetworkSpec) GetNameservers

func (m *PodNetworkSpec) GetNameservers() []string

func (*PodNetworkSpec) GoString

func (this *PodNetworkSpec) GoString() string

func (*PodNetworkSpec) Marshal

func (m *PodNetworkSpec) Marshal() (dAtA []byte, err error)

func (*PodNetworkSpec) MarshalTo

func (m *PodNetworkSpec) MarshalTo(dAtA []byte) (int, error)

func (*PodNetworkSpec) MarshalToSizedBuffer

func (m *PodNetworkSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodNetworkSpec) ProtoMessage

func (*PodNetworkSpec) ProtoMessage()

func (*PodNetworkSpec) Reset

func (m *PodNetworkSpec) Reset()

func (*PodNetworkSpec) Size

func (m *PodNetworkSpec) Size() (n int)

func (*PodNetworkSpec) String

func (this *PodNetworkSpec) String() string

func (*PodNetworkSpec) Unmarshal

func (m *PodNetworkSpec) Unmarshal(dAtA []byte) error

func (*PodNetworkSpec) XXX_DiscardUnknown

func (m *PodNetworkSpec) XXX_DiscardUnknown()

func (*PodNetworkSpec) XXX_Marshal

func (m *PodNetworkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodNetworkSpec) XXX_Merge

func (m *PodNetworkSpec) XXX_Merge(src proto.Message)

func (*PodNetworkSpec) XXX_Size

func (m *PodNetworkSpec) XXX_Size() int

func (*PodNetworkSpec) XXX_Unmarshal

func (m *PodNetworkSpec) XXX_Unmarshal(b []byte) error

type PodSecuritySpec

type PodSecuritySpec struct {
	// key:
	// value:
	Sysctls map[string]string `` /* 156-byte string literal not displayed */
}

func (*PodSecuritySpec) Descriptor

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

func (*PodSecuritySpec) Equal

func (this *PodSecuritySpec) Equal(that interface{}) bool

func (*PodSecuritySpec) GetSysctls

func (m *PodSecuritySpec) GetSysctls() map[string]string

func (*PodSecuritySpec) GoString

func (this *PodSecuritySpec) GoString() string

func (*PodSecuritySpec) Marshal

func (m *PodSecuritySpec) Marshal() (dAtA []byte, err error)

func (*PodSecuritySpec) MarshalTo

func (m *PodSecuritySpec) MarshalTo(dAtA []byte) (int, error)

func (*PodSecuritySpec) MarshalToSizedBuffer

func (m *PodSecuritySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSecuritySpec) ProtoMessage

func (*PodSecuritySpec) ProtoMessage()

func (*PodSecuritySpec) Reset

func (m *PodSecuritySpec) Reset()

func (*PodSecuritySpec) Size

func (m *PodSecuritySpec) Size() (n int)

func (*PodSecuritySpec) String

func (this *PodSecuritySpec) String() string

func (*PodSecuritySpec) Unmarshal

func (m *PodSecuritySpec) Unmarshal(dAtA []byte) error

func (*PodSecuritySpec) XXX_DiscardUnknown

func (m *PodSecuritySpec) XXX_DiscardUnknown()

func (*PodSecuritySpec) XXX_Marshal

func (m *PodSecuritySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSecuritySpec) XXX_Merge

func (m *PodSecuritySpec) XXX_Merge(src proto.Message)

func (*PodSecuritySpec) XXX_Size

func (m *PodSecuritySpec) XXX_Size() int

func (*PodSecuritySpec) XXX_Unmarshal

func (m *PodSecuritySpec) XXX_Unmarshal(b []byte) error

type PodState

type PodState int32
const (
	POD_STATE_UNKNOWN   PodState = 0
	POD_STATE_PENDING   PodState = 1
	POD_STATE_RUNNING   PodState = 2
	POD_STATE_SUCCEEDED PodState = 3
	POD_STATE_FAILED    PodState = 4
)

func (PodState) EnumDescriptor

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

func (PodState) String

func (x PodState) String() string

type PodStatusListMsg

type PodStatusListMsg struct {
	Pods []*PodStatusMsg `protobuf:"bytes,1,rep,name=pods,proto3" json:"pods,omitempty"`
}

func (*PodStatusListMsg) Descriptor

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

func (*PodStatusListMsg) Equal

func (this *PodStatusListMsg) Equal(that interface{}) bool

func (*PodStatusListMsg) GetPods

func (m *PodStatusListMsg) GetPods() []*PodStatusMsg

func (*PodStatusListMsg) GoString

func (this *PodStatusListMsg) GoString() string

func (*PodStatusListMsg) Marshal

func (m *PodStatusListMsg) Marshal() (dAtA []byte, err error)

func (*PodStatusListMsg) MarshalTo

func (m *PodStatusListMsg) MarshalTo(dAtA []byte) (int, error)

func (*PodStatusListMsg) MarshalToSizedBuffer

func (m *PodStatusListMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodStatusListMsg) ProtoMessage

func (*PodStatusListMsg) ProtoMessage()

func (*PodStatusListMsg) Reset

func (m *PodStatusListMsg) Reset()

func (*PodStatusListMsg) Size

func (m *PodStatusListMsg) Size() (n int)

func (*PodStatusListMsg) String

func (this *PodStatusListMsg) String() string

func (*PodStatusListMsg) Unmarshal

func (m *PodStatusListMsg) Unmarshal(dAtA []byte) error

func (*PodStatusListMsg) XXX_DiscardUnknown

func (m *PodStatusListMsg) XXX_DiscardUnknown()

func (*PodStatusListMsg) XXX_Marshal

func (m *PodStatusListMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodStatusListMsg) XXX_Merge

func (m *PodStatusListMsg) XXX_Merge(src proto.Message)

func (*PodStatusListMsg) XXX_Size

func (m *PodStatusListMsg) XXX_Size() int

func (*PodStatusListMsg) XXX_Unmarshal

func (m *PodStatusListMsg) XXX_Unmarshal(b []byte) error

type PodStatusMsg

type PodStatusMsg struct {
	// metadata
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// pod network status, protobuf bytes of abbot proto
	Network []byte `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// status
	Containers map[string]*ContainerStatus `` /* 161-byte string literal not displayed */
}

func (*PodStatusMsg) Descriptor

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

func (*PodStatusMsg) Equal

func (this *PodStatusMsg) Equal(that interface{}) bool

func (*PodStatusMsg) GetContainers

func (m *PodStatusMsg) GetContainers() map[string]*ContainerStatus

func (*PodStatusMsg) GetNetwork

func (m *PodStatusMsg) GetNetwork() []byte

func (*PodStatusMsg) GetUid

func (m *PodStatusMsg) GetUid() string

func (*PodStatusMsg) GoString

func (this *PodStatusMsg) GoString() string

func (*PodStatusMsg) Marshal

func (m *PodStatusMsg) Marshal() (dAtA []byte, err error)

func (*PodStatusMsg) MarshalTo

func (m *PodStatusMsg) MarshalTo(dAtA []byte) (int, error)

func (*PodStatusMsg) MarshalToSizedBuffer

func (m *PodStatusMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodStatusMsg) ProtoMessage

func (*PodStatusMsg) ProtoMessage()

func (*PodStatusMsg) Reset

func (m *PodStatusMsg) Reset()

func (*PodStatusMsg) Size

func (m *PodStatusMsg) Size() (n int)

func (*PodStatusMsg) String

func (this *PodStatusMsg) String() string

func (*PodStatusMsg) Unmarshal

func (m *PodStatusMsg) Unmarshal(dAtA []byte) error

func (*PodStatusMsg) XXX_DiscardUnknown

func (m *PodStatusMsg) XXX_DiscardUnknown()

func (*PodStatusMsg) XXX_Marshal

func (m *PodStatusMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodStatusMsg) XXX_Merge

func (m *PodStatusMsg) XXX_Merge(src proto.Message)

func (*PodStatusMsg) XXX_Size

func (m *PodStatusMsg) XXX_Size() int

func (*PodStatusMsg) XXX_Unmarshal

func (m *PodStatusMsg) XXX_Unmarshal(b []byte) error

type PodVolumeSpec

type PodVolumeSpec struct {
	// Volumes and devices' host path
	//
	// key: volume or device name
	// value: host path
	HostPaths map[string]string `` /* 177-byte string literal not displayed */
	// Data to populate files in container
	//
	// key: volume name
	// value: data from {ConfigMap, Secret}
	VolumeData map[string]*NamedData `` /* 180-byte string literal not displayed */
}

func (*PodVolumeSpec) Descriptor

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

func (*PodVolumeSpec) Equal

func (this *PodVolumeSpec) Equal(that interface{}) bool

func (*PodVolumeSpec) GetHostPaths

func (m *PodVolumeSpec) GetHostPaths() map[string]string

func (*PodVolumeSpec) GetVolumeData

func (m *PodVolumeSpec) GetVolumeData() map[string]*NamedData

func (*PodVolumeSpec) GoString

func (this *PodVolumeSpec) GoString() string

func (*PodVolumeSpec) Marshal

func (m *PodVolumeSpec) Marshal() (dAtA []byte, err error)

func (*PodVolumeSpec) MarshalTo

func (m *PodVolumeSpec) MarshalTo(dAtA []byte) (int, error)

func (*PodVolumeSpec) MarshalToSizedBuffer

func (m *PodVolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodVolumeSpec) ProtoMessage

func (*PodVolumeSpec) ProtoMessage()

func (*PodVolumeSpec) Reset

func (m *PodVolumeSpec) Reset()

func (*PodVolumeSpec) Size

func (m *PodVolumeSpec) Size() (n int)

func (*PodVolumeSpec) String

func (this *PodVolumeSpec) String() string

func (*PodVolumeSpec) Unmarshal

func (m *PodVolumeSpec) Unmarshal(dAtA []byte) error

func (*PodVolumeSpec) XXX_DiscardUnknown

func (m *PodVolumeSpec) XXX_DiscardUnknown()

func (*PodVolumeSpec) XXX_Marshal

func (m *PodVolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodVolumeSpec) XXX_Merge

func (m *PodVolumeSpec) XXX_Merge(src proto.Message)

func (*PodVolumeSpec) XXX_Size

func (m *PodVolumeSpec) XXX_Size() int

func (*PodVolumeSpec) XXX_Unmarshal

func (m *PodVolumeSpec) XXX_Unmarshal(b []byte) error

type RestartPolicy

type RestartPolicy int32
const (
	RESTART_ALWAYS     RestartPolicy = 0
	RESTART_ON_FAILURE RestartPolicy = 1
	RESTART_NEVER      RestartPolicy = 2
)

func (RestartPolicy) EnumDescriptor

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

func (RestartPolicy) String

func (x RestartPolicy) String() string

type RuntimeInfo added in v0.2.3

type RuntimeInfo struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version       string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Os            string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	OsImage       string `protobuf:"bytes,4,opt,name=os_image,json=osImage,proto3" json:"os_image,omitempty"`
	Arch          string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"`
	KernelVersion string `protobuf:"bytes,6,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
}

runtime info to override node info

func (*RuntimeInfo) Descriptor added in v0.2.3

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

func (*RuntimeInfo) Equal added in v0.2.3

func (this *RuntimeInfo) Equal(that interface{}) bool

func (*RuntimeInfo) GetArch added in v0.2.3

func (m *RuntimeInfo) GetArch() string

func (*RuntimeInfo) GetKernelVersion added in v0.2.3

func (m *RuntimeInfo) GetKernelVersion() string

func (*RuntimeInfo) GetName added in v0.2.3

func (m *RuntimeInfo) GetName() string

func (*RuntimeInfo) GetOs added in v0.2.3

func (m *RuntimeInfo) GetOs() string

func (*RuntimeInfo) GetOsImage added in v0.2.3

func (m *RuntimeInfo) GetOsImage() string

func (*RuntimeInfo) GetVersion added in v0.2.3

func (m *RuntimeInfo) GetVersion() string

func (*RuntimeInfo) GoString added in v0.2.3

func (this *RuntimeInfo) GoString() string

func (*RuntimeInfo) Marshal added in v0.2.3

func (m *RuntimeInfo) Marshal() (dAtA []byte, err error)

func (*RuntimeInfo) MarshalTo added in v0.2.3

func (m *RuntimeInfo) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeInfo) MarshalToSizedBuffer added in v0.2.3

func (m *RuntimeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeInfo) ProtoMessage added in v0.2.3

func (*RuntimeInfo) ProtoMessage()

func (*RuntimeInfo) Reset added in v0.2.3

func (m *RuntimeInfo) Reset()

func (*RuntimeInfo) Size added in v0.2.3

func (m *RuntimeInfo) Size() (n int)

func (*RuntimeInfo) String added in v0.2.3

func (this *RuntimeInfo) String() string

func (*RuntimeInfo) Unmarshal added in v0.2.3

func (m *RuntimeInfo) Unmarshal(dAtA []byte) error

func (*RuntimeInfo) XXX_DiscardUnknown added in v0.2.3

func (m *RuntimeInfo) XXX_DiscardUnknown()

func (*RuntimeInfo) XXX_Marshal added in v0.2.3

func (m *RuntimeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeInfo) XXX_Merge added in v0.2.3

func (m *RuntimeInfo) XXX_Merge(src proto.Message)

func (*RuntimeInfo) XXX_Size added in v0.2.3

func (m *RuntimeInfo) XXX_Size() int

func (*RuntimeInfo) XXX_Unmarshal added in v0.2.3

func (m *RuntimeInfo) XXX_Unmarshal(b []byte) error

type SELinuxOptions

type SELinuxOptions struct {
	Type  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	Role  string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	User  string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
}

func (*SELinuxOptions) Descriptor

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

func (*SELinuxOptions) Equal

func (this *SELinuxOptions) Equal(that interface{}) bool

func (*SELinuxOptions) GetLevel

func (m *SELinuxOptions) GetLevel() string

func (*SELinuxOptions) GetRole

func (m *SELinuxOptions) GetRole() string

func (*SELinuxOptions) GetType

func (m *SELinuxOptions) GetType() string

func (*SELinuxOptions) GetUser

func (m *SELinuxOptions) GetUser() string

func (*SELinuxOptions) GoString

func (this *SELinuxOptions) GoString() string

func (*SELinuxOptions) Marshal

func (m *SELinuxOptions) Marshal() (dAtA []byte, err error)

func (*SELinuxOptions) MarshalTo

func (m *SELinuxOptions) MarshalTo(dAtA []byte) (int, error)

func (*SELinuxOptions) MarshalToSizedBuffer

func (m *SELinuxOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SELinuxOptions) ProtoMessage

func (*SELinuxOptions) ProtoMessage()

func (*SELinuxOptions) Reset

func (m *SELinuxOptions) Reset()

func (*SELinuxOptions) Size

func (m *SELinuxOptions) Size() (n int)

func (*SELinuxOptions) String

func (this *SELinuxOptions) String() string

func (*SELinuxOptions) Unmarshal

func (m *SELinuxOptions) Unmarshal(dAtA []byte) error

func (*SELinuxOptions) XXX_DiscardUnknown

func (m *SELinuxOptions) XXX_DiscardUnknown()

func (*SELinuxOptions) XXX_Marshal

func (m *SELinuxOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SELinuxOptions) XXX_Merge

func (m *SELinuxOptions) XXX_Merge(src proto.Message)

func (*SELinuxOptions) XXX_Size

func (m *SELinuxOptions) XXX_Size() int

func (*SELinuxOptions) XXX_Unmarshal

func (m *SELinuxOptions) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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