common

package
v0.1.2-0...-3e0559f Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ContainerState_name = map[int32]string{
		0: "CONTAINER_STATE_UNSPECIFIED",
		1: "CREATED",
		2: "RESTARTING",
		3: "RUNNING",
		4: "REMOVING",
		5: "PAUSED",
		6: "EXITED",
		7: "DEAD",
	}
	ContainerState_value = map[string]int32{
		"CONTAINER_STATE_UNSPECIFIED": 0,
		"CREATED":                     1,
		"RESTARTING":                  2,
		"RUNNING":                     3,
		"REMOVING":                    4,
		"PAUSED":                      5,
		"EXITED":                      6,
		"DEAD":                        7,
	}
)

Enum value maps for ContainerState.

View Source
var (
	DeploymentStatus_name = map[int32]string{
		0: "DEPLOYMENT_STATUS_UNSPECIFIED",
		1: "PREPARING",
		2: "IN_PROGRESS",
		3: "SUCCESSFUL",
		4: "FAILED",
		5: "OBSOLETE",
		6: "DOWNGRADED",
	}
	DeploymentStatus_value = map[string]int32{
		"DEPLOYMENT_STATUS_UNSPECIFIED": 0,
		"PREPARING":                     1,
		"IN_PROGRESS":                   2,
		"SUCCESSFUL":                    3,
		"FAILED":                        4,
		"OBSOLETE":                      5,
		"DOWNGRADED":                    6,
	}
)

Enum value maps for DeploymentStatus.

View Source
var (
	NetworkMode_name = map[int32]string{
		0: "NETWORK_MODE_UNSPECIFIED",
		1: "BRIDGE",
		2: "HOST",
		3: "OVERLAY",
		4: "IPVLAN",
		5: "MACVLAN",
		6: "NONE",
	}
	NetworkMode_value = map[string]int32{
		"NETWORK_MODE_UNSPECIFIED": 0,
		"BRIDGE":                   1,
		"HOST":                     2,
		"OVERLAY":                  3,
		"IPVLAN":                   4,
		"MACVLAN":                  5,
		"NONE":                     6,
	}
)

Enum value maps for NetworkMode.

View Source
var (
	RestartPolicy_name = map[int32]string{
		0: "POLICY_UNSPECIFIED",
		1: "UNDEFINED",
		2: "NO",
		3: "ON_FAILURE",
		4: "ALWAYS",
		5: "UNLESS_STOPPED",
	}
	RestartPolicy_value = map[string]int32{
		"POLICY_UNSPECIFIED": 0,
		"UNDEFINED":          1,
		"NO":                 2,
		"ON_FAILURE":         3,
		"ALWAYS":             4,
		"UNLESS_STOPPED":     5,
	}
)

Enum value maps for RestartPolicy.

View Source
var (
	DeploymentStrategy_name = map[int32]string{
		0: "DEPLOYMENT_STRATEGY_UNSPECIFIED",
		1: "RECREATE",
		2: "ROLLING",
	}
	DeploymentStrategy_value = map[string]int32{
		"DEPLOYMENT_STRATEGY_UNSPECIFIED": 0,
		"RECREATE":                        1,
		"ROLLING":                         2,
	}
)

Enum value maps for DeploymentStrategy.

View Source
var (
	VolumeType_name = map[int32]string{
		0: "VOLUME_TYPE_UNSPECIFIED",
		1: "RO",
		2: "RWO",
		3: "RWX",
		4: "MEM",
		5: "TMP",
	}
	VolumeType_value = map[string]int32{
		"VOLUME_TYPE_UNSPECIFIED": 0,
		"RO":                      1,
		"RWO":                     2,
		"RWX":                     3,
		"MEM":                     4,
		"TMP":                     5,
	}
)

Enum value maps for VolumeType.

