mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
* chore: update Dockerfile deps * chore: generated files from build image and make generate * update make generate, don't pull from docker hub Signed-off-by: Future-Outlier <[email protected]> --------- Signed-off-by: Future-Outlier <[email protected]> Co-authored-by: Future-Outlier <[email protected]>
2449 lines
103 KiB
Go
2449 lines
103 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.1
|
|
// protoc v5.29.2
|
|
// source: cluster.proto
|
|
|
|
package go_client
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// Source of environment variable
|
|
type EnvValueFrom_Source int32
|
|
|
|
const (
|
|
EnvValueFrom_CONFIGMAP EnvValueFrom_Source = 0
|
|
EnvValueFrom_SECRET EnvValueFrom_Source = 1
|
|
EnvValueFrom_RESOURCEFIELD EnvValueFrom_Source = 2
|
|
EnvValueFrom_FIELD EnvValueFrom_Source = 3
|
|
)
|
|
|
|
// Enum value maps for EnvValueFrom_Source.
|
|
var (
|
|
EnvValueFrom_Source_name = map[int32]string{
|
|
0: "CONFIGMAP",
|
|
1: "SECRET",
|
|
2: "RESOURCEFIELD",
|
|
3: "FIELD",
|
|
}
|
|
EnvValueFrom_Source_value = map[string]int32{
|
|
"CONFIGMAP": 0,
|
|
"SECRET": 1,
|
|
"RESOURCEFIELD": 2,
|
|
"FIELD": 3,
|
|
}
|
|
)
|
|
|
|
func (x EnvValueFrom_Source) Enum() *EnvValueFrom_Source {
|
|
p := new(EnvValueFrom_Source)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x EnvValueFrom_Source) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (EnvValueFrom_Source) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_cluster_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (EnvValueFrom_Source) Type() protoreflect.EnumType {
|
|
return &file_cluster_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x EnvValueFrom_Source) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use EnvValueFrom_Source.Descriptor instead.
|
|
func (EnvValueFrom_Source) EnumDescriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{7, 0}
|
|
}
|
|
|
|
// Optional field.
|
|
type Cluster_Environment int32
|
|
|
|
const (
|
|
Cluster_DEV Cluster_Environment = 0
|
|
Cluster_TESTING Cluster_Environment = 1
|
|
Cluster_STAGING Cluster_Environment = 2
|
|
Cluster_PRODUCTION Cluster_Environment = 3
|
|
)
|
|
|
|
// Enum value maps for Cluster_Environment.
|
|
var (
|
|
Cluster_Environment_name = map[int32]string{
|
|
0: "DEV",
|
|
1: "TESTING",
|
|
2: "STAGING",
|
|
3: "PRODUCTION",
|
|
}
|
|
Cluster_Environment_value = map[string]int32{
|
|
"DEV": 0,
|
|
"TESTING": 1,
|
|
"STAGING": 2,
|
|
"PRODUCTION": 3,
|
|
}
|
|
)
|
|
|
|
func (x Cluster_Environment) Enum() *Cluster_Environment {
|
|
p := new(Cluster_Environment)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Cluster_Environment) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Cluster_Environment) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_cluster_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (Cluster_Environment) Type() protoreflect.EnumType {
|
|
return &file_cluster_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x Cluster_Environment) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Cluster_Environment.Descriptor instead.
|
|
func (Cluster_Environment) EnumDescriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{10, 0}
|
|
}
|
|
|
|
type Volume_VolumeType int32
|
|
|
|
const (
|
|
Volume_PERSISTENT_VOLUME_CLAIM Volume_VolumeType = 0
|
|
Volume_HOST_PATH Volume_VolumeType = 1
|
|
Volume_EPHEMERAL Volume_VolumeType = 2 // Ephemeral (https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes)
|
|
Volume_CONFIGMAP Volume_VolumeType = 3 // Require map name and items, see https://kubernetes.io/docs/concepts/storage/volumes/#configmap
|
|
Volume_SECRET Volume_VolumeType = 4 // Require secret name and optional items, see https://stackoverflow.com/questions/53296057/how-do-i-mount-a-single-file-from-a-secret-in-kubernetes
|
|
Volume_EMPTY_DIR Volume_VolumeType = 5 // Requires size limit, see https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
|
|
)
|
|
|
|
// Enum value maps for Volume_VolumeType.
|
|
var (
|
|
Volume_VolumeType_name = map[int32]string{
|
|
0: "PERSISTENT_VOLUME_CLAIM",
|
|
1: "HOST_PATH",
|
|
2: "EPHEMERAL",
|
|
3: "CONFIGMAP",
|
|
4: "SECRET",
|
|
5: "EMPTY_DIR",
|
|
}
|
|
Volume_VolumeType_value = map[string]int32{
|
|
"PERSISTENT_VOLUME_CLAIM": 0,
|
|
"HOST_PATH": 1,
|
|
"EPHEMERAL": 2,
|
|
"CONFIGMAP": 3,
|
|
"SECRET": 4,
|
|
"EMPTY_DIR": 5,
|
|
}
|
|
)
|
|
|
|
func (x Volume_VolumeType) Enum() *Volume_VolumeType {
|
|
p := new(Volume_VolumeType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Volume_VolumeType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Volume_VolumeType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_cluster_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (Volume_VolumeType) Type() protoreflect.EnumType {
|
|
return &file_cluster_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x Volume_VolumeType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Volume_VolumeType.Descriptor instead.
|
|
func (Volume_VolumeType) EnumDescriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{12, 0}
|
|
}
|
|
|
|
// If indicate hostpath, we need to let user indicate which type
|
|
// they would like to use.
|
|
type Volume_HostPathType int32
|
|
|
|
const (
|
|
Volume_DIRECTORY Volume_HostPathType = 0
|
|
Volume_FILE Volume_HostPathType = 1
|
|
)
|
|
|
|
// Enum value maps for Volume_HostPathType.
|
|
var (
|
|
Volume_HostPathType_name = map[int32]string{
|
|
0: "DIRECTORY",
|
|
1: "FILE",
|
|
}
|
|
Volume_HostPathType_value = map[string]int32{
|
|
"DIRECTORY": 0,
|
|
"FILE": 1,
|
|
}
|
|
)
|
|
|
|
func (x Volume_HostPathType) Enum() *Volume_HostPathType {
|
|
p := new(Volume_HostPathType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Volume_HostPathType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Volume_HostPathType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_cluster_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (Volume_HostPathType) Type() protoreflect.EnumType {
|
|
return &file_cluster_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x Volume_HostPathType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Volume_HostPathType.Descriptor instead.
|
|
func (Volume_HostPathType) EnumDescriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{12, 1}
|
|
}
|
|
|
|
type Volume_MountPropagationMode int32
|
|
|
|
const (
|
|
Volume_NONE Volume_MountPropagationMode = 0
|
|
Volume_HOSTTOCONTAINER Volume_MountPropagationMode = 1
|
|
Volume_BIDIRECTIONAL Volume_MountPropagationMode = 2
|
|
)
|
|
|
|
// Enum value maps for Volume_MountPropagationMode.
|
|
var (
|
|
Volume_MountPropagationMode_name = map[int32]string{
|
|
0: "NONE",
|
|
1: "HOSTTOCONTAINER",
|
|
2: "BIDIRECTIONAL",
|
|
}
|
|
Volume_MountPropagationMode_value = map[string]int32{
|
|
"NONE": 0,
|
|
"HOSTTOCONTAINER": 1,
|
|
"BIDIRECTIONAL": 2,
|
|
}
|
|
)
|
|
|
|
func (x Volume_MountPropagationMode) Enum() *Volume_MountPropagationMode {
|
|
p := new(Volume_MountPropagationMode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Volume_MountPropagationMode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Volume_MountPropagationMode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_cluster_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (Volume_MountPropagationMode) Type() protoreflect.EnumType {
|
|
return &file_cluster_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x Volume_MountPropagationMode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Volume_MountPropagationMode.Descriptor instead.
|
|
func (Volume_MountPropagationMode) EnumDescriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{12, 2}
|
|
}
|
|
|
|
type Volume_AccessMode int32
|
|
|
|
const (
|
|
Volume_RWO Volume_AccessMode = 0 // ReadWriteOnce
|
|
Volume_ROX Volume_AccessMode = 1 // ReadOnlyMany
|
|
Volume_RWX Volume_AccessMode = 2 // ReadWriteMany
|
|
)
|
|
|
|
// Enum value maps for Volume_AccessMode.
|
|
var (
|
|
Volume_AccessMode_name = map[int32]string{
|
|
0: "RWO",
|
|
1: "ROX",
|
|
2: "RWX",
|
|
}
|
|
Volume_AccessMode_value = map[string]int32{
|
|
"RWO": 0,
|
|
"ROX": 1,
|
|
"RWX": 2,
|
|
}
|
|
)
|
|
|
|
func (x Volume_AccessMode) Enum() *Volume_AccessMode {
|
|
p := new(Volume_AccessMode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Volume_AccessMode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Volume_AccessMode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_cluster_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (Volume_AccessMode) Type() protoreflect.EnumType {
|
|
return &file_cluster_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x Volume_AccessMode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Volume_AccessMode.Descriptor instead.
|
|
func (Volume_AccessMode) EnumDescriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{12, 3}
|
|
}
|
|
|
|
type CreateClusterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The cluster to be created.
|
|
Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
|
|
// Required. The namespace of the cluster to be created.
|
|
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateClusterRequest) Reset() {
|
|
*x = CreateClusterRequest{}
|
|
mi := &file_cluster_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateClusterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateClusterRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateClusterRequest) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateClusterRequest) GetCluster() *Cluster {
|
|
if x != nil {
|
|
return x.Cluster
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateClusterRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetClusterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The name of the cluster to be retrieved.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Required. The namespace of the cluster to be retrieved.
|
|
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetClusterRequest) Reset() {
|
|
*x = GetClusterRequest{}
|
|
mi := &file_cluster_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetClusterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetClusterRequest) ProtoMessage() {}
|
|
|
|
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetClusterRequest) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetClusterRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetClusterRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListClustersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The namespace of the clusters to be retrieved.
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
// A continue token to request the next page of results. The token is acquired
|
|
// from the previous ListCluster call or can be omitted when fetching the first page.
|
|
Continue string `protobuf:"bytes,2,opt,name=continue,proto3" json:"continue,omitempty"`
|
|
// The maximum number of clusters to return for the requested page.
|
|
// For backward compatibility, the default value is 0 which returns all clusters without pagination.
|
|
Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListClustersRequest) Reset() {
|
|
*x = ListClustersRequest{}
|
|
mi := &file_cluster_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListClustersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListClustersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListClustersRequest) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListClustersRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListClustersRequest) GetContinue() string {
|
|
if x != nil {
|
|
return x.Continue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListClustersRequest) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListClustersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A list of clusters returned.
|
|
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
|
// The continue token for the next page of clusters.
|
|
Continue string `protobuf:"bytes,2,opt,name=continue,proto3" json:"continue,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListClustersResponse) Reset() {
|
|
*x = ListClustersResponse{}
|
|
mi := &file_cluster_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListClustersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListClustersResponse) ProtoMessage() {}
|
|
|
|
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListClustersResponse) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListClustersResponse) GetClusters() []*Cluster {
|
|
if x != nil {
|
|
return x.Clusters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListClustersResponse) GetContinue() string {
|
|
if x != nil {
|
|
return x.Continue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListAllClustersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A continue token to request the next page of results. The token is acquired
|
|
// from the previous ListAllClusters call or can be omitted when fetching the first page.
|
|
Continue string `protobuf:"bytes,1,opt,name=continue,proto3" json:"continue,omitempty"`
|
|
// The maximum number of clusters to return per page across all namespaces.
|
|
// For backward compatibility, the default value is 0 which returns all clusters without pagination.
|
|
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAllClustersRequest) Reset() {
|
|
*x = ListAllClustersRequest{}
|
|
mi := &file_cluster_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAllClustersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAllClustersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListAllClustersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAllClustersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListAllClustersRequest) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ListAllClustersRequest) GetContinue() string {
|
|
if x != nil {
|
|
return x.Continue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAllClustersRequest) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListAllClustersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A list of clusters returned.
|
|
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
|
// The continue token for the next page of clusters.
|
|
// If there are no more clusters, this field will be empty.
|
|
Continue string `protobuf:"bytes,2,opt,name=continue,proto3" json:"continue,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAllClustersResponse) Reset() {
|
|
*x = ListAllClustersResponse{}
|
|
mi := &file_cluster_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAllClustersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAllClustersResponse) ProtoMessage() {}
|
|
|
|
func (x *ListAllClustersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAllClustersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListAllClustersResponse) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListAllClustersResponse) GetClusters() []*Cluster {
|
|
if x != nil {
|
|
return x.Clusters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListAllClustersResponse) GetContinue() string {
|
|
if x != nil {
|
|
return x.Continue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteClusterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The name of the cluster to be deleted.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// The namespace of the cluster to be deleted.
|
|
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteClusterRequest) Reset() {
|
|
*x = DeleteClusterRequest{}
|
|
mi := &file_cluster_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteClusterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteClusterRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteClusterRequest) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DeleteClusterRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteClusterRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EnvValueFrom struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Source EnvValueFrom_Source `protobuf:"varint,1,opt,name=source,proto3,enum=proto.EnvValueFrom_Source" json:"source,omitempty"`
|
|
// Name for config map or secret, container name for resource, path for field
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Key for config map or secret, resource name for resource
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnvValueFrom) Reset() {
|
|
*x = EnvValueFrom{}
|
|
mi := &file_cluster_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnvValueFrom) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnvValueFrom) ProtoMessage() {}
|
|
|
|
func (x *EnvValueFrom) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnvValueFrom.ProtoReflect.Descriptor instead.
|
|
func (*EnvValueFrom) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *EnvValueFrom) GetSource() EnvValueFrom_Source {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return EnvValueFrom_CONFIGMAP
|
|
}
|
|
|
|
func (x *EnvValueFrom) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnvValueFrom) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// This allows to specify both - environment variables containing values and environment values containing valueFrom
|
|
type EnvironmentVariables struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
ValuesFrom map[string]*EnvValueFrom `protobuf:"bytes,2,rep,name=valuesFrom,proto3" json:"valuesFrom,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnvironmentVariables) Reset() {
|
|
*x = EnvironmentVariables{}
|
|
mi := &file_cluster_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnvironmentVariables) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnvironmentVariables) ProtoMessage() {}
|
|
|
|
func (x *EnvironmentVariables) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnvironmentVariables.ProtoReflect.Descriptor instead.
|
|
func (*EnvironmentVariables) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *EnvironmentVariables) GetValues() map[string]string {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EnvironmentVariables) GetValuesFrom() map[string]*EnvValueFrom {
|
|
if x != nil {
|
|
return x.ValuesFrom
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AutoscalerOptions struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// IdleTimeoutSeconds is the number of seconds to wait before scaling down a worker pod which is not using Ray resources.
|
|
// Defaults to 60 (one minute).
|
|
IdleTimeoutSeconds int32 `protobuf:"varint,1,opt,name=idleTimeoutSeconds,proto3" json:"idleTimeoutSeconds,omitempty"`
|
|
// UpscalingMode is "Conservative", "Default", or "Aggressive."
|
|
// Conservative: Upscaling is rate-limited; the number of pending worker pods is at most the size of the Ray cluster.
|
|
// Default: Upscaling is not rate-limited.
|
|
// Aggressive: An alias for Default; upscaling is not rate-limited.
|
|
// It is not read by the KubeRay operator but by the Ray autoscaler.
|
|
UpscalingMode string `protobuf:"bytes,2,opt,name=upscalingMode,proto3" json:"upscalingMode,omitempty"`
|
|
// Image optionally overrides the autoscaler's container image. This override is for provided for autoscaler testing and development.
|
|
Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
|
|
// ImagePullPolicy optionally overrides the autoscaler container's image pull policy. This override is for provided for autoscaler testing and development.
|
|
ImagePullPolicy string `protobuf:"bytes,4,opt,name=imagePullPolicy,proto3" json:"imagePullPolicy,omitempty"`
|
|
// Optional CPUs requirements for autoscaler - default "500m"
|
|
Cpu string `protobuf:"bytes,5,opt,name=cpu,proto3" json:"cpu,omitempty"`
|
|
// Optional memory requirements for autoscaler - default "512Mi"
|
|
Memory string `protobuf:"bytes,6,opt,name=memory,proto3" json:"memory,omitempty"`
|
|
// Optional list of environment variables to set in the autoscaler container.
|
|
Envs *EnvironmentVariables `protobuf:"bytes,7,opt,name=envs,proto3" json:"envs,omitempty"`
|
|
// Optional list of volumeMounts. This is needed for enabling TLS for the autoscaler container.
|
|
Volumes []*Volume `protobuf:"bytes,8,rep,name=volumes,proto3" json:"volumes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AutoscalerOptions) Reset() {
|
|
*x = AutoscalerOptions{}
|
|
mi := &file_cluster_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AutoscalerOptions) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AutoscalerOptions) ProtoMessage() {}
|
|
|
|
func (x *AutoscalerOptions) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AutoscalerOptions.ProtoReflect.Descriptor instead.
|
|
func (*AutoscalerOptions) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetIdleTimeoutSeconds() int32 {
|
|
if x != nil {
|
|
return x.IdleTimeoutSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetUpscalingMode() string {
|
|
if x != nil {
|
|
return x.UpscalingMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetImagePullPolicy() string {
|
|
if x != nil {
|
|
return x.ImagePullPolicy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetCpu() string {
|
|
if x != nil {
|
|
return x.Cpu
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetMemory() string {
|
|
if x != nil {
|
|
return x.Memory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetEnvs() *EnvironmentVariables {
|
|
if x != nil {
|
|
return x.Envs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AutoscalerOptions) GetVolumes() []*Volume {
|
|
if x != nil {
|
|
return x.Volumes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Cluster struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required input field. Unique cluster name provided by user.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Required input field. Cluster's namespace provided by user
|
|
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
// Required field. This field indicates the user who owns the cluster.
|
|
User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
|
// Optional input field. Ray cluster version
|
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
Environment Cluster_Environment `protobuf:"varint,5,opt,name=environment,proto3,enum=proto.Cluster_Environment" json:"environment,omitempty"`
|
|
// Required field. This field indicates ray cluster configuration
|
|
ClusterSpec *ClusterSpec `protobuf:"bytes,6,opt,name=cluster_spec,json=clusterSpec,proto3" json:"cluster_spec,omitempty"`
|
|
// Optional. Annotations, for example, "kubernetes.io/ingress.class" to define Ingress class
|
|
Annotations map[string]string `protobuf:"bytes,7,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Optional input field. Container environment variables from user.
|
|
Envs *EnvironmentVariables `protobuf:"bytes,8,opt,name=envs,proto3" json:"envs,omitempty"`
|
|
// Output. The time that the cluster created.
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
// Output. The time that the cluster deleted.
|
|
DeletedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
|
|
// Output. The status to show the cluster status.state
|
|
ClusterState string `protobuf:"bytes,11,opt,name=cluster_state,json=clusterState,proto3" json:"cluster_state,omitempty"`
|
|
// Output. The list related to the cluster.
|
|
Events []*ClusterEvent `protobuf:"bytes,12,rep,name=events,proto3" json:"events,omitempty"`
|
|
// Output. The service endpoint of the cluster
|
|
ServiceEndpoint map[string]string `protobuf:"bytes,13,rep,name=service_endpoint,json=serviceEndpoint,proto3" json:"service_endpoint,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Cluster) Reset() {
|
|
*x = Cluster{}
|
|
mi := &file_cluster_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Cluster) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Cluster) ProtoMessage() {}
|
|
|
|
func (x *Cluster) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
|
|
func (*Cluster) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Cluster) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetUser() string {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetEnvironment() Cluster_Environment {
|
|
if x != nil {
|
|
return x.Environment
|
|
}
|
|
return Cluster_DEV
|
|
}
|
|
|
|
func (x *Cluster) GetClusterSpec() *ClusterSpec {
|
|
if x != nil {
|
|
return x.ClusterSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetAnnotations() map[string]string {
|
|
if x != nil {
|
|
return x.Annotations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetEnvs() *EnvironmentVariables {
|
|
if x != nil {
|
|
return x.Envs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetDeletedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.DeletedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetClusterState() string {
|
|
if x != nil {
|
|
return x.ClusterState
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetEvents() []*ClusterEvent {
|
|
if x != nil {
|
|
return x.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetServiceEndpoint() map[string]string {
|
|
if x != nil {
|
|
return x.ServiceEndpoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Cluster specification.
|
|
type ClusterSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The head group configuration
|
|
HeadGroupSpec *HeadGroupSpec `protobuf:"bytes,1,opt,name=head_group_spec,json=headGroupSpec,proto3" json:"head_group_spec,omitempty"`
|
|
// Optional. The worker group configurations
|
|
WorkerGroupSpec []*WorkerGroupSpec `protobuf:"bytes,2,rep,name=worker_group_spec,json=workerGroupSpec,proto3" json:"worker_group_spec,omitempty"`
|
|
// EnableInTreeAutoscaling indicates whether operator should create in tree autoscaling configs
|
|
EnableInTreeAutoscaling bool `protobuf:"varint,3,opt,name=enableInTreeAutoscaling,proto3" json:"enableInTreeAutoscaling,omitempty"`
|
|
// AutoscalerOptions specifies optional configuration for the Ray autoscaler.
|
|
AutoscalerOptions *AutoscalerOptions `protobuf:"bytes,4,opt,name=autoscalerOptions,proto3" json:"autoscalerOptions,omitempty"`
|
|
// Optional. The annotations for the head service
|
|
HeadServiceAnnotations map[string]string `protobuf:"bytes,5,rep,name=headServiceAnnotations,proto3" json:"headServiceAnnotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClusterSpec) Reset() {
|
|
*x = ClusterSpec{}
|
|
mi := &file_cluster_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClusterSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClusterSpec) ProtoMessage() {}
|
|
|
|
func (x *ClusterSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClusterSpec.ProtoReflect.Descriptor instead.
|
|
func (*ClusterSpec) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ClusterSpec) GetHeadGroupSpec() *HeadGroupSpec {
|
|
if x != nil {
|
|
return x.HeadGroupSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterSpec) GetWorkerGroupSpec() []*WorkerGroupSpec {
|
|
if x != nil {
|
|
return x.WorkerGroupSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterSpec) GetEnableInTreeAutoscaling() bool {
|
|
if x != nil {
|
|
return x.EnableInTreeAutoscaling
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClusterSpec) GetAutoscalerOptions() *AutoscalerOptions {
|
|
if x != nil {
|
|
return x.AutoscalerOptions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterSpec) GetHeadServiceAnnotations() map[string]string {
|
|
if x != nil {
|
|
return x.HeadServiceAnnotations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Volume struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
|
|
VolumeType Volume_VolumeType `protobuf:"varint,2,opt,name=volume_type,json=volumeType,proto3,enum=proto.Volume_VolumeType" json:"volume_type,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // volume name
|
|
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // volume source, for example hostpath source, secret or configMap name, etc
|
|
ReadOnly bool `protobuf:"varint,5,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // Read only flag
|
|
HostPathType Volume_HostPathType `protobuf:"varint,6,opt,name=host_path_type,json=hostPathType,proto3,enum=proto.Volume_HostPathType" json:"host_path_type,omitempty"`
|
|
MountPropagationMode Volume_MountPropagationMode `protobuf:"varint,7,opt,name=mount_propagation_mode,json=mountPropagationMode,proto3,enum=proto.Volume_MountPropagationMode" json:"mount_propagation_mode,omitempty"`
|
|
// If indicate ephemeral, we need to let user specify volumeClaimTemplate
|
|
StorageClassName string `protobuf:"bytes,8,opt,name=storageClassName,proto3" json:"storageClassName,omitempty"` // If not defined, default is used
|
|
AccessMode Volume_AccessMode `protobuf:"varint,9,opt,name=accessMode,proto3,enum=proto.Volume_AccessMode" json:"accessMode,omitempty"`
|
|
Storage string `protobuf:"bytes,10,opt,name=storage,proto3" json:"storage,omitempty"` // For ephemeral - required storage, GB, for empty dir - MB
|
|
Items map[string]string `protobuf:"bytes,11,rep,name=items,proto3" json:"items,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Items used for configMap and secrets
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Volume) Reset() {
|
|
*x = Volume{}
|
|
mi := &file_cluster_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Volume) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Volume) ProtoMessage() {}
|
|
|
|
func (x *Volume) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Volume.ProtoReflect.Descriptor instead.
|
|
func (*Volume) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *Volume) GetMountPath() string {
|
|
if x != nil {
|
|
return x.MountPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Volume) GetVolumeType() Volume_VolumeType {
|
|
if x != nil {
|
|
return x.VolumeType
|
|
}
|
|
return Volume_PERSISTENT_VOLUME_CLAIM
|
|
}
|
|
|
|
func (x *Volume) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Volume) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Volume) GetReadOnly() bool {
|
|
if x != nil {
|
|
return x.ReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Volume) GetHostPathType() Volume_HostPathType {
|
|
if x != nil {
|
|
return x.HostPathType
|
|
}
|
|
return Volume_DIRECTORY
|
|
}
|
|
|
|
func (x *Volume) GetMountPropagationMode() Volume_MountPropagationMode {
|
|
if x != nil {
|
|
return x.MountPropagationMode
|
|
}
|
|
return Volume_NONE
|
|
}
|
|
|
|
func (x *Volume) GetStorageClassName() string {
|
|
if x != nil {
|
|
return x.StorageClassName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Volume) GetAccessMode() Volume_AccessMode {
|
|
if x != nil {
|
|
return x.AccessMode
|
|
}
|
|
return Volume_RWO
|
|
}
|
|
|
|
func (x *Volume) GetStorage() string {
|
|
if x != nil {
|
|
return x.Storage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Volume) GetItems() map[string]string {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Adds and removes POSIX capabilities from running containers.
|
|
type Capabilities struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Optional. Added capabilities
|
|
Add []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
|
|
// Optional. Removed capabilities
|
|
Drop []string `protobuf:"bytes,2,rep,name=drop,proto3" json:"drop,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Capabilities) Reset() {
|
|
*x = Capabilities{}
|
|
mi := &file_cluster_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Capabilities) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Capabilities) ProtoMessage() {}
|
|
|
|
func (x *Capabilities) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.
|
|
func (*Capabilities) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *Capabilities) GetAdd() []string {
|
|
if x != nil {
|
|
return x.Add
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Capabilities) GetDrop() []string {
|
|
if x != nil {
|
|
return x.Drop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// SecurityContext holds security configuration that will be applied to a container.
|
|
// Some fields are present in both SecurityContext and PodSecurityContext. When both
|
|
// are set, the values in SecurityContext take precedence.
|
|
type SecurityContext struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Optional. The capabilities to add/drop when running containers.
|
|
Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
|
|
// Optional. Run container in privileged mode - essentially equivalent to root on the host. Default is false.
|
|
Privileged *bool `protobuf:"varint,2,opt,name=privileged,proto3,oneof" json:"privileged,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SecurityContext) Reset() {
|
|
*x = SecurityContext{}
|
|
mi := &file_cluster_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SecurityContext) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SecurityContext) ProtoMessage() {}
|
|
|
|
func (x *SecurityContext) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.
|
|
func (*SecurityContext) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *SecurityContext) GetCapabilities() *Capabilities {
|
|
if x != nil {
|
|
return x.Capabilities
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SecurityContext) GetPrivileged() bool {
|
|
if x != nil && x.Privileged != nil {
|
|
return *x.Privileged
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Cluster HeadGroup specification
|
|
type HeadGroupSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The computeTemplate of head node group
|
|
ComputeTemplate string `protobuf:"bytes,1,opt,name=compute_template,json=computeTemplate,proto3" json:"compute_template,omitempty"`
|
|
// Optional field. This field will be used to retrieve right ray container
|
|
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
|
|
// Optional. The service type (ClusterIP, NodePort, Load balancer) of the head node
|
|
ServiceType string `protobuf:"bytes,3,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
|
|
// Optional. Enable Ingress
|
|
// if Ingress is enabled, we might have to specify annotation IngressClassAnnotationKey, for the cluster itself, defining Ingress class
|
|
EnableIngress bool `protobuf:"varint,4,opt,name=enableIngress,proto3" json:"enableIngress,omitempty"`
|
|
// Required. The ray start params of head node group.
|
|
RayStartParams map[string]string `protobuf:"bytes,5,rep,name=ray_start_params,json=rayStartParams,proto3" json:"ray_start_params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Optional. The volumes mount to head pod
|
|
Volumes []*Volume `protobuf:"bytes,6,rep,name=volumes,proto3" json:"volumes,omitempty"`
|
|
// Optional. ServiceAccount used by head pod
|
|
// Note that the service account has to be created prior to usage here
|
|
ServiceAccount string `protobuf:"bytes,7,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
|
|
// Optional. image pull secret used by head pod
|
|
ImagePullSecret string `protobuf:"bytes,8,opt,name=image_pull_secret,json=imagePullSecret,proto3" json:"image_pull_secret,omitempty"`
|
|
// Optional. Environment variables for head pod
|
|
Environment *EnvironmentVariables `protobuf:"bytes,9,opt,name=environment,proto3" json:"environment,omitempty"`
|
|
// Optional. Annotations for the head pod
|
|
Annotations map[string]string `protobuf:"bytes,10,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Optional. Labels for the head pod
|
|
Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Optional image pull policy We only support Always and ifNotPresent
|
|
ImagePullPolicy string `protobuf:"bytes,12,opt,name=imagePullPolicy,proto3" json:"imagePullPolicy,omitempty"`
|
|
// Optional. Configure the security context for the head container for debugging etc.
|
|
SecurityContext *SecurityContext `protobuf:"bytes,13,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HeadGroupSpec) Reset() {
|
|
*x = HeadGroupSpec{}
|
|
mi := &file_cluster_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HeadGroupSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeadGroupSpec) ProtoMessage() {}
|
|
|
|
func (x *HeadGroupSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HeadGroupSpec.ProtoReflect.Descriptor instead.
|
|
func (*HeadGroupSpec) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetComputeTemplate() string {
|
|
if x != nil {
|
|
return x.ComputeTemplate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetServiceType() string {
|
|
if x != nil {
|
|
return x.ServiceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetEnableIngress() bool {
|
|
if x != nil {
|
|
return x.EnableIngress
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetRayStartParams() map[string]string {
|
|
if x != nil {
|
|
return x.RayStartParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetVolumes() []*Volume {
|
|
if x != nil {
|
|
return x.Volumes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetServiceAccount() string {
|
|
if x != nil {
|
|
return x.ServiceAccount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetImagePullSecret() string {
|
|
if x != nil {
|
|
return x.ImagePullSecret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetEnvironment() *EnvironmentVariables {
|
|
if x != nil {
|
|
return x.Environment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetAnnotations() map[string]string {
|
|
if x != nil {
|
|
return x.Annotations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetLabels() map[string]string {
|
|
if x != nil {
|
|
return x.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetImagePullPolicy() string {
|
|
if x != nil {
|
|
return x.ImagePullPolicy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeadGroupSpec) GetSecurityContext() *SecurityContext {
|
|
if x != nil {
|
|
return x.SecurityContext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WorkerGroupSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. Group name of the current worker group
|
|
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
|
|
// Required. The computeTemplate of head node group
|
|
ComputeTemplate string `protobuf:"bytes,2,opt,name=compute_template,json=computeTemplate,proto3" json:"compute_template,omitempty"`
|
|
// Optional field. This field will be used to retrieve right ray container
|
|
Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
|
|
// Required. Desired replicas of the worker group
|
|
Replicas int32 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"`
|
|
// Optional. Min replicas of the worker group, can't be greater than max_replicas.
|
|
MinReplicas int32 `protobuf:"varint,5,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"`
|
|
// Required. Max replicas of the worker group (>0)
|
|
MaxReplicas int32 `protobuf:"varint,6,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"`
|
|
// Required. The ray start parameters of worker node group
|
|
RayStartParams map[string]string `protobuf:"bytes,7,rep,name=ray_start_params,json=rayStartParams,proto3" json:"ray_start_params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Optional. The volumes mount to worker pods
|
|
Volumes []*Volume `protobuf:"bytes,8,rep,name=volumes,proto3" json:"volumes,omitempty"`
|
|
// Optional. ServiceAccount used by worker pod
|
|
// Note that the service account has to be created prior to usage here
|
|
ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
|
|
// Optional. image pull secret used by worker pod
|
|
ImagePullSecret string `protobuf:"bytes,10,opt,name=image_pull_secret,json=imagePullSecret,proto3" json:"image_pull_secret,omitempty"`
|
|
// Optional. Environment variables for worker pod
|
|
Environment *EnvironmentVariables `protobuf:"bytes,11,opt,name=environment,proto3" json:"environment,omitempty"`
|
|
// Optional. Annotations for the worker pod
|
|
Annotations map[string]string `protobuf:"bytes,12,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Optional. Labels for the worker pod
|
|
Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Optional image pull policy We only support Always and ifNotPresent
|
|
ImagePullPolicy string `protobuf:"bytes,14,opt,name=imagePullPolicy,proto3" json:"imagePullPolicy,omitempty"`
|
|
// Optional. Configure the security context for the worker container for debugging etc.
|
|
SecurityContext *SecurityContext `protobuf:"bytes,15,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) Reset() {
|
|
*x = WorkerGroupSpec{}
|
|
mi := &file_cluster_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkerGroupSpec) ProtoMessage() {}
|
|
|
|
func (x *WorkerGroupSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkerGroupSpec.ProtoReflect.Descriptor instead.
|
|
func (*WorkerGroupSpec) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetGroupName() string {
|
|
if x != nil {
|
|
return x.GroupName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetComputeTemplate() string {
|
|
if x != nil {
|
|
return x.ComputeTemplate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetReplicas() int32 {
|
|
if x != nil {
|
|
return x.Replicas
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetMinReplicas() int32 {
|
|
if x != nil {
|
|
return x.MinReplicas
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetMaxReplicas() int32 {
|
|
if x != nil {
|
|
return x.MaxReplicas
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetRayStartParams() map[string]string {
|
|
if x != nil {
|
|
return x.RayStartParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetVolumes() []*Volume {
|
|
if x != nil {
|
|
return x.Volumes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetServiceAccount() string {
|
|
if x != nil {
|
|
return x.ServiceAccount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetImagePullSecret() string {
|
|
if x != nil {
|
|
return x.ImagePullSecret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetEnvironment() *EnvironmentVariables {
|
|
if x != nil {
|
|
return x.Environment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetAnnotations() map[string]string {
|
|
if x != nil {
|
|
return x.Annotations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetLabels() map[string]string {
|
|
if x != nil {
|
|
return x.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetImagePullPolicy() string {
|
|
if x != nil {
|
|
return x.ImagePullPolicy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkerGroupSpec) GetSecurityContext() *SecurityContext {
|
|
if x != nil {
|
|
return x.SecurityContext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClusterEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Unique Event Id.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// Human readable name for event.
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Event creation time.
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
// The first time the event occur.
|
|
FirstTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=first_timestamp,json=firstTimestamp,proto3" json:"first_timestamp,omitempty"`
|
|
// The last time the event occur
|
|
LastTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"`
|
|
// The reason for the transition into the object's current status.
|
|
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
// A human-readable description of the status of this operation.
|
|
Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Type of this event (Normal, Warning), new types could be added in the future
|
|
Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
|
|
// The number of times this event has occurred.
|
|
Count int32 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClusterEvent) Reset() {
|
|
*x = ClusterEvent{}
|
|
mi := &file_cluster_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClusterEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClusterEvent) ProtoMessage() {}
|
|
|
|
func (x *ClusterEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClusterEvent.ProtoReflect.Descriptor instead.
|
|
func (*ClusterEvent) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ClusterEvent) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClusterEvent) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClusterEvent) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterEvent) GetFirstTimestamp() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.FirstTimestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterEvent) GetLastTimestamp() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastTimestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterEvent) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClusterEvent) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClusterEvent) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClusterEvent) GetCount() int32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_cluster_proto protoreflect.FileDescriptor
|
|
|
|
var file_cluster_proto_rawDesc = []byte{
|
|
0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
|
|
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
|
|
0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d,
|
|
0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x07, 0x63,
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x04, 0xe2, 0x41,
|
|
0x01, 0x02, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x09, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,
|
|
0xe2, 0x41, 0x01, 0x02, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22,
|
|
0x51, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22,
|
|
0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x22, 0x6b, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
|
|
0x01, 0x02, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d,
|
|
0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22,
|
|
0x6a, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
|
|
0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x08, 0x63, 0x6f, 0x6e,
|
|
0x74, 0x69, 0x6e, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,
|
|
0x03, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x22, 0x4a, 0x0a, 0x16, 0x4c,
|
|
0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75,
|
|
0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x6d, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41,
|
|
0x6c, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73,
|
|
0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x63, 0x6f,
|
|
0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x22, 0x54, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
|
|
0x01, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,
|
|
0x02, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xab, 0x01, 0x0a,
|
|
0x0c, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x32, 0x0a,
|
|
0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x46, 0x72,
|
|
0x6f, 0x6d, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x41, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x4d, 0x41, 0x50, 0x10, 0x00,
|
|
0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d,
|
|
0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x02, 0x12,
|
|
0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x03, 0x22, 0xb3, 0x02, 0x0a, 0x14, 0x45,
|
|
0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62,
|
|
0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x69,
|
|
0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73,
|
|
0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x46, 0x72,
|
|
0x6f, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69,
|
|
0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x46, 0x72, 0x6f, 0x6d,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x46, 0x72, 0x6f,
|
|
0x6d, 0x1a, 0x39, 0x0a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
|
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x52, 0x0a, 0x0f,
|
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
|
0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x6c, 0x75,
|
|
0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
0x22, 0xad, 0x02, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x4f,
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x64, 0x6c, 0x65, 0x54, 0x69,
|
|
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x12, 0x69, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53,
|
|
0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x70, 0x73, 0x63, 0x61, 0x6c,
|
|
0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75,
|
|
0x70, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61,
|
|
0x67, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50,
|
|
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6d, 0x61,
|
|
0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
0x63, 0x70, 0x75, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x16,
|
|
0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x2f, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x76,
|
|
0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65,
|
|
0x73, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, 0x27, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
|
|
0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73,
|
|
0x22, 0xe6, 0x06, 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x04,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,
|
|
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,
|
|
0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x04, 0x75, 0x73,
|
|
0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04,
|
|
0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3c,
|
|
0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75, 0x73,
|
|
0x74, 0x65, 0x72, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52,
|
|
0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0c,
|
|
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0b, 0x63, 0x6c,
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x41, 0x0a, 0x0b, 0x61, 0x6e, 0x6e,
|
|
0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x41,
|
|
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x04,
|
|
0x65, 0x6e, 0x76, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61,
|
|
0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, 0x3f, 0x0a,
|
|
0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2,
|
|
0x41, 0x01, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3f,
|
|
0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04,
|
|
0xe2, 0x41, 0x01, 0x03, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
|
|
0x29, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0c, 0x63, 0x6c,
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x65, 0x76,
|
|
0x65, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42,
|
|
0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x54, 0x0a,
|
|
0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45,
|
|
0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41,
|
|
0x01, 0x03, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
|
0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x6e,
|
|
0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x40, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72,
|
|
0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x56, 0x10, 0x00, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x54, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
|
|
0x53, 0x54, 0x41, 0x47, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f,
|
|
0x44, 0x55, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x22, 0xca, 0x03, 0x0a, 0x0b, 0x43, 0x6c,
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x0f, 0x68, 0x65, 0x61,
|
|
0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x47,
|
|
0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0d,
|
|
0x68, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a,
|
|
0x11, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x70,
|
|
0x65, 0x63, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63,
|
|
0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65,
|
|
0x63, 0x12, 0x38, 0x0a, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x54, 0x72, 0x65,
|
|
0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x54, 0x72, 0x65, 0x65,
|
|
0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x46, 0x0a, 0x11, 0x61,
|
|
0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41,
|
|
0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
0x52, 0x11, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x12, 0x66, 0x0a, 0x16, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75, 0x73,
|
|
0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76,
|
|
0x69, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x52, 0x16, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x49, 0x0a, 0x1b, 0x48,
|
|
0x65, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc0, 0x06, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
|
|
0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68,
|
|
0x12, 0x39, 0x0a, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x6f,
|
|
0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
|
|
0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f,
|
|
0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64,
|
|
0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x40, 0x0a, 0x0e, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74,
|
|
0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x48, 0x6f, 0x73, 0x74,
|
|
0x50, 0x61, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x61,
|
|
0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, 0x16, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
|
|
0x70, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56,
|
|
0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61,
|
|
0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x14, 0x6d, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65,
|
|
0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x74, 0x6f, 0x72,
|
|
0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0a,
|
|
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e,
|
|
0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65,
|
|
0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
|
|
0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
|
|
0x12, 0x2e, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x49,
|
|
0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
|
|
0x1a, 0x38, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x71, 0x0a, 0x0a, 0x56, 0x6f,
|
|
0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x45, 0x52, 0x53,
|
|
0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x43, 0x4c,
|
|
0x41, 0x49, 0x4d, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x41,
|
|
0x54, 0x48, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x50, 0x48, 0x45, 0x4d, 0x45, 0x52, 0x41,
|
|
0x4c, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x4d, 0x41, 0x50,
|
|
0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x04, 0x12, 0x0d,
|
|
0x0a, 0x09, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x5f, 0x44, 0x49, 0x52, 0x10, 0x05, 0x22, 0x27, 0x0a,
|
|
0x0c, 0x48, 0x6f, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a,
|
|
0x09, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04,
|
|
0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x22, 0x48, 0x0a, 0x14, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50,
|
|
0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x08,
|
|
0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x48, 0x4f, 0x53, 0x54,
|
|
0x54, 0x4f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a,
|
|
0x0d, 0x42, 0x49, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x02,
|
|
0x22, 0x27, 0x0a, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x07,
|
|
0x0a, 0x03, 0x52, 0x57, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x4f, 0x58, 0x10, 0x01,
|
|
0x12, 0x07, 0x0a, 0x03, 0x52, 0x57, 0x58, 0x10, 0x02, 0x22, 0x34, 0x0a, 0x0c, 0x43, 0x61, 0x70,
|
|
0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x64, 0x64,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x61, 0x64, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64,
|
|
0x72, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x22,
|
|
0x7e, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x78, 0x74, 0x12, 0x37, 0x0a, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69,
|
|
0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x0c, 0x63,
|
|
0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0a, 0x70,
|
|
0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48,
|
|
0x00, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x88, 0x01, 0x01,
|
|
0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x22,
|
|
0xe4, 0x06, 0x0a, 0x0d, 0x48, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65,
|
|
0x63, 0x12, 0x2f, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x65, 0x6d,
|
|
0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,
|
|
0x02, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
|
0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76,
|
|
0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x65,
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73,
|
|
0x73, 0x12, 0x58, 0x0a, 0x10, 0x72, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65,
|
|
0x63, 0x2e, 0x52, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0e, 0x72, 0x61, 0x79,
|
|
0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x27, 0x0a, 0x07, 0x76,
|
|
0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07, 0x76, 0x6f, 0x6c,
|
|
0x75, 0x6d, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
|
|
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a,
|
|
0x11, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x72,
|
|
0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50,
|
|
0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x6e, 0x76,
|
|
0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x0b, 0x65, 0x6e, 0x76,
|
|
0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f,
|
|
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53,
|
|
0x70, 0x65, 0x63, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x12, 0x38, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x47, 0x72,
|
|
0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x69,
|
|
0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0c,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50,
|
|
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x41, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
|
|
0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
|
|
0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x41, 0x0a, 0x13, 0x52, 0x61, 0x79, 0x53,
|
|
0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
|
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41,
|
|
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
|
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x4c,
|
|
0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb6, 0x07, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x65,
|
|
0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0a, 0x67, 0x72,
|
|
0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,
|
|
0xe2, 0x41, 0x01, 0x02, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x2f, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c,
|
|
0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,
|
|
0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
|
|
0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63,
|
|
0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08,
|
|
0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x5f,
|
|
0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b,
|
|
0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x27, 0x0a, 0x0c, 0x6d,
|
|
0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x05, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c,
|
|
0x69, 0x63, 0x61, 0x73, 0x12, 0x5a, 0x0a, 0x10, 0x72, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x72,
|
|
0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f,
|
|
0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x52, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,
|
|
0x52, 0x0e, 0x72, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x12, 0x27, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
|
|
0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72,
|
|
0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x75, 0x6c, 0x6c,
|
|
0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69,
|
|
0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x3d,
|
|
0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x69,
|
|
0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73,
|
|
0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a,
|
|
0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65,
|
|
0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e,
|
|
0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,
|
|
0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63,
|
|
0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61,
|
|
0x62, 0x65, 0x6c, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c,
|
|
0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69,
|
|
0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x41,
|
|
0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x78, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
|
|
0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
|
|
0x74, 0x1a, 0x41, 0x0a, 0x13, 0x52, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72,
|
|
0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0xd1, 0x02, 0x0a, 0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74,
|
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
|
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
|
|
0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
|
|
0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
|
|
0x43, 0x0a, 0x0f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
|
|
0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73,
|
|
0x74, 0x61, 0x6d, 0x70, 0x12, 0x41, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69,
|
|
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f,
|
|
0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12,
|
|
0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
|
0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
|
|
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x32, 0xe0, 0x04, 0x0a, 0x0e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x07, 0x63, 0x6c,
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x2f,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12,
|
|
0x6f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x18, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12,
|
|
0x2f, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d,
|
|
0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d,
|
|
0x12, 0x78, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12,
|
|
0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73,
|
|
0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a,
|
|
0x12, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x0f, 0x4c, 0x69,
|
|
0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x75, 0x73,
|
|
0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3,
|
|
0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63,
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x7d, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
|
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x37, 0x82,
|
|
0xd3, 0xe4, 0x93, 0x02, 0x31, 0x2a, 0x2f, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x2f,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f,
|
|
0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0x54, 0x92, 0x41, 0x21, 0x2a, 0x01, 0x01, 0x52, 0x1c,
|
|
0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x11, 0x12, 0x0f, 0x0a, 0x0d, 0x1a,
|
|
0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5a, 0x2e, 0x67, 0x69,
|
|
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x61, 0x79, 0x2d, 0x70, 0x72, 0x6f,
|
|
0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x61, 0x79, 0x2f, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_cluster_proto_rawDescOnce sync.Once
|
|
file_cluster_proto_rawDescData = file_cluster_proto_rawDesc
|
|
)
|
|
|
|
func file_cluster_proto_rawDescGZIP() []byte {
|
|
file_cluster_proto_rawDescOnce.Do(func() {
|
|
file_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_proto_rawDescData)
|
|
})
|
|
return file_cluster_proto_rawDescData
|
|
}
|
|
|
|
var file_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
|
|
var file_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
|
var file_cluster_proto_goTypes = []any{
|
|
(EnvValueFrom_Source)(0), // 0: proto.EnvValueFrom.Source
|
|
(Cluster_Environment)(0), // 1: proto.Cluster.Environment
|
|
(Volume_VolumeType)(0), // 2: proto.Volume.VolumeType
|
|
(Volume_HostPathType)(0), // 3: proto.Volume.HostPathType
|
|
(Volume_MountPropagationMode)(0), // 4: proto.Volume.MountPropagationMode
|
|
(Volume_AccessMode)(0), // 5: proto.Volume.AccessMode
|
|
(*CreateClusterRequest)(nil), // 6: proto.CreateClusterRequest
|
|
(*GetClusterRequest)(nil), // 7: proto.GetClusterRequest
|
|
(*ListClustersRequest)(nil), // 8: proto.ListClustersRequest
|
|
(*ListClustersResponse)(nil), // 9: proto.ListClustersResponse
|
|
(*ListAllClustersRequest)(nil), // 10: proto.ListAllClustersRequest
|
|
(*ListAllClustersResponse)(nil), // 11: proto.ListAllClustersResponse
|
|
(*DeleteClusterRequest)(nil), // 12: proto.DeleteClusterRequest
|
|
(*EnvValueFrom)(nil), // 13: proto.EnvValueFrom
|
|
(*EnvironmentVariables)(nil), // 14: proto.EnvironmentVariables
|
|
(*AutoscalerOptions)(nil), // 15: proto.AutoscalerOptions
|
|
(*Cluster)(nil), // 16: proto.Cluster
|
|
(*ClusterSpec)(nil), // 17: proto.ClusterSpec
|
|
(*Volume)(nil), // 18: proto.Volume
|
|
(*Capabilities)(nil), // 19: proto.Capabilities
|
|
(*SecurityContext)(nil), // 20: proto.SecurityContext
|
|
(*HeadGroupSpec)(nil), // 21: proto.HeadGroupSpec
|
|
(*WorkerGroupSpec)(nil), // 22: proto.WorkerGroupSpec
|
|
(*ClusterEvent)(nil), // 23: proto.ClusterEvent
|
|
nil, // 24: proto.EnvironmentVariables.ValuesEntry
|
|
nil, // 25: proto.EnvironmentVariables.ValuesFromEntry
|
|
nil, // 26: proto.Cluster.AnnotationsEntry
|
|
nil, // 27: proto.Cluster.ServiceEndpointEntry
|
|
nil, // 28: proto.ClusterSpec.HeadServiceAnnotationsEntry
|
|
nil, // 29: proto.Volume.ItemsEntry
|
|
nil, // 30: proto.HeadGroupSpec.RayStartParamsEntry
|
|
nil, // 31: proto.HeadGroupSpec.AnnotationsEntry
|
|
nil, // 32: proto.HeadGroupSpec.LabelsEntry
|
|
nil, // 33: proto.WorkerGroupSpec.RayStartParamsEntry
|
|
nil, // 34: proto.WorkerGroupSpec.AnnotationsEntry
|
|
nil, // 35: proto.WorkerGroupSpec.LabelsEntry
|
|
(*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp
|
|
(*emptypb.Empty)(nil), // 37: google.protobuf.Empty
|
|
}
|
|
var file_cluster_proto_depIdxs = []int32{
|
|
16, // 0: proto.CreateClusterRequest.cluster:type_name -> proto.Cluster
|
|
16, // 1: proto.ListClustersResponse.clusters:type_name -> proto.Cluster
|
|
16, // 2: proto.ListAllClustersResponse.clusters:type_name -> proto.Cluster
|
|
0, // 3: proto.EnvValueFrom.source:type_name -> proto.EnvValueFrom.Source
|
|
24, // 4: proto.EnvironmentVariables.values:type_name -> proto.EnvironmentVariables.ValuesEntry
|
|
25, // 5: proto.EnvironmentVariables.valuesFrom:type_name -> proto.EnvironmentVariables.ValuesFromEntry
|
|
14, // 6: proto.AutoscalerOptions.envs:type_name -> proto.EnvironmentVariables
|
|
18, // 7: proto.AutoscalerOptions.volumes:type_name -> proto.Volume
|
|
1, // 8: proto.Cluster.environment:type_name -> proto.Cluster.Environment
|
|
17, // 9: proto.Cluster.cluster_spec:type_name -> proto.ClusterSpec
|
|
26, // 10: proto.Cluster.annotations:type_name -> proto.Cluster.AnnotationsEntry
|
|
14, // 11: proto.Cluster.envs:type_name -> proto.EnvironmentVariables
|
|
36, // 12: proto.Cluster.created_at:type_name -> google.protobuf.Timestamp
|
|
36, // 13: proto.Cluster.deleted_at:type_name -> google.protobuf.Timestamp
|
|
23, // 14: proto.Cluster.events:type_name -> proto.ClusterEvent
|
|
27, // 15: proto.Cluster.service_endpoint:type_name -> proto.Cluster.ServiceEndpointEntry
|
|
21, // 16: proto.ClusterSpec.head_group_spec:type_name -> proto.HeadGroupSpec
|
|
22, // 17: proto.ClusterSpec.worker_group_spec:type_name -> proto.WorkerGroupSpec
|
|
15, // 18: proto.ClusterSpec.autoscalerOptions:type_name -> proto.AutoscalerOptions
|
|
28, // 19: proto.ClusterSpec.headServiceAnnotations:type_name -> proto.ClusterSpec.HeadServiceAnnotationsEntry
|
|
2, // 20: proto.Volume.volume_type:type_name -> proto.Volume.VolumeType
|
|
3, // 21: proto.Volume.host_path_type:type_name -> proto.Volume.HostPathType
|
|
4, // 22: proto.Volume.mount_propagation_mode:type_name -> proto.Volume.MountPropagationMode
|
|
5, // 23: proto.Volume.accessMode:type_name -> proto.Volume.AccessMode
|
|
29, // 24: proto.Volume.items:type_name -> proto.Volume.ItemsEntry
|
|
19, // 25: proto.SecurityContext.capabilities:type_name -> proto.Capabilities
|
|
30, // 26: proto.HeadGroupSpec.ray_start_params:type_name -> proto.HeadGroupSpec.RayStartParamsEntry
|
|
18, // 27: proto.HeadGroupSpec.volumes:type_name -> proto.Volume
|
|
14, // 28: proto.HeadGroupSpec.environment:type_name -> proto.EnvironmentVariables
|
|
31, // 29: proto.HeadGroupSpec.annotations:type_name -> proto.HeadGroupSpec.AnnotationsEntry
|
|
32, // 30: proto.HeadGroupSpec.labels:type_name -> proto.HeadGroupSpec.LabelsEntry
|
|
20, // 31: proto.HeadGroupSpec.security_context:type_name -> proto.SecurityContext
|
|
33, // 32: proto.WorkerGroupSpec.ray_start_params:type_name -> proto.WorkerGroupSpec.RayStartParamsEntry
|
|
18, // 33: proto.WorkerGroupSpec.volumes:type_name -> proto.Volume
|
|
14, // 34: proto.WorkerGroupSpec.environment:type_name -> proto.EnvironmentVariables
|
|
34, // 35: proto.WorkerGroupSpec.annotations:type_name -> proto.WorkerGroupSpec.AnnotationsEntry
|
|
35, // 36: proto.WorkerGroupSpec.labels:type_name -> proto.WorkerGroupSpec.LabelsEntry
|
|
20, // 37: proto.WorkerGroupSpec.security_context:type_name -> proto.SecurityContext
|
|
36, // 38: proto.ClusterEvent.created_at:type_name -> google.protobuf.Timestamp
|
|
36, // 39: proto.ClusterEvent.first_timestamp:type_name -> google.protobuf.Timestamp
|
|
36, // 40: proto.ClusterEvent.last_timestamp:type_name -> google.protobuf.Timestamp
|
|
13, // 41: proto.EnvironmentVariables.ValuesFromEntry.value:type_name -> proto.EnvValueFrom
|
|
6, // 42: proto.ClusterService.CreateCluster:input_type -> proto.CreateClusterRequest
|
|
7, // 43: proto.ClusterService.GetCluster:input_type -> proto.GetClusterRequest
|
|
8, // 44: proto.ClusterService.ListCluster:input_type -> proto.ListClustersRequest
|
|
10, // 45: proto.ClusterService.ListAllClusters:input_type -> proto.ListAllClustersRequest
|
|
12, // 46: proto.ClusterService.DeleteCluster:input_type -> proto.DeleteClusterRequest
|
|
16, // 47: proto.ClusterService.CreateCluster:output_type -> proto.Cluster
|
|
16, // 48: proto.ClusterService.GetCluster:output_type -> proto.Cluster
|
|
9, // 49: proto.ClusterService.ListCluster:output_type -> proto.ListClustersResponse
|
|
11, // 50: proto.ClusterService.ListAllClusters:output_type -> proto.ListAllClustersResponse
|
|
37, // 51: proto.ClusterService.DeleteCluster:output_type -> google.protobuf.Empty
|
|
47, // [47:52] is the sub-list for method output_type
|
|
42, // [42:47] is the sub-list for method input_type
|
|
42, // [42:42] is the sub-list for extension type_name
|
|
42, // [42:42] is the sub-list for extension extendee
|
|
0, // [0:42] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_cluster_proto_init() }
|
|
func file_cluster_proto_init() {
|
|
if File_cluster_proto != nil {
|
|
return
|
|
}
|
|
file_cluster_proto_msgTypes[14].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_cluster_proto_rawDesc,
|
|
NumEnums: 6,
|
|
NumMessages: 30,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_cluster_proto_goTypes,
|
|
DependencyIndexes: file_cluster_proto_depIdxs,
|
|
EnumInfos: file_cluster_proto_enumTypes,
|
|
MessageInfos: file_cluster_proto_msgTypes,
|
|
}.Build()
|
|
File_cluster_proto = out.File
|
|
file_cluster_proto_rawDesc = nil
|
|
file_cluster_proto_goTypes = nil
|
|
file_cluster_proto_depIdxs = nil
|
|
}
|