2491 lines
105 KiB
Go
2491 lines
105 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: runtime.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
math "math"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type RuntimeCredential struct {
|
|
// runtime credential id
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
// runtime credential name
|
|
Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// runtime credential description
|
|
Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
// runtime url eg.[http://www.qingyun.com]
|
|
RuntimeUrl *wrappers.StringValue `protobuf:"bytes,4,opt,name=runtime_url,json=runtimeUrl,proto3" json:"runtime_url,omitempty"`
|
|
// runtime credential content
|
|
RuntimeCredentialContent *wrappers.StringValue `protobuf:"bytes,5,opt,name=runtime_credential_content,json=runtimeCredentialContent,proto3" json:"runtime_credential_content,omitempty"`
|
|
// own path, concat string group_path:user_id
|
|
OwnerPath *wrappers.StringValue `protobuf:"bytes,6,opt,name=owner_path,json=ownerPath,proto3" json:"owner_path,omitempty"`
|
|
// runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
|
|
Provider *wrappers.StringValue `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
// runtime credential status eg.[active|deleted]
|
|
Status *wrappers.StringValue `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
|
// the time when runtime credential create
|
|
CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
// record status changed time
|
|
StatusTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=status_time,json=statusTime,proto3" json:"status_time,omitempty"`
|
|
// debug or not
|
|
Debug *wrappers.BoolValue `protobuf:"bytes,11,opt,name=debug,proto3" json:"debug,omitempty"`
|
|
// owner
|
|
Owner *wrappers.StringValue `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RuntimeCredential) Reset() { *m = RuntimeCredential{} }
|
|
func (m *RuntimeCredential) String() string { return proto.CompactTextString(m) }
|
|
func (*RuntimeCredential) ProtoMessage() {}
|
|
func (*RuntimeCredential) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{0}
|
|
}
|
|
|
|
func (m *RuntimeCredential) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RuntimeCredential.Unmarshal(m, b)
|
|
}
|
|
func (m *RuntimeCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RuntimeCredential.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RuntimeCredential) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RuntimeCredential.Merge(m, src)
|
|
}
|
|
func (m *RuntimeCredential) XXX_Size() int {
|
|
return xxx_messageInfo_RuntimeCredential.Size(m)
|
|
}
|
|
func (m *RuntimeCredential) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RuntimeCredential.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RuntimeCredential proto.InternalMessageInfo
|
|
|
|
func (m *RuntimeCredential) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetDescription() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetRuntimeUrl() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetRuntimeCredentialContent() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetOwnerPath() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.OwnerPath
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetProvider() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Provider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetStatus() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetCreateTime() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetStatusTime() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.StatusTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetDebug() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.Debug
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeCredential) GetOwner() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Owner
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Runtime struct {
|
|
// runtime id
|
|
RuntimeId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
// runtime name,create by owner.
|
|
Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// runtime description
|
|
Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
// runtime provider.eg.[qingcloud|aliyun|aws|kubernetes]
|
|
Provider *wrappers.StringValue `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
// runtime credential id
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,5,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
// runtime zone eg.[pek3a|pek3b|...]
|
|
Zone *wrappers.StringValue `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
|
|
// owner path, concat string group_path:user_id
|
|
OwnerPath *wrappers.StringValue `protobuf:"bytes,7,opt,name=owner_path,json=ownerPath,proto3" json:"owner_path,omitempty"`
|
|
// status eg.[active|deleted]
|
|
Status *wrappers.StringValue `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
|
// the time when runtime create
|
|
CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
// record status changed time
|
|
StatusTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=status_time,json=statusTime,proto3" json:"status_time,omitempty"`
|
|
// debug or not
|
|
Debug *wrappers.BoolValue `protobuf:"bytes,11,opt,name=debug,proto3" json:"debug,omitempty"`
|
|
// owner
|
|
Owner *wrappers.StringValue `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Runtime) Reset() { *m = Runtime{} }
|
|
func (m *Runtime) String() string { return proto.CompactTextString(m) }
|
|
func (*Runtime) ProtoMessage() {}
|
|
func (*Runtime) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{1}
|
|
}
|
|
|
|
func (m *Runtime) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Runtime.Unmarshal(m, b)
|
|
}
|
|
func (m *Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Runtime.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Runtime) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Runtime.Merge(m, src)
|
|
}
|
|
func (m *Runtime) XXX_Size() int {
|
|
return xxx_messageInfo_Runtime.Size(m)
|
|
}
|
|
func (m *Runtime) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Runtime.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Runtime proto.InternalMessageInfo
|
|
|
|
func (m *Runtime) GetRuntimeId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetDescription() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetProvider() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Provider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetZone() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Zone
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetOwnerPath() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.OwnerPath
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetStatus() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetCreateTime() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetStatusTime() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.StatusTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetDebug() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.Debug
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Runtime) GetOwner() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Owner
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RuntimeDetail struct {
|
|
// runtime
|
|
Runtime *Runtime `protobuf:"bytes,1,opt,name=runtime,proto3" json:"runtime,omitempty"`
|
|
// runtime credential
|
|
RuntimeCredential *RuntimeCredential `protobuf:"bytes,2,opt,name=runtime_credential,json=runtimeCredential,proto3" json:"runtime_credential,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RuntimeDetail) Reset() { *m = RuntimeDetail{} }
|
|
func (m *RuntimeDetail) String() string { return proto.CompactTextString(m) }
|
|
func (*RuntimeDetail) ProtoMessage() {}
|
|
func (*RuntimeDetail) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{2}
|
|
}
|
|
|
|
func (m *RuntimeDetail) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RuntimeDetail.Unmarshal(m, b)
|
|
}
|
|
func (m *RuntimeDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RuntimeDetail.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RuntimeDetail) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RuntimeDetail.Merge(m, src)
|
|
}
|
|
func (m *RuntimeDetail) XXX_Size() int {
|
|
return xxx_messageInfo_RuntimeDetail.Size(m)
|
|
}
|
|
func (m *RuntimeDetail) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RuntimeDetail.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RuntimeDetail proto.InternalMessageInfo
|
|
|
|
func (m *RuntimeDetail) GetRuntime() *Runtime {
|
|
if m != nil {
|
|
return m.Runtime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RuntimeDetail) GetRuntimeCredential() *RuntimeCredential {
|
|
if m != nil {
|
|
return m.RuntimeCredential
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateRuntimeRequest struct {
|
|
// required, runtime name
|
|
Name *wrappers.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// runtime description
|
|
Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
// required, runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
|
|
Provider *wrappers.StringValue `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
// required, runtime credential id
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,4,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
// required, runtime zone eg.[pek3a|pek3b|...]
|
|
Zone *wrappers.StringValue `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"`
|
|
// for kubesphere only, if provider this value means upsert this record
|
|
RuntimeId *wrappers.StringValue `protobuf:"bytes,10,opt,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateRuntimeRequest) Reset() { *m = CreateRuntimeRequest{} }
|
|
func (m *CreateRuntimeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateRuntimeRequest) ProtoMessage() {}
|
|
func (*CreateRuntimeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{3}
|
|
}
|
|
|
|
func (m *CreateRuntimeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateRuntimeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateRuntimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateRuntimeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateRuntimeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateRuntimeRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateRuntimeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateRuntimeRequest.Size(m)
|
|
}
|
|
func (m *CreateRuntimeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateRuntimeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateRuntimeRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateRuntimeRequest) GetName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeRequest) GetDescription() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeRequest) GetProvider() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Provider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeRequest) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeRequest) GetZone() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Zone
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeRequest) GetRuntimeId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateRuntimeResponse struct {
|
|
// id of runtime created
|
|
RuntimeId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateRuntimeResponse) Reset() { *m = CreateRuntimeResponse{} }
|
|
func (m *CreateRuntimeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateRuntimeResponse) ProtoMessage() {}
|
|
func (*CreateRuntimeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{4}
|
|
}
|
|
|
|
func (m *CreateRuntimeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateRuntimeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateRuntimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateRuntimeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateRuntimeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateRuntimeResponse.Merge(m, src)
|
|
}
|
|
func (m *CreateRuntimeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CreateRuntimeResponse.Size(m)
|
|
}
|
|
func (m *CreateRuntimeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateRuntimeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateRuntimeResponse proto.InternalMessageInfo
|
|
|
|
func (m *CreateRuntimeResponse) GetRuntimeId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeRuntimesRequest struct {
|
|
// query key, support these fields(runtime_id, provider, zone, status, owner)
|
|
SearchWord *wrappers.StringValue `protobuf:"bytes,1,opt,name=search_word,json=searchWord,proto3" json:"search_word,omitempty"`
|
|
// sort key, order by sort_key, default create_time
|
|
SortKey *wrappers.StringValue `protobuf:"bytes,2,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
|
|
// value = 0 sort ASC, value = 1 sort DESC
|
|
Reverse *wrappers.BoolValue `protobuf:"bytes,3,opt,name=reverse,proto3" json:"reverse,omitempty"`
|
|
// data limit per page, default value 20, max value 200
|
|
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
// data offset, default 0
|
|
Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
// select columns to display
|
|
DisplayColumns []string `protobuf:"bytes,6,rep,name=display_columns,json=displayColumns,proto3" json:"display_columns,omitempty"`
|
|
// runtime ids
|
|
RuntimeId []string `protobuf:"bytes,11,rep,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
// status eg.[active|deleted]
|
|
Status []string `protobuf:"bytes,12,rep,name=status,proto3" json:"status,omitempty"`
|
|
// runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
|
|
Provider []string `protobuf:"bytes,13,rep,name=provider,proto3" json:"provider,omitempty"`
|
|
// owner
|
|
Owner []string `protobuf:"bytes,14,rep,name=owner,proto3" json:"owner,omitempty"`
|
|
// runtime credential id
|
|
RuntimeCredentialId []string `protobuf:"bytes,15,rep,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) Reset() { *m = DescribeRuntimesRequest{} }
|
|
func (m *DescribeRuntimesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeRuntimesRequest) ProtoMessage() {}
|
|
func (*DescribeRuntimesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{5}
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeRuntimesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeRuntimesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeRuntimesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeRuntimesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeRuntimesRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeRuntimesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeRuntimesRequest.Size(m)
|
|
}
|
|
func (m *DescribeRuntimesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeRuntimesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeRuntimesRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeRuntimesRequest) GetSearchWord() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.SearchWord
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetSortKey() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.SortKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetReverse() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.Reverse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetLimit() uint32 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetOffset() uint32 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetDisplayColumns() []string {
|
|
if m != nil {
|
|
return m.DisplayColumns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetRuntimeId() []string {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetStatus() []string {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetProvider() []string {
|
|
if m != nil {
|
|
return m.Provider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetOwner() []string {
|
|
if m != nil {
|
|
return m.Owner
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimesRequest) GetRuntimeCredentialId() []string {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeRuntimesResponse struct {
|
|
// total count of runtime
|
|
TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
|
// list of runtime
|
|
RuntimeSet []*Runtime `protobuf:"bytes,2,rep,name=runtime_set,json=runtimeSet,proto3" json:"runtime_set,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeRuntimesResponse) Reset() { *m = DescribeRuntimesResponse{} }
|
|
func (m *DescribeRuntimesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeRuntimesResponse) ProtoMessage() {}
|
|
func (*DescribeRuntimesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{6}
|
|
}
|
|
|
|
func (m *DescribeRuntimesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeRuntimesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeRuntimesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeRuntimesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeRuntimesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeRuntimesResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeRuntimesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeRuntimesResponse.Size(m)
|
|
}
|
|
func (m *DescribeRuntimesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeRuntimesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeRuntimesResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeRuntimesResponse) GetTotalCount() uint32 {
|
|
if m != nil {
|
|
return m.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeRuntimesResponse) GetRuntimeSet() []*Runtime {
|
|
if m != nil {
|
|
return m.RuntimeSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeRuntimeDetailsResponse struct {
|
|
// total count of runtime
|
|
TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
|
// list of runtime detail info
|
|
RuntimeDetailSet []*RuntimeDetail `protobuf:"bytes,2,rep,name=runtime_detail_set,json=runtimeDetailSet,proto3" json:"runtime_detail_set,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeRuntimeDetailsResponse) Reset() { *m = DescribeRuntimeDetailsResponse{} }
|
|
func (m *DescribeRuntimeDetailsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeRuntimeDetailsResponse) ProtoMessage() {}
|
|
func (*DescribeRuntimeDetailsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{7}
|
|
}
|
|
|
|
func (m *DescribeRuntimeDetailsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeRuntimeDetailsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeRuntimeDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeRuntimeDetailsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeRuntimeDetailsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeRuntimeDetailsResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeRuntimeDetailsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeRuntimeDetailsResponse.Size(m)
|
|
}
|
|
func (m *DescribeRuntimeDetailsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeRuntimeDetailsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeRuntimeDetailsResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeRuntimeDetailsResponse) GetTotalCount() uint32 {
|
|
if m != nil {
|
|
return m.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeRuntimeDetailsResponse) GetRuntimeDetailSet() []*RuntimeDetail {
|
|
if m != nil {
|
|
return m.RuntimeDetailSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ModifyRuntimeRequest struct {
|
|
// required, id of runtime to modify
|
|
RuntimeId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
// runtime name
|
|
Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// runtime description
|
|
Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
// runtime credential id
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,4,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModifyRuntimeRequest) Reset() { *m = ModifyRuntimeRequest{} }
|
|
func (m *ModifyRuntimeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ModifyRuntimeRequest) ProtoMessage() {}
|
|
func (*ModifyRuntimeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{8}
|
|
}
|
|
|
|
func (m *ModifyRuntimeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModifyRuntimeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ModifyRuntimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModifyRuntimeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModifyRuntimeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModifyRuntimeRequest.Merge(m, src)
|
|
}
|
|
func (m *ModifyRuntimeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ModifyRuntimeRequest.Size(m)
|
|
}
|
|
func (m *ModifyRuntimeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModifyRuntimeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModifyRuntimeRequest proto.InternalMessageInfo
|
|
|
|
func (m *ModifyRuntimeRequest) GetRuntimeId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModifyRuntimeRequest) GetName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModifyRuntimeRequest) GetDescription() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModifyRuntimeRequest) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ModifyRuntimeResponse struct {
|
|
// id of runtime modified
|
|
RuntimeId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModifyRuntimeResponse) Reset() { *m = ModifyRuntimeResponse{} }
|
|
func (m *ModifyRuntimeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ModifyRuntimeResponse) ProtoMessage() {}
|
|
func (*ModifyRuntimeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{9}
|
|
}
|
|
|
|
func (m *ModifyRuntimeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModifyRuntimeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ModifyRuntimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModifyRuntimeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModifyRuntimeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModifyRuntimeResponse.Merge(m, src)
|
|
}
|
|
func (m *ModifyRuntimeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ModifyRuntimeResponse.Size(m)
|
|
}
|
|
func (m *ModifyRuntimeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModifyRuntimeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModifyRuntimeResponse proto.InternalMessageInfo
|
|
|
|
func (m *ModifyRuntimeResponse) GetRuntimeId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteRuntimesRequest struct {
|
|
// required, ids of runtime to delete
|
|
RuntimeId []string `protobuf:"bytes,1,rep,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
// whether force delete runtime or not
|
|
Force *wrappers.BoolValue `protobuf:"bytes,2,opt,name=force,proto3" json:"force,omitempty"`
|
|
// timeout(s), when delete runtime
|
|
GracePeriod uint32 `protobuf:"varint,3,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteRuntimesRequest) Reset() { *m = DeleteRuntimesRequest{} }
|
|
func (m *DeleteRuntimesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteRuntimesRequest) ProtoMessage() {}
|
|
func (*DeleteRuntimesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{10}
|
|
}
|
|
|
|
func (m *DeleteRuntimesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteRuntimesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteRuntimesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteRuntimesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteRuntimesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteRuntimesRequest.Merge(m, src)
|
|
}
|
|
func (m *DeleteRuntimesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteRuntimesRequest.Size(m)
|
|
}
|
|
func (m *DeleteRuntimesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteRuntimesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteRuntimesRequest proto.InternalMessageInfo
|
|
|
|
func (m *DeleteRuntimesRequest) GetRuntimeId() []string {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DeleteRuntimesRequest) GetForce() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.Force
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DeleteRuntimesRequest) GetGracePeriod() uint32 {
|
|
if m != nil {
|
|
return m.GracePeriod
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteRuntimesResponse struct {
|
|
// ids of runtime deleted
|
|
RuntimeId []string `protobuf:"bytes,1,rep,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteRuntimesResponse) Reset() { *m = DeleteRuntimesResponse{} }
|
|
func (m *DeleteRuntimesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteRuntimesResponse) ProtoMessage() {}
|
|
func (*DeleteRuntimesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{11}
|
|
}
|
|
|
|
func (m *DeleteRuntimesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteRuntimesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteRuntimesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteRuntimesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteRuntimesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteRuntimesResponse.Merge(m, src)
|
|
}
|
|
func (m *DeleteRuntimesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteRuntimesResponse.Size(m)
|
|
}
|
|
func (m *DeleteRuntimesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteRuntimesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteRuntimesResponse proto.InternalMessageInfo
|
|
|
|
func (m *DeleteRuntimesResponse) GetRuntimeId() []string {
|
|
if m != nil {
|
|
return m.RuntimeId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateRuntimeCredentialRequest struct {
|
|
// required, runtime url
|
|
RuntimeUrl *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_url,json=runtimeUrl,proto3" json:"runtime_url,omitempty"`
|
|
// required, runtime credential content, a json file
|
|
RuntimeCredentialContent *wrappers.StringValue `protobuf:"bytes,2,opt,name=runtime_credential_content,json=runtimeCredentialContent,proto3" json:"runtime_credential_content,omitempty"`
|
|
// required, runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
|
|
Provider *wrappers.StringValue `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
// runtime credential name
|
|
Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
// runtime credential description
|
|
Description *wrappers.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
|
|
// for kubesphere only, if provider this value means upsert this record
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,10,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialRequest) Reset() { *m = CreateRuntimeCredentialRequest{} }
|
|
func (m *CreateRuntimeCredentialRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateRuntimeCredentialRequest) ProtoMessage() {}
|
|
func (*CreateRuntimeCredentialRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{12}
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateRuntimeCredentialRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateRuntimeCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateRuntimeCredentialRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateRuntimeCredentialRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateRuntimeCredentialRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateRuntimeCredentialRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateRuntimeCredentialRequest.Size(m)
|
|
}
|
|
func (m *CreateRuntimeCredentialRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateRuntimeCredentialRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateRuntimeCredentialRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateRuntimeCredentialRequest) GetRuntimeUrl() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialRequest) GetRuntimeCredentialContent() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialRequest) GetProvider() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Provider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialRequest) GetName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialRequest) GetDescription() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialRequest) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateRuntimeCredentialResponse struct {
|
|
// id of runtime credential created
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialResponse) Reset() { *m = CreateRuntimeCredentialResponse{} }
|
|
func (m *CreateRuntimeCredentialResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateRuntimeCredentialResponse) ProtoMessage() {}
|
|
func (*CreateRuntimeCredentialResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{13}
|
|
}
|
|
|
|
func (m *CreateRuntimeCredentialResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateRuntimeCredentialResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateRuntimeCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateRuntimeCredentialResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateRuntimeCredentialResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateRuntimeCredentialResponse.Merge(m, src)
|
|
}
|
|
func (m *CreateRuntimeCredentialResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CreateRuntimeCredentialResponse.Size(m)
|
|
}
|
|
func (m *CreateRuntimeCredentialResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateRuntimeCredentialResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateRuntimeCredentialResponse proto.InternalMessageInfo
|
|
|
|
func (m *CreateRuntimeCredentialResponse) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidateRuntimeCredentialRequest struct {
|
|
// required, runtime url
|
|
RuntimeUrl *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_url,json=runtimeUrl,proto3" json:"runtime_url,omitempty"`
|
|
// required, runtime url
|
|
RuntimeCredentialContent *wrappers.StringValue `protobuf:"bytes,2,opt,name=runtime_credential_content,json=runtimeCredentialContent,proto3" json:"runtime_credential_content,omitempty"`
|
|
// required, runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
|
|
Provider *wrappers.StringValue `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidateRuntimeCredentialRequest) Reset() { *m = ValidateRuntimeCredentialRequest{} }
|
|
func (m *ValidateRuntimeCredentialRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidateRuntimeCredentialRequest) ProtoMessage() {}
|
|
func (*ValidateRuntimeCredentialRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{14}
|
|
}
|
|
|
|
func (m *ValidateRuntimeCredentialRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidateRuntimeCredentialRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidateRuntimeCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidateRuntimeCredentialRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidateRuntimeCredentialRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidateRuntimeCredentialRequest.Merge(m, src)
|
|
}
|
|
func (m *ValidateRuntimeCredentialRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ValidateRuntimeCredentialRequest.Size(m)
|
|
}
|
|
func (m *ValidateRuntimeCredentialRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidateRuntimeCredentialRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidateRuntimeCredentialRequest proto.InternalMessageInfo
|
|
|
|
func (m *ValidateRuntimeCredentialRequest) GetRuntimeUrl() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ValidateRuntimeCredentialRequest) GetRuntimeCredentialContent() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ValidateRuntimeCredentialRequest) GetProvider() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Provider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidateRuntimeCredentialResponse struct {
|
|
// validte ok or not
|
|
Ok *wrappers.BoolValue `protobuf:"bytes,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidateRuntimeCredentialResponse) Reset() { *m = ValidateRuntimeCredentialResponse{} }
|
|
func (m *ValidateRuntimeCredentialResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidateRuntimeCredentialResponse) ProtoMessage() {}
|
|
func (*ValidateRuntimeCredentialResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{15}
|
|
}
|
|
|
|
func (m *ValidateRuntimeCredentialResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidateRuntimeCredentialResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidateRuntimeCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidateRuntimeCredentialResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidateRuntimeCredentialResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidateRuntimeCredentialResponse.Merge(m, src)
|
|
}
|
|
func (m *ValidateRuntimeCredentialResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ValidateRuntimeCredentialResponse.Size(m)
|
|
}
|
|
func (m *ValidateRuntimeCredentialResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidateRuntimeCredentialResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidateRuntimeCredentialResponse proto.InternalMessageInfo
|
|
|
|
func (m *ValidateRuntimeCredentialResponse) GetOk() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.Ok
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeRuntimeCredentialsRequest struct {
|
|
// query key
|
|
SearchWord *wrappers.StringValue `protobuf:"bytes,1,opt,name=search_word,json=searchWord,proto3" json:"search_word,omitempty"`
|
|
// sort key, order by sort_key, default create_time
|
|
SortKey *wrappers.StringValue `protobuf:"bytes,2,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
|
|
// value = 0 sort ASC, value = 1 sort DESC
|
|
Reverse *wrappers.BoolValue `protobuf:"bytes,3,opt,name=reverse,proto3" json:"reverse,omitempty"`
|
|
// data limit per page, default value 20, max value 200
|
|
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
// data offset, default 0
|
|
Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
// select columns to display
|
|
DisplayColumns []string `protobuf:"bytes,6,rep,name=display_columns,json=displayColumns,proto3" json:"display_columns,omitempty"`
|
|
// runtime credential ids
|
|
RuntimeCredentialId []string `protobuf:"bytes,11,rep,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
// status eg.[active|deleted]
|
|
Status []string `protobuf:"bytes,12,rep,name=status,proto3" json:"status,omitempty"`
|
|
// runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
|
|
Provider []string `protobuf:"bytes,13,rep,name=provider,proto3" json:"provider,omitempty"`
|
|
// owner
|
|
Owner []string `protobuf:"bytes,14,rep,name=owner,proto3" json:"owner,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) Reset() { *m = DescribeRuntimeCredentialsRequest{} }
|
|
func (m *DescribeRuntimeCredentialsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeRuntimeCredentialsRequest) ProtoMessage() {}
|
|
func (*DescribeRuntimeCredentialsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{16}
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeRuntimeCredentialsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeRuntimeCredentialsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeRuntimeCredentialsRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeRuntimeCredentialsRequest.Size(m)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeRuntimeCredentialsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeRuntimeCredentialsRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetSearchWord() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.SearchWord
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetSortKey() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.SortKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetReverse() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.Reverse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetLimit() uint32 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetOffset() uint32 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetDisplayColumns() []string {
|
|
if m != nil {
|
|
return m.DisplayColumns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetRuntimeCredentialId() []string {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetStatus() []string {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetProvider() []string {
|
|
if m != nil {
|
|
return m.Provider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsRequest) GetOwner() []string {
|
|
if m != nil {
|
|
return m.Owner
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeRuntimeCredentialsResponse struct {
|
|
// total count of runtime credential
|
|
TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
|
// list of runtime credential
|
|
RuntimeCredentialSet []*RuntimeCredential `protobuf:"bytes,2,rep,name=runtime_credential_set,json=runtimeCredentialSet,proto3" json:"runtime_credential_set,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsResponse) Reset() { *m = DescribeRuntimeCredentialsResponse{} }
|
|
func (m *DescribeRuntimeCredentialsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeRuntimeCredentialsResponse) ProtoMessage() {}
|
|
func (*DescribeRuntimeCredentialsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{17}
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeRuntimeCredentialsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeRuntimeCredentialsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeRuntimeCredentialsResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeRuntimeCredentialsResponse.Size(m)
|
|
}
|
|
func (m *DescribeRuntimeCredentialsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeRuntimeCredentialsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeRuntimeCredentialsResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeRuntimeCredentialsResponse) GetTotalCount() uint32 {
|
|
if m != nil {
|
|
return m.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeRuntimeCredentialsResponse) GetRuntimeCredentialSet() []*RuntimeCredential {
|
|
if m != nil {
|
|
return m.RuntimeCredentialSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ModifyRuntimeCredentialRequest struct {
|
|
// required, id of runtime credential to modify
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
// runtime credential name
|
|
Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// runtime credential description
|
|
Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
// runtime credential content, a json file
|
|
RuntimeCredentialContent *wrappers.StringValue `protobuf:"bytes,4,opt,name=runtime_credential_content,json=runtimeCredentialContent,proto3" json:"runtime_credential_content,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModifyRuntimeCredentialRequest) Reset() { *m = ModifyRuntimeCredentialRequest{} }
|
|
func (m *ModifyRuntimeCredentialRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ModifyRuntimeCredentialRequest) ProtoMessage() {}
|
|
func (*ModifyRuntimeCredentialRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{18}
|
|
}
|
|
|
|
func (m *ModifyRuntimeCredentialRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModifyRuntimeCredentialRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ModifyRuntimeCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModifyRuntimeCredentialRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModifyRuntimeCredentialRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModifyRuntimeCredentialRequest.Merge(m, src)
|
|
}
|
|
func (m *ModifyRuntimeCredentialRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ModifyRuntimeCredentialRequest.Size(m)
|
|
}
|
|
func (m *ModifyRuntimeCredentialRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModifyRuntimeCredentialRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModifyRuntimeCredentialRequest proto.InternalMessageInfo
|
|
|
|
func (m *ModifyRuntimeCredentialRequest) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModifyRuntimeCredentialRequest) GetName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModifyRuntimeCredentialRequest) GetDescription() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModifyRuntimeCredentialRequest) GetRuntimeCredentialContent() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ModifyRuntimeCredentialResponse struct {
|
|
// id of runtime credential modified
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModifyRuntimeCredentialResponse) Reset() { *m = ModifyRuntimeCredentialResponse{} }
|
|
func (m *ModifyRuntimeCredentialResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ModifyRuntimeCredentialResponse) ProtoMessage() {}
|
|
func (*ModifyRuntimeCredentialResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{19}
|
|
}
|
|
|
|
func (m *ModifyRuntimeCredentialResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModifyRuntimeCredentialResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ModifyRuntimeCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModifyRuntimeCredentialResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModifyRuntimeCredentialResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModifyRuntimeCredentialResponse.Merge(m, src)
|
|
}
|
|
func (m *ModifyRuntimeCredentialResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ModifyRuntimeCredentialResponse.Size(m)
|
|
}
|
|
func (m *ModifyRuntimeCredentialResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModifyRuntimeCredentialResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModifyRuntimeCredentialResponse proto.InternalMessageInfo
|
|
|
|
func (m *ModifyRuntimeCredentialResponse) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteRuntimeCredentialsRequest struct {
|
|
// required, ids of runtime credential to delete
|
|
RuntimeCredentialId []string `protobuf:"bytes,1,rep,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteRuntimeCredentialsRequest) Reset() { *m = DeleteRuntimeCredentialsRequest{} }
|
|
func (m *DeleteRuntimeCredentialsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteRuntimeCredentialsRequest) ProtoMessage() {}
|
|
func (*DeleteRuntimeCredentialsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{20}
|
|
}
|
|
|
|
func (m *DeleteRuntimeCredentialsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteRuntimeCredentialsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteRuntimeCredentialsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteRuntimeCredentialsRequest.Merge(m, src)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteRuntimeCredentialsRequest.Size(m)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteRuntimeCredentialsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteRuntimeCredentialsRequest proto.InternalMessageInfo
|
|
|
|
func (m *DeleteRuntimeCredentialsRequest) GetRuntimeCredentialId() []string {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteRuntimeCredentialsResponse struct {
|
|
// ids of runtime credential deleted
|
|
RuntimeCredentialId []string `protobuf:"bytes,1,rep,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteRuntimeCredentialsResponse) Reset() { *m = DeleteRuntimeCredentialsResponse{} }
|
|
func (m *DeleteRuntimeCredentialsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteRuntimeCredentialsResponse) ProtoMessage() {}
|
|
func (*DeleteRuntimeCredentialsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{21}
|
|
}
|
|
|
|
func (m *DeleteRuntimeCredentialsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteRuntimeCredentialsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteRuntimeCredentialsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteRuntimeCredentialsResponse.Merge(m, src)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteRuntimeCredentialsResponse.Size(m)
|
|
}
|
|
func (m *DeleteRuntimeCredentialsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteRuntimeCredentialsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteRuntimeCredentialsResponse proto.InternalMessageInfo
|
|
|
|
func (m *DeleteRuntimeCredentialsResponse) GetRuntimeCredentialId() []string {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeRuntimeProviderZonesRequest struct {
|
|
// required, use runtime credential id to get run time provider zones
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeRuntimeProviderZonesRequest) Reset() { *m = DescribeRuntimeProviderZonesRequest{} }
|
|
func (m *DescribeRuntimeProviderZonesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeRuntimeProviderZonesRequest) ProtoMessage() {}
|
|
func (*DescribeRuntimeProviderZonesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{22}
|
|
}
|
|
|
|
func (m *DescribeRuntimeProviderZonesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeRuntimeProviderZonesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeRuntimeProviderZonesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeRuntimeProviderZonesRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeRuntimeProviderZonesRequest.Size(m)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeRuntimeProviderZonesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeRuntimeProviderZonesRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeRuntimeProviderZonesRequest) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeRuntimeProviderZonesResponse struct {
|
|
// runtime credential id
|
|
RuntimeCredentialId *wrappers.StringValue `protobuf:"bytes,1,opt,name=runtime_credential_id,json=runtimeCredentialId,proto3" json:"runtime_credential_id,omitempty"`
|
|
// list of zone
|
|
Zone []string `protobuf:"bytes,2,rep,name=zone,proto3" json:"zone,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeRuntimeProviderZonesResponse) Reset() { *m = DescribeRuntimeProviderZonesResponse{} }
|
|
func (m *DescribeRuntimeProviderZonesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeRuntimeProviderZonesResponse) ProtoMessage() {}
|
|
func (*DescribeRuntimeProviderZonesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{23}
|
|
}
|
|
|
|
func (m *DescribeRuntimeProviderZonesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeRuntimeProviderZonesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeRuntimeProviderZonesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeRuntimeProviderZonesResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeRuntimeProviderZonesResponse.Size(m)
|
|
}
|
|
func (m *DescribeRuntimeProviderZonesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeRuntimeProviderZonesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeRuntimeProviderZonesResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeRuntimeProviderZonesResponse) GetRuntimeCredentialId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RuntimeCredentialId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeRuntimeProviderZonesResponse) GetZone() []string {
|
|
if m != nil {
|
|
return m.Zone
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetRuntimeStatisticsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetRuntimeStatisticsRequest) Reset() { *m = GetRuntimeStatisticsRequest{} }
|
|
func (m *GetRuntimeStatisticsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetRuntimeStatisticsRequest) ProtoMessage() {}
|
|
func (*GetRuntimeStatisticsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{24}
|
|
}
|
|
|
|
func (m *GetRuntimeStatisticsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetRuntimeStatisticsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetRuntimeStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetRuntimeStatisticsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetRuntimeStatisticsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetRuntimeStatisticsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetRuntimeStatisticsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetRuntimeStatisticsRequest.Size(m)
|
|
}
|
|
func (m *GetRuntimeStatisticsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetRuntimeStatisticsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetRuntimeStatisticsRequest proto.InternalMessageInfo
|
|
|
|
type GetRuntimeStatisticsResponse struct {
|
|
// runtime create time range map to runtime count, max length is 14
|
|
LastTwoWeekCreated map[string]uint32 `protobuf:"bytes,1,rep,name=last_two_week_created,json=lastTwoWeekCreated,proto3" json:"last_two_week_created,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
// provider id map to runtime count, max length is 10
|
|
TopTenProviders map[string]uint32 `protobuf:"bytes,2,rep,name=top_ten_providers,json=topTenProviders,proto3" json:"top_ten_providers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
// total count of runtime
|
|
RuntimeCount uint32 `protobuf:"varint,3,opt,name=runtime_count,json=runtimeCount,proto3" json:"runtime_count,omitempty"`
|
|
// total count of provider
|
|
ProviderCount uint32 `protobuf:"varint,4,opt,name=provider_count,json=providerCount,proto3" json:"provider_count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetRuntimeStatisticsResponse) Reset() { *m = GetRuntimeStatisticsResponse{} }
|
|
func (m *GetRuntimeStatisticsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetRuntimeStatisticsResponse) ProtoMessage() {}
|
|
func (*GetRuntimeStatisticsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_86e2dd377c869464, []int{25}
|
|
}
|
|
|
|
func (m *GetRuntimeStatisticsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetRuntimeStatisticsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetRuntimeStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetRuntimeStatisticsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetRuntimeStatisticsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetRuntimeStatisticsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetRuntimeStatisticsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetRuntimeStatisticsResponse.Size(m)
|
|
}
|
|
func (m *GetRuntimeStatisticsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetRuntimeStatisticsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetRuntimeStatisticsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetRuntimeStatisticsResponse) GetLastTwoWeekCreated() map[string]uint32 {
|
|
if m != nil {
|
|
return m.LastTwoWeekCreated
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetRuntimeStatisticsResponse) GetTopTenProviders() map[string]uint32 {
|
|
if m != nil {
|
|
return m.TopTenProviders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetRuntimeStatisticsResponse) GetRuntimeCount() uint32 {
|
|
if m != nil {
|
|
return m.RuntimeCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetRuntimeStatisticsResponse) GetProviderCount() uint32 {
|
|
if m != nil {
|
|
return m.ProviderCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RuntimeCredential)(nil), "openpitrix.RuntimeCredential")
|
|
proto.RegisterType((*Runtime)(nil), "openpitrix.Runtime")
|
|
proto.RegisterType((*RuntimeDetail)(nil), "openpitrix.RuntimeDetail")
|
|
proto.RegisterType((*CreateRuntimeRequest)(nil), "openpitrix.CreateRuntimeRequest")
|
|
proto.RegisterType((*CreateRuntimeResponse)(nil), "openpitrix.CreateRuntimeResponse")
|
|
proto.RegisterType((*DescribeRuntimesRequest)(nil), "openpitrix.DescribeRuntimesRequest")
|
|
proto.RegisterType((*DescribeRuntimesResponse)(nil), "openpitrix.DescribeRuntimesResponse")
|
|
proto.RegisterType((*DescribeRuntimeDetailsResponse)(nil), "openpitrix.DescribeRuntimeDetailsResponse")
|
|
proto.RegisterType((*ModifyRuntimeRequest)(nil), "openpitrix.ModifyRuntimeRequest")
|
|
proto.RegisterType((*ModifyRuntimeResponse)(nil), "openpitrix.ModifyRuntimeResponse")
|
|
proto.RegisterType((*DeleteRuntimesRequest)(nil), "openpitrix.DeleteRuntimesRequest")
|
|
proto.RegisterType((*DeleteRuntimesResponse)(nil), "openpitrix.DeleteRuntimesResponse")
|
|
proto.RegisterType((*CreateRuntimeCredentialRequest)(nil), "openpitrix.CreateRuntimeCredentialRequest")
|
|
proto.RegisterType((*CreateRuntimeCredentialResponse)(nil), "openpitrix.CreateRuntimeCredentialResponse")
|
|
proto.RegisterType((*ValidateRuntimeCredentialRequest)(nil), "openpitrix.ValidateRuntimeCredentialRequest")
|
|
proto.RegisterType((*ValidateRuntimeCredentialResponse)(nil), "openpitrix.ValidateRuntimeCredentialResponse")
|
|
proto.RegisterType((*DescribeRuntimeCredentialsRequest)(nil), "openpitrix.DescribeRuntimeCredentialsRequest")
|
|
proto.RegisterType((*DescribeRuntimeCredentialsResponse)(nil), "openpitrix.DescribeRuntimeCredentialsResponse")
|
|
proto.RegisterType((*ModifyRuntimeCredentialRequest)(nil), "openpitrix.ModifyRuntimeCredentialRequest")
|
|
proto.RegisterType((*ModifyRuntimeCredentialResponse)(nil), "openpitrix.ModifyRuntimeCredentialResponse")
|
|
proto.RegisterType((*DeleteRuntimeCredentialsRequest)(nil), "openpitrix.DeleteRuntimeCredentialsRequest")
|
|
proto.RegisterType((*DeleteRuntimeCredentialsResponse)(nil), "openpitrix.DeleteRuntimeCredentialsResponse")
|
|
proto.RegisterType((*DescribeRuntimeProviderZonesRequest)(nil), "openpitrix.DescribeRuntimeProviderZonesRequest")
|
|
proto.RegisterType((*DescribeRuntimeProviderZonesResponse)(nil), "openpitrix.DescribeRuntimeProviderZonesResponse")
|
|
proto.RegisterType((*GetRuntimeStatisticsRequest)(nil), "openpitrix.GetRuntimeStatisticsRequest")
|
|
proto.RegisterType((*GetRuntimeStatisticsResponse)(nil), "openpitrix.GetRuntimeStatisticsResponse")
|
|
proto.RegisterMapType((map[string]uint32)(nil), "openpitrix.GetRuntimeStatisticsResponse.LastTwoWeekCreatedEntry")
|
|
proto.RegisterMapType((map[string]uint32)(nil), "openpitrix.GetRuntimeStatisticsResponse.TopTenProvidersEntry")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("runtime.proto", fileDescriptor_86e2dd377c869464) }
|
|
|
|
var fileDescriptor_86e2dd377c869464 = []byte{
|
|
// 1934 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x1c, 0x49,
|
|
0x15, 0x57, 0xcf, 0x78, 0xec, 0xf8, 0x8d, 0xc7, 0x89, 0x6b, 0x1d, 0xbb, 0xd3, 0xf1, 0x47, 0xbb,
|
|
0xb3, 0xb0, 0xc1, 0x19, 0xdb, 0x61, 0x88, 0xd8, 0x65, 0x57, 0x41, 0x4c, 0x9c, 0x55, 0x40, 0x24,
|
|
0x22, 0x1a, 0x7b, 0xb3, 0x52, 0x2e, 0xa3, 0xf6, 0x4c, 0xcd, 0xb8, 0xe5, 0x76, 0xd7, 0x6c, 0x75,
|
|
0x8d, 0x07, 0x73, 0x40, 0x2b, 0x96, 0x0b, 0x6c, 0x2e, 0x0c, 0x42, 0x20, 0x0e, 0x1c, 0x11, 0x27,
|
|
0xc4, 0x05, 0x21, 0x04, 0x12, 0x08, 0x09, 0x24, 0xce, 0x88, 0xff, 0x80, 0x1b, 0x7f, 0x00, 0x47,
|
|
0x50, 0x57, 0x55, 0x7b, 0xfa, 0x7b, 0xda, 0xf6, 0x24, 0x08, 0x76, 0x4f, 0xf1, 0x74, 0xbd, 0x57,
|
|
0xf5, 0xbe, 0x7e, 0xbf, 0x7a, 0xaf, 0x02, 0x15, 0xda, 0x77, 0x98, 0x75, 0x8c, 0xb7, 0x7b, 0x94,
|
|
0x30, 0x82, 0x80, 0xf4, 0xb0, 0xd3, 0xb3, 0x18, 0xb5, 0xbe, 0xa9, 0xad, 0x75, 0x09, 0xe9, 0xda,
|
|
0x78, 0x87, 0xaf, 0x1c, 0xf4, 0x3b, 0x3b, 0x03, 0x6a, 0xf6, 0x7a, 0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 0x7e, 0xe1,
|
|
0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x13, 0x03, 0x48, 0xff, 0x46, 0x25, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// RuntimeManagerClient is the client API for RuntimeManager service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type RuntimeManagerClient interface {
|
|
// create runtime
|
|
CreateRuntime(ctx context.Context, in *CreateRuntimeRequest, opts ...grpc.CallOption) (*CreateRuntimeResponse, error)
|
|
// create debug runtime
|
|
CreateDebugRuntime(ctx context.Context, in *CreateRuntimeRequest, opts ...grpc.CallOption) (*CreateRuntimeResponse, error)
|
|
DescribeRuntimeDetails(ctx context.Context, in *DescribeRuntimesRequest, opts ...grpc.CallOption) (*DescribeRuntimeDetailsResponse, error)
|
|
// Get runtimes, can filter with these fields(runtime_id, provider, zone, status, owner), default return all runtimes
|
|
DescribeRuntimes(ctx context.Context, in *DescribeRuntimesRequest, opts ...grpc.CallOption) (*DescribeRuntimesResponse, error)
|
|
// Get debug runtimes, can filter with these fields(runtime_id, provider, zone, status, owner), default return all debug runtimes
|
|
DescribeDebugRuntimes(ctx context.Context, in *DescribeRuntimesRequest, opts ...grpc.CallOption) (*DescribeRuntimesResponse, error)
|
|
// Modify runtime
|
|
ModifyRuntime(ctx context.Context, in *ModifyRuntimeRequest, opts ...grpc.CallOption) (*ModifyRuntimeResponse, error)
|
|
// Batch delete runtimes
|
|
DeleteRuntimes(ctx context.Context, in *DeleteRuntimesRequest, opts ...grpc.CallOption) (*DeleteRuntimesResponse, error)
|
|
// Create runtime credential
|
|
CreateRuntimeCredential(ctx context.Context, in *CreateRuntimeCredentialRequest, opts ...grpc.CallOption) (*CreateRuntimeCredentialResponse, error)
|
|
// Create debug runtime credential
|
|
CreateDebugRuntimeCredential(ctx context.Context, in *CreateRuntimeCredentialRequest, opts ...grpc.CallOption) (*CreateRuntimeCredentialResponse, error)
|
|
// Get runtime credentials, filter with these fields(runtime_credential_id, status, provider, owner), default return all runtime credentials
|
|
DescribeRuntimeCredentials(ctx context.Context, in *DescribeRuntimeCredentialsRequest, opts ...grpc.CallOption) (*DescribeRuntimeCredentialsResponse, error)
|
|
// Get debug runtime credentials, filter with these fields(runtime_credential_id, status, provider, owner), default return all debug runtime credentials
|
|
DescribeDebugRuntimeCredentials(ctx context.Context, in *DescribeRuntimeCredentialsRequest, opts ...grpc.CallOption) (*DescribeRuntimeCredentialsResponse, error)
|
|
// Modify runtime credential
|
|
ModifyRuntimeCredential(ctx context.Context, in *ModifyRuntimeCredentialRequest, opts ...grpc.CallOption) (*ModifyRuntimeCredentialResponse, error)
|
|
// Batch delete runtime credentials
|
|
DeleteRuntimeCredentials(ctx context.Context, in *DeleteRuntimeCredentialsRequest, opts ...grpc.CallOption) (*DeleteRuntimeCredentialsResponse, error)
|
|
// Validate runtime credential
|
|
ValidateRuntimeCredential(ctx context.Context, in *ValidateRuntimeCredentialRequest, opts ...grpc.CallOption) (*ValidateRuntimeCredentialResponse, error)
|
|
// Get runtime provider zones
|
|
DescribeRuntimeProviderZones(ctx context.Context, in *DescribeRuntimeProviderZonesRequest, opts ...grpc.CallOption) (*DescribeRuntimeProviderZonesResponse, error)
|
|
// Get statistics of runtime
|
|
GetRuntimeStatistics(ctx context.Context, in *GetRuntimeStatisticsRequest, opts ...grpc.CallOption) (*GetRuntimeStatisticsResponse, error)
|
|
}
|
|
|
|
type runtimeManagerClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewRuntimeManagerClient(cc *grpc.ClientConn) RuntimeManagerClient {
|
|
return &runtimeManagerClient{cc}
|
|
}
|
|
|
|
func (c *runtimeManagerClient) CreateRuntime(ctx context.Context, in *CreateRuntimeRequest, opts ...grpc.CallOption) (*CreateRuntimeResponse, error) {
|
|
out := new(CreateRuntimeResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/CreateRuntime", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) CreateDebugRuntime(ctx context.Context, in *CreateRuntimeRequest, opts ...grpc.CallOption) (*CreateRuntimeResponse, error) {
|
|
out := new(CreateRuntimeResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/CreateDebugRuntime", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DescribeRuntimeDetails(ctx context.Context, in *DescribeRuntimesRequest, opts ...grpc.CallOption) (*DescribeRuntimeDetailsResponse, error) {
|
|
out := new(DescribeRuntimeDetailsResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DescribeRuntimeDetails", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DescribeRuntimes(ctx context.Context, in *DescribeRuntimesRequest, opts ...grpc.CallOption) (*DescribeRuntimesResponse, error) {
|
|
out := new(DescribeRuntimesResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DescribeRuntimes", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DescribeDebugRuntimes(ctx context.Context, in *DescribeRuntimesRequest, opts ...grpc.CallOption) (*DescribeRuntimesResponse, error) {
|
|
out := new(DescribeRuntimesResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DescribeDebugRuntimes", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) ModifyRuntime(ctx context.Context, in *ModifyRuntimeRequest, opts ...grpc.CallOption) (*ModifyRuntimeResponse, error) {
|
|
out := new(ModifyRuntimeResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/ModifyRuntime", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DeleteRuntimes(ctx context.Context, in *DeleteRuntimesRequest, opts ...grpc.CallOption) (*DeleteRuntimesResponse, error) {
|
|
out := new(DeleteRuntimesResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DeleteRuntimes", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) CreateRuntimeCredential(ctx context.Context, in *CreateRuntimeCredentialRequest, opts ...grpc.CallOption) (*CreateRuntimeCredentialResponse, error) {
|
|
out := new(CreateRuntimeCredentialResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/CreateRuntimeCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) CreateDebugRuntimeCredential(ctx context.Context, in *CreateRuntimeCredentialRequest, opts ...grpc.CallOption) (*CreateRuntimeCredentialResponse, error) {
|
|
out := new(CreateRuntimeCredentialResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/CreateDebugRuntimeCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DescribeRuntimeCredentials(ctx context.Context, in *DescribeRuntimeCredentialsRequest, opts ...grpc.CallOption) (*DescribeRuntimeCredentialsResponse, error) {
|
|
out := new(DescribeRuntimeCredentialsResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DescribeRuntimeCredentials", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DescribeDebugRuntimeCredentials(ctx context.Context, in *DescribeRuntimeCredentialsRequest, opts ...grpc.CallOption) (*DescribeRuntimeCredentialsResponse, error) {
|
|
out := new(DescribeRuntimeCredentialsResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DescribeDebugRuntimeCredentials", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) ModifyRuntimeCredential(ctx context.Context, in *ModifyRuntimeCredentialRequest, opts ...grpc.CallOption) (*ModifyRuntimeCredentialResponse, error) {
|
|
out := new(ModifyRuntimeCredentialResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/ModifyRuntimeCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DeleteRuntimeCredentials(ctx context.Context, in *DeleteRuntimeCredentialsRequest, opts ...grpc.CallOption) (*DeleteRuntimeCredentialsResponse, error) {
|
|
out := new(DeleteRuntimeCredentialsResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DeleteRuntimeCredentials", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) ValidateRuntimeCredential(ctx context.Context, in *ValidateRuntimeCredentialRequest, opts ...grpc.CallOption) (*ValidateRuntimeCredentialResponse, error) {
|
|
out := new(ValidateRuntimeCredentialResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/ValidateRuntimeCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) DescribeRuntimeProviderZones(ctx context.Context, in *DescribeRuntimeProviderZonesRequest, opts ...grpc.CallOption) (*DescribeRuntimeProviderZonesResponse, error) {
|
|
out := new(DescribeRuntimeProviderZonesResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/DescribeRuntimeProviderZones", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *runtimeManagerClient) GetRuntimeStatistics(ctx context.Context, in *GetRuntimeStatisticsRequest, opts ...grpc.CallOption) (*GetRuntimeStatisticsResponse, error) {
|
|
out := new(GetRuntimeStatisticsResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.RuntimeManager/GetRuntimeStatistics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// RuntimeManagerServer is the server API for RuntimeManager service.
|
|
type RuntimeManagerServer interface {
|
|
// create runtime
|
|
CreateRuntime(context.Context, *CreateRuntimeRequest) (*CreateRuntimeResponse, error)
|
|
// create debug runtime
|
|
CreateDebugRuntime(context.Context, *CreateRuntimeRequest) (*CreateRuntimeResponse, error)
|
|
DescribeRuntimeDetails(context.Context, *DescribeRuntimesRequest) (*DescribeRuntimeDetailsResponse, error)
|
|
// Get runtimes, can filter with these fields(runtime_id, provider, zone, status, owner), default return all runtimes
|
|
DescribeRuntimes(context.Context, *DescribeRuntimesRequest) (*DescribeRuntimesResponse, error)
|
|
// Get debug runtimes, can filter with these fields(runtime_id, provider, zone, status, owner), default return all debug runtimes
|
|
DescribeDebugRuntimes(context.Context, *DescribeRuntimesRequest) (*DescribeRuntimesResponse, error)
|
|
// Modify runtime
|
|
ModifyRuntime(context.Context, *ModifyRuntimeRequest) (*ModifyRuntimeResponse, error)
|
|
// Batch delete runtimes
|
|
DeleteRuntimes(context.Context, *DeleteRuntimesRequest) (*DeleteRuntimesResponse, error)
|
|
// Create runtime credential
|
|
CreateRuntimeCredential(context.Context, *CreateRuntimeCredentialRequest) (*CreateRuntimeCredentialResponse, error)
|
|
// Create debug runtime credential
|
|
CreateDebugRuntimeCredential(context.Context, *CreateRuntimeCredentialRequest) (*CreateRuntimeCredentialResponse, error)
|
|
// Get runtime credentials, filter with these fields(runtime_credential_id, status, provider, owner), default return all runtime credentials
|
|
DescribeRuntimeCredentials(context.Context, *DescribeRuntimeCredentialsRequest) (*DescribeRuntimeCredentialsResponse, error)
|
|
// Get debug runtime credentials, filter with these fields(runtime_credential_id, status, provider, owner), default return all debug runtime credentials
|
|
DescribeDebugRuntimeCredentials(context.Context, *DescribeRuntimeCredentialsRequest) (*DescribeRuntimeCredentialsResponse, error)
|
|
// Modify runtime credential
|
|
ModifyRuntimeCredential(context.Context, *ModifyRuntimeCredentialRequest) (*ModifyRuntimeCredentialResponse, error)
|
|
// Batch delete runtime credentials
|
|
DeleteRuntimeCredentials(context.Context, *DeleteRuntimeCredentialsRequest) (*DeleteRuntimeCredentialsResponse, error)
|
|
// Validate runtime credential
|
|
ValidateRuntimeCredential(context.Context, *ValidateRuntimeCredentialRequest) (*ValidateRuntimeCredentialResponse, error)
|
|
// Get runtime provider zones
|
|
DescribeRuntimeProviderZones(context.Context, *DescribeRuntimeProviderZonesRequest) (*DescribeRuntimeProviderZonesResponse, error)
|
|
// Get statistics of runtime
|
|
GetRuntimeStatistics(context.Context, *GetRuntimeStatisticsRequest) (*GetRuntimeStatisticsResponse, error)
|
|
}
|
|
|
|
// UnimplementedRuntimeManagerServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedRuntimeManagerServer struct {
|
|
}
|
|
|
|
func (*UnimplementedRuntimeManagerServer) CreateRuntime(ctx context.Context, req *CreateRuntimeRequest) (*CreateRuntimeResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateRuntime not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) CreateDebugRuntime(ctx context.Context, req *CreateRuntimeRequest) (*CreateRuntimeResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateDebugRuntime not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DescribeRuntimeDetails(ctx context.Context, req *DescribeRuntimesRequest) (*DescribeRuntimeDetailsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeRuntimeDetails not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DescribeRuntimes(ctx context.Context, req *DescribeRuntimesRequest) (*DescribeRuntimesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeRuntimes not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DescribeDebugRuntimes(ctx context.Context, req *DescribeRuntimesRequest) (*DescribeRuntimesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeDebugRuntimes not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) ModifyRuntime(ctx context.Context, req *ModifyRuntimeRequest) (*ModifyRuntimeResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ModifyRuntime not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DeleteRuntimes(ctx context.Context, req *DeleteRuntimesRequest) (*DeleteRuntimesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteRuntimes not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) CreateRuntimeCredential(ctx context.Context, req *CreateRuntimeCredentialRequest) (*CreateRuntimeCredentialResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateRuntimeCredential not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) CreateDebugRuntimeCredential(ctx context.Context, req *CreateRuntimeCredentialRequest) (*CreateRuntimeCredentialResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateDebugRuntimeCredential not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DescribeRuntimeCredentials(ctx context.Context, req *DescribeRuntimeCredentialsRequest) (*DescribeRuntimeCredentialsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeRuntimeCredentials not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DescribeDebugRuntimeCredentials(ctx context.Context, req *DescribeRuntimeCredentialsRequest) (*DescribeRuntimeCredentialsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeDebugRuntimeCredentials not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) ModifyRuntimeCredential(ctx context.Context, req *ModifyRuntimeCredentialRequest) (*ModifyRuntimeCredentialResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ModifyRuntimeCredential not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DeleteRuntimeCredentials(ctx context.Context, req *DeleteRuntimeCredentialsRequest) (*DeleteRuntimeCredentialsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteRuntimeCredentials not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) ValidateRuntimeCredential(ctx context.Context, req *ValidateRuntimeCredentialRequest) (*ValidateRuntimeCredentialResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValidateRuntimeCredential not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) DescribeRuntimeProviderZones(ctx context.Context, req *DescribeRuntimeProviderZonesRequest) (*DescribeRuntimeProviderZonesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeRuntimeProviderZones not implemented")
|
|
}
|
|
func (*UnimplementedRuntimeManagerServer) GetRuntimeStatistics(ctx context.Context, req *GetRuntimeStatisticsRequest) (*GetRuntimeStatisticsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetRuntimeStatistics not implemented")
|
|
}
|
|
|
|
func RegisterRuntimeManagerServer(s *grpc.Server, srv RuntimeManagerServer) {
|
|
s.RegisterService(&_RuntimeManager_serviceDesc, srv)
|
|
}
|
|
|
|
func _RuntimeManager_CreateRuntime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateRuntimeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).CreateRuntime(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/CreateRuntime",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).CreateRuntime(ctx, req.(*CreateRuntimeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_CreateDebugRuntime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateRuntimeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).CreateDebugRuntime(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/CreateDebugRuntime",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).CreateDebugRuntime(ctx, req.(*CreateRuntimeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DescribeRuntimeDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeRuntimesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimeDetails(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DescribeRuntimeDetails",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimeDetails(ctx, req.(*DescribeRuntimesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DescribeRuntimes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeRuntimesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimes(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DescribeRuntimes",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimes(ctx, req.(*DescribeRuntimesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DescribeDebugRuntimes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeRuntimesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DescribeDebugRuntimes(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DescribeDebugRuntimes",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DescribeDebugRuntimes(ctx, req.(*DescribeRuntimesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_ModifyRuntime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ModifyRuntimeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).ModifyRuntime(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/ModifyRuntime",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).ModifyRuntime(ctx, req.(*ModifyRuntimeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DeleteRuntimes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteRuntimesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DeleteRuntimes(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DeleteRuntimes",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DeleteRuntimes(ctx, req.(*DeleteRuntimesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_CreateRuntimeCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateRuntimeCredentialRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).CreateRuntimeCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/CreateRuntimeCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).CreateRuntimeCredential(ctx, req.(*CreateRuntimeCredentialRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_CreateDebugRuntimeCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateRuntimeCredentialRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).CreateDebugRuntimeCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/CreateDebugRuntimeCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).CreateDebugRuntimeCredential(ctx, req.(*CreateRuntimeCredentialRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DescribeRuntimeCredentials_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeRuntimeCredentialsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimeCredentials(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DescribeRuntimeCredentials",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimeCredentials(ctx, req.(*DescribeRuntimeCredentialsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DescribeDebugRuntimeCredentials_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeRuntimeCredentialsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DescribeDebugRuntimeCredentials(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DescribeDebugRuntimeCredentials",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DescribeDebugRuntimeCredentials(ctx, req.(*DescribeRuntimeCredentialsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_ModifyRuntimeCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ModifyRuntimeCredentialRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).ModifyRuntimeCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/ModifyRuntimeCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).ModifyRuntimeCredential(ctx, req.(*ModifyRuntimeCredentialRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DeleteRuntimeCredentials_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteRuntimeCredentialsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DeleteRuntimeCredentials(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DeleteRuntimeCredentials",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DeleteRuntimeCredentials(ctx, req.(*DeleteRuntimeCredentialsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_ValidateRuntimeCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ValidateRuntimeCredentialRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).ValidateRuntimeCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/ValidateRuntimeCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).ValidateRuntimeCredential(ctx, req.(*ValidateRuntimeCredentialRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_DescribeRuntimeProviderZones_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeRuntimeProviderZonesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimeProviderZones(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/DescribeRuntimeProviderZones",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).DescribeRuntimeProviderZones(ctx, req.(*DescribeRuntimeProviderZonesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RuntimeManager_GetRuntimeStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetRuntimeStatisticsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RuntimeManagerServer).GetRuntimeStatistics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.RuntimeManager/GetRuntimeStatistics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RuntimeManagerServer).GetRuntimeStatistics(ctx, req.(*GetRuntimeStatisticsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _RuntimeManager_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "openpitrix.RuntimeManager",
|
|
HandlerType: (*RuntimeManagerServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "CreateRuntime",
|
|
Handler: _RuntimeManager_CreateRuntime_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateDebugRuntime",
|
|
Handler: _RuntimeManager_CreateDebugRuntime_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeRuntimeDetails",
|
|
Handler: _RuntimeManager_DescribeRuntimeDetails_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeRuntimes",
|
|
Handler: _RuntimeManager_DescribeRuntimes_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeDebugRuntimes",
|
|
Handler: _RuntimeManager_DescribeDebugRuntimes_Handler,
|
|
},
|
|
{
|
|
MethodName: "ModifyRuntime",
|
|
Handler: _RuntimeManager_ModifyRuntime_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteRuntimes",
|
|
Handler: _RuntimeManager_DeleteRuntimes_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateRuntimeCredential",
|
|
Handler: _RuntimeManager_CreateRuntimeCredential_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateDebugRuntimeCredential",
|
|
Handler: _RuntimeManager_CreateDebugRuntimeCredential_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeRuntimeCredentials",
|
|
Handler: _RuntimeManager_DescribeRuntimeCredentials_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeDebugRuntimeCredentials",
|
|
Handler: _RuntimeManager_DescribeDebugRuntimeCredentials_Handler,
|
|
},
|
|
{
|
|
MethodName: "ModifyRuntimeCredential",
|
|
Handler: _RuntimeManager_ModifyRuntimeCredential_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteRuntimeCredentials",
|
|
Handler: _RuntimeManager_DeleteRuntimeCredentials_Handler,
|
|
},
|
|
{
|
|
MethodName: "ValidateRuntimeCredential",
|
|
Handler: _RuntimeManager_ValidateRuntimeCredential_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeRuntimeProviderZones",
|
|
Handler: _RuntimeManager_DescribeRuntimeProviderZones_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetRuntimeStatistics",
|
|
Handler: _RuntimeManager_GetRuntimeStatistics_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "runtime.proto",
|
|
}
|