View Source
var (
	DriverType_name = map[int32]string{
		0:  "DRIVER_TYPE_UNSPECIFIED",
		1:  "DRIVER_TYPE_NONE",
		2:  "GCPLOGS",
		3:  "LOCAL",
		4:  "JSON_FILE",
		5:  "SYSLOG",
		6:  "JOURNALD",
		7:  "GELF",
		8:  "FLUENTD",
		9:  "AWSLOGS",
		10: "SPLUNK",
		11: "ETWLOGS",
		12: "LOGENTRIES",
	}
	DriverType_value = map[string]int32{
		"DRIVER_TYPE_UNSPECIFIED": 0,
		"DRIVER_TYPE_NONE":        1,
		"GCPLOGS":                 2,
		"LOCAL":                   3,
		"JSON_FILE":               4,
		"SYSLOG":                  5,
		"JOURNALD":                6,
		"GELF":                    7,
		"FLUENTD":                 8,
		"AWSLOGS":                 9,
		"SPLUNK":                  10,
		"ETWLOGS":                 11,
		"LOGENTRIES":              12,
	}
)

Enum value maps for DriverType.

View Source
var (
	ExposeStrategy_name = map[int32]string{
		0: "EXPOSE_STRATEGY_UNSPECIFIED",
		1: "NONE_ES",
		2: "EXPOSE",
		3: "EXPOSE_WITH_TLS",
	}
	ExposeStrategy_value = map[string]int32{
		"EXPOSE_STRATEGY_UNSPECIFIED": 0,
		"NONE_ES":                     1,
		"EXPOSE":                      2,
		"EXPOSE_WITH_TLS":             3,
	}
)

Enum value maps for ExposeStrategy.

View Source
var (
	ContainerOperation_name = map[int32]string{
		0: "CONTAINER_OPERATION_UNSPECIFIED",
		1: "START_CONTAINER",
		2: "STOP_CONTAINER",
		3: "RESTART_CONTAINER",
	}
	ContainerOperation_value = map[string]int32{
		"CONTAINER_OPERATION_UNSPECIFIED": 0,
		"START_CONTAINER":                 1,
		"STOP_CONTAINER":                  2,
		"RESTART_CONTAINER":               3,
	}
)

Enum value maps for ContainerOperation.

View Source
var File_protobuf_proto_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigContainer

type ConfigContainer struct {
	Image     string `protobuf:"bytes,100,opt,name=image,proto3" json:"image,omitempty"`
	Volume    string `protobuf:"bytes,101,opt,name=volume,proto3" json:"volume,omitempty"`
	Path      string `protobuf:"bytes,102,opt,name=path,proto3" json:"path,omitempty"`
	KeepFiles bool   `protobuf:"varint,103,opt,name=keepFiles,proto3" json:"keepFiles,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigContainer) Descriptor deprecated

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

Deprecated: Use ConfigContainer.ProtoReflect.Descriptor instead.

func (*ConfigContainer) GetImage

func (x *ConfigContainer) GetImage() string

func (*ConfigContainer) GetKeepFiles

func (x *ConfigContainer) GetKeepFiles() bool

func (*ConfigContainer) GetPath

func (x *ConfigContainer) GetPath() string

func (*ConfigContainer) GetVolume

func (x *ConfigContainer) GetVolume() string

func (*ConfigContainer) ProtoMessage

func (*ConfigContainer) ProtoMessage()

func (*ConfigContainer) ProtoReflect

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

func (*ConfigContainer) Reset

func (x *ConfigContainer) Reset()

func (*ConfigContainer) String

func (x *ConfigContainer) String() string

type ContainerCommandRequest

type ContainerCommandRequest struct {
	Container *ContainerIdentifier `protobuf:"bytes,100,opt,name=container,proto3" json:"container,omitempty"`
	Operation ContainerOperation   `protobuf:"varint,101,opt,name=operation,proto3,enum=common.ContainerOperation" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerCommandRequest) Descriptor deprecated

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

Deprecated: Use ContainerCommandRequest.ProtoReflect.Descriptor instead.

func (*ContainerCommandRequest) GetContainer

func (x *ContainerCommandRequest) GetContainer() *ContainerIdentifier

func (*ContainerCommandRequest) GetOperation

func (x *ContainerCommandRequest) GetOperation() ContainerOperation

func (*ContainerCommandRequest) ProtoMessage

func (*ContainerCommandRequest) ProtoMessage()

func (*ContainerCommandRequest) ProtoReflect

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

func (*ContainerCommandRequest) Reset

func (x *ContainerCommandRequest) Reset()

func (*ContainerCommandRequest) String

func (x *ContainerCommandRequest) String() string

type ContainerIdentifier

type ContainerIdentifier struct {
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerIdentifier) Descriptor deprecated

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

Deprecated: Use ContainerIdentifier.ProtoReflect.Descriptor instead.

func (*ContainerIdentifier) GetName

func (x *ContainerIdentifier) GetName() string

func (*ContainerIdentifier) GetPrefix

func (x *ContainerIdentifier) GetPrefix() string

func (*ContainerIdentifier) ProtoMessage

func (*ContainerIdentifier) ProtoMessage()

func (*ContainerIdentifier) ProtoReflect

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

func (*ContainerIdentifier) Reset

func (x *ContainerIdentifier) Reset()

func (*ContainerIdentifier) String

func (x *ContainerIdentifier) String() string

type ContainerLogMessage

type ContainerLogMessage struct {
	Log string `protobuf:"bytes,100,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerLogMessage) Descriptor deprecated

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

Deprecated: Use ContainerLogMessage.ProtoReflect.Descriptor instead.

func (*ContainerLogMessage) GetLog

func (x *ContainerLogMessage) GetLog() string

func (*ContainerLogMessage) ProtoMessage

func (*ContainerLogMessage) ProtoMessage()

func (*ContainerLogMessage) ProtoReflect

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

func (*ContainerLogMessage) Reset

func (x *ContainerLogMessage) Reset()

func (*ContainerLogMessage) String

func (x *ContainerLogMessage) String() string

type ContainerOperation

type ContainerOperation int32
const (
	ContainerOperation_CONTAINER_OPERATION_UNSPECIFIED ContainerOperation = 0
	ContainerOperation_START_CONTAINER                 ContainerOperation = 1
	ContainerOperation_STOP_CONTAINER                  ContainerOperation = 2
	ContainerOperation_RESTART_CONTAINER               ContainerOperation = 3
)

func (ContainerOperation) Descriptor

func (ContainerOperation) Enum

func (ContainerOperation) EnumDescriptor deprecated

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

Deprecated: Use ContainerOperation.Descriptor instead.

func (ContainerOperation) Number

func (ContainerOperation) String

func (x ContainerOperation) String() string

func (ContainerOperation) Type

type ContainerState

type ContainerState int32

Deployment

const (
	ContainerState_CONTAINER_STATE_UNSPECIFIED ContainerState = 0
	ContainerState_CREATED                     ContainerState = 1
	ContainerState_RESTARTING                  ContainerState = 2
	ContainerState_RUNNING                     ContainerState = 3
	ContainerState_REMOVING                    ContainerState = 4
	ContainerState_PAUSED                      ContainerState = 5
	ContainerState_EXITED                      ContainerState = 6
	ContainerState_DEAD                        ContainerState = 7
)

func (ContainerState) Descriptor

func (ContainerState) Enum

func (x ContainerState) Enum() *ContainerState

func (ContainerState) EnumDescriptor deprecated

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

Deprecated: Use ContainerState.Descriptor instead.

func (ContainerState) Number

func (ContainerState) String

func (x ContainerState) String() string

func (ContainerState) Type

type ContainerStateItem

type ContainerStateItem struct {
	Id        *ContainerIdentifier   `protobuf:"bytes,100,opt,name=id,proto3" json:"id,omitempty"`
	Command   string                 `protobuf:"bytes,101,opt,name=command,proto3" json:"command,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// The 'State' of the container (Created, Running, etc)
	State ContainerState `protobuf:"varint,103,opt,name=state,proto3,enum=common.ContainerState" json:"state,omitempty"`
	// The 'Status' of the container ("Created 1min ago", "Exited with code 123",
	// etc). Unused but left here for reverse compatibility with the legacy
	// version.
	Status    string                    `protobuf:"bytes,104,opt,name=status,proto3" json:"status,omitempty"`
	ImageName string                    `protobuf:"bytes,105,opt,name=imageName,proto3" json:"imageName,omitempty"`
	ImageTag  string                    `protobuf:"bytes,106,opt,name=imageTag,proto3" json:"imageTag,omitempty"`
	Ports     []*ContainerStateItemPort `protobuf:"bytes,1000,rep,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStateItem) Descriptor deprecated

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

Deprecated: Use ContainerStateItem.ProtoReflect.Descriptor instead.

func (*ContainerStateItem) GetCommand

func (x *ContainerStateItem) GetCommand() string

func (*ContainerStateItem) GetCreatedAt

func (x *ContainerStateItem) GetCreatedAt() *timestamppb.Timestamp

func (*ContainerStateItem) GetId

func (*ContainerStateItem) GetImageName

func (x *ContainerStateItem) GetImageName() string

func (*ContainerStateItem) GetImageTag

func (x *ContainerStateItem) GetImageTag() string

func (*ContainerStateItem) GetPorts

func (x *ContainerStateItem) GetPorts() []*ContainerStateItemPort

func (*ContainerStateItem) GetState

func (x *ContainerStateItem) GetState() ContainerState

func (*ContainerStateItem) GetStatus

func (x *ContainerStateItem) GetStatus() string

func (*ContainerStateItem) ProtoMessage

func (*ContainerStateItem) ProtoMessage()

func (*ContainerStateItem) ProtoReflect

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

func (*ContainerStateItem) Reset

func (x *ContainerStateItem) Reset()

func (*ContainerStateItem) String

func (x *ContainerStateItem) String() string

type ContainerStateItemPort

type ContainerStateItemPort struct {
	Internal int32 `protobuf:"varint,100,opt,name=internal,proto3" json:"internal,omitempty"`
	External int32 `protobuf:"varint,101,opt,name=external,proto3" json:"external,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStateItemPort) Descriptor deprecated

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

Deprecated: Use ContainerStateItemPort.ProtoReflect.Descriptor instead.

func (*ContainerStateItemPort) GetExternal

func (x *ContainerStateItemPort) GetExternal() int32

func (*ContainerStateItemPort) GetInternal

func (x *ContainerStateItemPort) GetInternal() int32

func (*ContainerStateItemPort) ProtoMessage

func (*ContainerStateItemPort) ProtoMessage()

func (*ContainerStateItemPort) ProtoReflect

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

func (*ContainerStateItemPort) Reset

func (x *ContainerStateItemPort) Reset()

func (*ContainerStateItemPort) String

func (x *ContainerStateItemPort) String() string

type ContainerStateListMessage

type ContainerStateListMessage struct {
	Prefix *string               `protobuf:"bytes,100,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"`
	Data   []*ContainerStateItem `protobuf:"bytes,1000,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStateListMessage) Descriptor deprecated

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

Deprecated: Use ContainerStateListMessage.ProtoReflect.Descriptor instead.

func (*ContainerStateListMessage) GetData

func (*ContainerStateListMessage) GetPrefix

func (x *ContainerStateListMessage) GetPrefix() string

func (*ContainerStateListMessage) ProtoMessage

func (*ContainerStateListMessage) ProtoMessage()

func (*ContainerStateListMessage) ProtoReflect

func (*ContainerStateListMessage) Reset

func (x *ContainerStateListMessage) Reset()

func (*ContainerStateListMessage) String

func (x *ContainerStateListMessage) String() string

type DeleteContainersRequest

type DeleteContainersRequest struct {

	// Types that are assignable to Target:
	//
	//	*DeleteContainersRequest_Container
	//	*DeleteContainersRequest_Prefix
	Target isDeleteContainersRequest_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*DeleteContainersRequest) Descriptor deprecated

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

Deprecated: Use DeleteContainersRequest.ProtoReflect.Descriptor instead.

func (*DeleteContainersRequest) GetContainer

func (x *DeleteContainersRequest) GetContainer() *ContainerIdentifier

func (*DeleteContainersRequest) GetPrefix

func (x *DeleteContainersRequest) GetPrefix() string

func (*DeleteContainersRequest) GetTarget

func (m *DeleteContainersRequest) GetTarget() isDeleteContainersRequest_Target

func (*DeleteContainersRequest) ProtoMessage

func (*DeleteContainersRequest) ProtoMessage()

func (*DeleteContainersRequest) ProtoReflect

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

func (*DeleteContainersRequest) Reset

func (x *DeleteContainersRequest) Reset()

func (*DeleteContainersRequest) String

func (x *DeleteContainersRequest) String() string

type DeleteContainersRequest_Container

type DeleteContainersRequest_Container struct {
	Container *ContainerIdentifier `protobuf:"bytes,201,opt,name=container,proto3,oneof"`
}

type DeleteContainersRequest_Prefix

type DeleteContainersRequest_Prefix struct {
	Prefix string `protobuf:"bytes,202,opt,name=prefix,proto3,oneof"`
}

type DeploymentStatus

type DeploymentStatus int32
const (
	DeploymentStatus_DEPLOYMENT_STATUS_UNSPECIFIED DeploymentStatus = 0
	DeploymentStatus_PREPARING                     DeploymentStatus = 1
	DeploymentStatus_IN_PROGRESS                   DeploymentStatus = 2
	DeploymentStatus_SUCCESSFUL                    DeploymentStatus = 3
	DeploymentStatus_FAILED                        DeploymentStatus = 4
	DeploymentStatus_OBSOLETE                      DeploymentStatus = 5
	DeploymentStatus_DOWNGRADED                    DeploymentStatus = 6
)

func (DeploymentStatus) Descriptor

func (DeploymentStatus) Enum

func (DeploymentStatus) EnumDescriptor deprecated

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

Deprecated: Use DeploymentStatus.Descriptor instead.

func (DeploymentStatus) Number

func (DeploymentStatus) String

func (x DeploymentStatus) String() string

func (DeploymentStatus) Type

type DeploymentStatusMessage

type DeploymentStatusMessage struct {

	// Types that are assignable to Data:
	//
	//	*DeploymentStatusMessage_Instance
	//	*DeploymentStatusMessage_DeploymentStatus
	Data isDeploymentStatusMessage_Data `protobuf_oneof:"data"`
	Log  []string                       `protobuf:"bytes,1000,rep,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentStatusMessage) Descriptor deprecated

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

Deprecated: Use DeploymentStatusMessage.ProtoReflect.Descriptor instead.

func (*DeploymentStatusMessage) GetData

func (m *DeploymentStatusMessage) GetData() isDeploymentStatusMessage_Data

func (*DeploymentStatusMessage) GetDeploymentStatus

func (x *DeploymentStatusMessage) GetDeploymentStatus() DeploymentStatus

func (*DeploymentStatusMessage) GetInstance

func (*DeploymentStatusMessage) GetLog

func (x *DeploymentStatusMessage) GetLog() []string

func (*DeploymentStatusMessage) ProtoMessage

func (*DeploymentStatusMessage) ProtoMessage()

func (*DeploymentStatusMessage) ProtoReflect

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

func (*DeploymentStatusMessage) Reset

func (x *DeploymentStatusMessage) Reset()

func (*DeploymentStatusMessage) String

func (x *DeploymentStatusMessage) String() string

type DeploymentStatusMessage_DeploymentStatus

type DeploymentStatusMessage_DeploymentStatus struct {
	DeploymentStatus DeploymentStatus `protobuf:"varint,201,opt,name=deploymentStatus,proto3,enum=common.DeploymentStatus,oneof"`
}

type DeploymentStatusMessage_Instance

type DeploymentStatusMessage_Instance struct {
	Instance *InstanceDeploymentItem `protobuf:"bytes,200,opt,name=instance,proto3,oneof"`
}

type DeploymentStrategy

type DeploymentStrategy int32
const (
	DeploymentStrategy_DEPLOYMENT_STRATEGY_UNSPECIFIED DeploymentStrategy = 0
	DeploymentStrategy_RECREATE                        DeploymentStrategy = 1
	DeploymentStrategy_ROLLING                         DeploymentStrategy = 2
)

func (DeploymentStrategy) Descriptor

func (DeploymentStrategy) Enum

func (DeploymentStrategy) EnumDescriptor deprecated

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

Deprecated: Use DeploymentStrategy.Descriptor instead.

func (DeploymentStrategy) Number

func (DeploymentStrategy) String

func (x DeploymentStrategy) String() string

func (DeploymentStrategy) Type

type DriverType

type DriverType int32
const (
	DriverType_DRIVER_TYPE_UNSPECIFIED DriverType = 0
	DriverType_DRIVER_TYPE_NONE        DriverType = 1
	DriverType_GCPLOGS                 DriverType = 2
	DriverType_LOCAL                   DriverType = 3
	DriverType_JSON_FILE               DriverType = 4
	DriverType_SYSLOG                  DriverType = 5
	DriverType_JOURNALD                DriverType = 6
	DriverType_GELF                    DriverType = 7
	DriverType_FLUENTD                 DriverType = 8
	DriverType_AWSLOGS                 DriverType = 9
	DriverType_SPLUNK                  DriverType = 10
	DriverType_ETWLOGS                 DriverType = 11
	DriverType_LOGENTRIES              DriverType = 12
)

func (DriverType) Descriptor

func (DriverType) Descriptor() protoreflect.EnumDescriptor

func (DriverType) Enum

func (x DriverType) Enum() *DriverType

func (DriverType) EnumDescriptor deprecated

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

Deprecated: Use DriverType.Descriptor instead.

func (DriverType) Number

func (x DriverType) Number() protoreflect.EnumNumber

func (DriverType) String

func (x DriverType) String() string

func (DriverType) Type

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 ExposeStrategy

type ExposeStrategy int32
const (
	ExposeStrategy_EXPOSE_STRATEGY_UNSPECIFIED ExposeStrategy = 0
	ExposeStrategy_NONE_ES                     ExposeStrategy = 1
	ExposeStrategy_EXPOSE                      ExposeStrategy = 2
	ExposeStrategy_EXPOSE_WITH_TLS             ExposeStrategy = 3
)

func (ExposeStrategy) Descriptor

func (ExposeStrategy) Enum

func (x ExposeStrategy) Enum() *ExposeStrategy

func (ExposeStrategy) EnumDescriptor deprecated

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

Deprecated: Use ExposeStrategy.Descriptor instead.

func (ExposeStrategy) Number

func (ExposeStrategy) String

func (x ExposeStrategy) String() string

func (ExposeStrategy) Type

type HealthCheckConfig

type HealthCheckConfig struct {
	Port           *int32  `protobuf:"varint,100,opt,name=port,proto3,oneof" json:"port,omitempty"`
	LivenessProbe  *string `protobuf:"bytes,101,opt,name=livenessProbe,proto3,oneof" json:"livenessProbe,omitempty"`
	ReadinessProbe *string `protobuf:"bytes,102,opt,name=readinessProbe,proto3,oneof" json:"readinessProbe,omitempty"`
	StartupProbe   *string `protobuf:"bytes,103,opt,name=startupProbe,proto3,oneof" json:"startupProbe,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheckConfig) Descriptor deprecated

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

Deprecated: Use HealthCheckConfig.ProtoReflect.Descriptor instead.

func (*HealthCheckConfig) GetLivenessProbe

func (x *HealthCheckConfig) GetLivenessProbe() string

func (*HealthCheckConfig) GetPort

func (x *HealthCheckConfig) GetPort() int32

func (*HealthCheckConfig) GetReadinessProbe

func (x *HealthCheckConfig) GetReadinessProbe() string

func (*HealthCheckConfig) GetStartupProbe

func (x *HealthCheckConfig) GetStartupProbe() string

func (*HealthCheckConfig) ProtoMessage

func (*HealthCheckConfig) ProtoMessage()

func (*HealthCheckConfig) ProtoReflect

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

func (*HealthCheckConfig) Reset

func (x *HealthCheckConfig) Reset()

func (*HealthCheckConfig) String

func (x *HealthCheckConfig) String() string

type Ingress

type Ingress struct {
	Name        string  `protobuf:"bytes,100,opt,name=name,proto3" json:"name,omitempty"`
	Host        string  `protobuf:"bytes,101,opt,name=host,proto3" json:"host,omitempty"`
	UploadLimit *string `protobuf:"bytes,102,opt,name=uploadLimit,proto3,oneof" json:"uploadLimit,omitempty"`
	// contains filtered or unexported fields
}

func (*Ingress) Descriptor deprecated

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

Deprecated: Use Ingress.ProtoReflect.Descriptor instead.

func (*Ingress) GetHost

func (x *Ingress) GetHost() string

func (*Ingress) GetName

func (x *Ingress) GetName() string

func (*Ingress) GetUploadLimit

func (x *Ingress) GetUploadLimit() string

func (*Ingress) ProtoMessage

func (*Ingress) ProtoMessage()

func (*Ingress) ProtoReflect

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

func (*Ingress) Reset

func (x *Ingress) Reset()

func (*Ingress) String

func (x *Ingress) String() string

type InstanceDeploymentItem

type InstanceDeploymentItem struct {
	InstanceId string         `protobuf:"bytes,100,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	State      ContainerState `protobuf:"varint,101,opt,name=state,proto3,enum=common.ContainerState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceDeploymentItem) Descriptor deprecated

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

Deprecated: Use InstanceDeploymentItem.ProtoReflect.Descriptor instead.

func (*InstanceDeploymentItem) GetInstanceId

func (x *InstanceDeploymentItem) GetInstanceId() string

func (*InstanceDeploymentItem) GetState

func (x *InstanceDeploymentItem) GetState() ContainerState

func (*InstanceDeploymentItem) ProtoMessage

func (*InstanceDeploymentItem) ProtoMessage()

func (*InstanceDeploymentItem) ProtoReflect

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

func (*InstanceDeploymentItem) Reset

func (x *InstanceDeploymentItem) Reset()

func (*InstanceDeploymentItem) String

func (x *InstanceDeploymentItem) String() string

type KeyValue

type KeyValue struct {
	Key   string `protobuf:"bytes,100,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,101,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValue) Descriptor deprecated

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

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

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) String

func (x *KeyValue) String() string

type ListSecretsResponse

type ListSecretsResponse struct {
	Prefix    string   `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Name      string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	PublicKey string   `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	HasKeys   bool     `protobuf:"varint,4,opt,name=hasKeys,proto3" json:"hasKeys,omitempty"`
	Keys      []string `protobuf:"bytes,5,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSecretsResponse) Descriptor deprecated

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

Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.

func (*ListSecretsResponse) GetHasKeys

func (x *ListSecretsResponse) GetHasKeys() bool

func (*ListSecretsResponse) GetKeys

func (x *ListSecretsResponse) GetKeys() []string

func (*ListSecretsResponse) GetName

func (x *ListSecretsResponse) GetName() string

func (*ListSecretsResponse) GetPrefix

func (x *ListSecretsResponse) GetPrefix() string

func (*ListSecretsResponse) GetPublicKey

func (x *ListSecretsResponse) GetPublicKey() string

func (*ListSecretsResponse) ProtoMessage

func (*ListSecretsResponse) ProtoMessage()

func (*ListSecretsResponse) ProtoReflect

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

func (*ListSecretsResponse) Reset

func (x *ListSecretsResponse) Reset()

func (*ListSecretsResponse) String

func (x *ListSecretsResponse) String() string

type NetworkMode

type NetworkMode int32
const (
	NetworkMode_NETWORK_MODE_UNSPECIFIED NetworkMode = 0
	NetworkMode_BRIDGE                   NetworkMode = 1
	NetworkMode_HOST                     NetworkMode = 2
	NetworkMode_OVERLAY                  NetworkMode = 3
	NetworkMode_IPVLAN                   NetworkMode = 4
	NetworkMode_MACVLAN                  NetworkMode = 5
	NetworkMode_NONE                     NetworkMode = 6
)

func (NetworkMode) Descriptor

func (NetworkMode) Enum

func (x NetworkMode) Enum() *NetworkMode

func (NetworkMode) EnumDescriptor deprecated

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

Deprecated: Use NetworkMode.Descriptor instead.

func (NetworkMode) Number

func (x NetworkMode) Number() protoreflect.EnumNumber

func (NetworkMode) String

func (x NetworkMode) String() string

func (NetworkMode) Type

type Resource

type Resource struct {
	Cpu    *string `protobuf:"bytes,100,opt,name=cpu,proto3,oneof" json:"cpu,omitempty"`
	Memory *string `protobuf:"bytes,101,opt,name=memory,proto3,oneof" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetCpu

func (x *Resource) GetCpu() string

func (*Resource) GetMemory

func (x *Resource) GetMemory() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type ResourceConfig

type ResourceConfig struct {
	Limits   *Resource `protobuf:"bytes,100,opt,name=limits,proto3,oneof" json:"limits,omitempty"`
	Requests *Resource `protobuf:"bytes,101,opt,name=requests,proto3,oneof" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceConfig) Descriptor deprecated

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

Deprecated: Use ResourceConfig.ProtoReflect.Descriptor instead.

func (*ResourceConfig) GetLimits

func (x *ResourceConfig) GetLimits() *Resource

func (*ResourceConfig) GetRequests

func (x *ResourceConfig) GetRequests() *Resource

func (*ResourceConfig) ProtoMessage

func (*ResourceConfig) ProtoMessage()

func (*ResourceConfig) ProtoReflect

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

func (*ResourceConfig) Reset

func (x *ResourceConfig) Reset()

func (*ResourceConfig) String

func (x *ResourceConfig) String() string

type RestartPolicy

type RestartPolicy int32
const (
	RestartPolicy_POLICY_UNSPECIFIED RestartPolicy = 0
	RestartPolicy_UNDEFINED          RestartPolicy = 1
	RestartPolicy_NO                 RestartPolicy = 2
	RestartPolicy_ON_FAILURE         RestartPolicy = 3
	RestartPolicy_ALWAYS             RestartPolicy = 4
	RestartPolicy_UNLESS_STOPPED     RestartPolicy = 5
)

func (RestartPolicy) Descriptor

func (RestartPolicy) Enum

func (x RestartPolicy) Enum() *RestartPolicy

func (RestartPolicy) EnumDescriptor deprecated

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

Deprecated: Use RestartPolicy.Descriptor instead.

func (RestartPolicy) Number

func (RestartPolicy) String

func (x RestartPolicy) String() string

func (RestartPolicy) Type

type UniqueKey

type UniqueKey struct {
	Id  string `protobuf:"bytes,100,opt,name=id,proto3" json:"id,omitempty"`
	Key string `protobuf:"bytes,101,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UniqueKey) Descriptor deprecated

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

Deprecated: Use UniqueKey.ProtoReflect.Descriptor instead.

func (*UniqueKey) GetId

func (x *UniqueKey) GetId() string

func (*UniqueKey) GetKey

func (x *UniqueKey) GetKey() string

func (*UniqueKey) ProtoMessage

func (*UniqueKey) ProtoMessage()

func (*UniqueKey) ProtoReflect

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

func (*UniqueKey) Reset

func (x *UniqueKey) Reset()

func (*UniqueKey) String

func (x *UniqueKey) String() string

type VolumeType

type VolumeType int32
const (
	VolumeType_VOLUME_TYPE_UNSPECIFIED VolumeType = 0
	VolumeType_RO                      VolumeType = 1
	VolumeType_RWO                     VolumeType = 2
	VolumeType_RWX                     VolumeType = 3
	VolumeType_MEM                     VolumeType = 4
	VolumeType_TMP                     VolumeType = 5
)

func (VolumeType) Descriptor

func (VolumeType) Descriptor() protoreflect.EnumDescriptor

func (VolumeType) Enum

func (x VolumeType) Enum() *VolumeType

func (VolumeType) EnumDescriptor deprecated

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

Deprecated: Use VolumeType.Descriptor instead.

func (VolumeType) Number

func (x VolumeType) Number() protoreflect.EnumNumber

func (VolumeType) String

func (x VolumeType) String() string

func (VolumeType) Type

Jump to

Keyboard shortcuts

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