Documentation
¶
Index ¶
- Variables
- func RegisterRuntimeServiceHandler(r http.Router, srv RuntimeServiceHandler, opts ...http.HandleOption)
- func RegisterRuntimeServiceImp(regester transport.Register, srv RuntimeServiceServer, ...)
- func RegisterRuntimeServiceServer(s grpc1.ServiceRegistrar, srv RuntimeServiceServer, opts ...grpc1.HandleOption)
- func RuntimeServiceClientType() reflect.Type
- func RuntimeServiceHandlerType() reflect.Type
- func RuntimeServiceServerType() reflect.Type
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type DelRuntimeRequest
- func (*DelRuntimeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DelRuntimeRequest) GetId() string
- func (m *DelRuntimeRequest) MarshalJSON() ([]byte, error)
- func (*DelRuntimeRequest) ProtoMessage()
- func (x *DelRuntimeRequest) ProtoReflect() protoreflect.Message
- func (x *DelRuntimeRequest) Reset()
- func (x *DelRuntimeRequest) String() string
- func (m *DelRuntimeRequest) UnmarshalJSON(b []byte) error
- func (m *DelRuntimeRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DelRuntimeRequest) Validate() error
- type Deployments
- func (*Deployments) Descriptor() ([]byte, []int)deprecated
- func (x *Deployments) GetReplicas() uint64
- func (m *Deployments) MarshalJSON() ([]byte, error)
- func (*Deployments) ProtoMessage()
- func (x *Deployments) ProtoReflect() protoreflect.Message
- func (x *Deployments) Reset()
- func (x *Deployments) String() string
- func (m *Deployments) UnmarshalJSON(b []byte) error
- func (m *Deployments) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Deployments) Validate() error
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResponse) GetCode() string
- func (x *ErrorResponse) GetCtx() string
- func (x *ErrorResponse) GetMsg() string
- func (m *ErrorResponse) MarshalJSON() ([]byte, error)
- func (*ErrorResponse) ProtoMessage()
- func (x *ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorResponse) Reset()
- func (x *ErrorResponse) String() string
- func (m *ErrorResponse) UnmarshalJSON(b []byte) error
- func (m *ErrorResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ErrorResponse) Validate() error
- type Extra
- func (*Extra) Descriptor() ([]byte, []int)deprecated
- func (x *Extra) GetApplicationID() uint64
- func (x *Extra) GetBuildID() uint64
- func (x *Extra) GetWorkspace() string
- func (m *Extra) MarshalJSON() ([]byte, error)
- func (*Extra) ProtoMessage()
- func (x *Extra) ProtoReflect() protoreflect.Message
- func (x *Extra) Reset()
- func (x *Extra) String() string
- func (m *Extra) UnmarshalJSON(b []byte) error
- func (m *Extra) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Extra) Validate() error
- type GetRuntimeRequest
- func (*GetRuntimeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuntimeRequest) GetAppID() string
- func (x *GetRuntimeRequest) GetNameOrID() string
- func (x *GetRuntimeRequest) GetWorkspace() string
- func (m *GetRuntimeRequest) MarshalJSON() ([]byte, error)
- func (*GetRuntimeRequest) ProtoMessage()
- func (x *GetRuntimeRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuntimeRequest) Reset()
- func (x *GetRuntimeRequest) String() string
- func (m *GetRuntimeRequest) UnmarshalJSON(b []byte) error
- func (m *GetRuntimeRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetRuntimeRequest) Validate() error
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetCpu() float64
- func (x *Resources) GetDisk() int64
- func (x *Resources) GetMem() int64
- func (m *Resources) MarshalJSON() ([]byte, error)
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (x *Resources) String() string
- func (m *Resources) UnmarshalJSON(b []byte) error
- func (m *Resources) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Resources) Validate() error
- type Runtime
- func (*Runtime) Descriptor() ([]byte, []int)deprecated
- func (x *Runtime) GetApplicationID() uint64
- func (x *Runtime) GetApplicationName() string
- func (x *Runtime) GetClusterID() uint64
- func (x *Runtime) GetClusterName() string
- func (x *Runtime) GetErrors() []*ErrorResponse
- func (x *Runtime) GetGitBranch() string
- func (x *Runtime) GetId() uint64
- func (x *Runtime) GetName() string
- func (x *Runtime) GetOrgID() uint64
- func (x *Runtime) GetProjectID() uint64
- func (x *Runtime) GetProjectName() string
- func (x *Runtime) GetStatus() string
- func (x *Runtime) GetWorkspace() string
- func (m *Runtime) MarshalJSON() ([]byte, error)
- func (*Runtime) ProtoMessage()
- func (x *Runtime) ProtoReflect() protoreflect.Message
- func (x *Runtime) Reset()
- func (x *Runtime) String() string
- func (m *Runtime) UnmarshalJSON(b []byte) error
- func (m *Runtime) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Runtime) Validate() error
- type RuntimeInspect
- func (*RuntimeInspect) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeInspect) GetClusterID() uint64
- func (x *RuntimeInspect) GetClusterName() string
- func (x *RuntimeInspect) GetClusterType() string
- func (x *RuntimeInspect) GetCreatedAt() *timestamppb.Timestamp
- func (x *RuntimeInspect) GetDeleteStatus() string
- func (x *RuntimeInspect) GetDeployStatus() string
- func (x *RuntimeInspect) GetErrors() []*ErrorResponse
- func (x *RuntimeInspect) GetExtra() *Extra
- func (x *RuntimeInspect) GetId() uint64
- func (x *RuntimeInspect) GetLastMessage() map[string]*StatusMap
- func (x *RuntimeInspect) GetName() string
- func (x *RuntimeInspect) GetProjectID() uint64
- func (x *RuntimeInspect) GetReleaseID() string
- func (x *RuntimeInspect) GetResources() *Resources
- func (x *RuntimeInspect) GetServiceGroupName() string
- func (x *RuntimeInspect) GetServiceGroupNamespace() string
- func (x *RuntimeInspect) GetServices() map[string]*Service
- func (x *RuntimeInspect) GetSource() string
- func (x *RuntimeInspect) GetStatus() string
- func (x *RuntimeInspect) GetTimeCreated() *timestamppb.Timestamp
- func (x *RuntimeInspect) GetUpdatedAt() *timestamppb.Timestamp
- func (m *RuntimeInspect) MarshalJSON() ([]byte, error)
- func (*RuntimeInspect) ProtoMessage()
- func (x *RuntimeInspect) ProtoReflect() protoreflect.Message
- func (x *RuntimeInspect) Reset()
- func (x *RuntimeInspect) String() string
- func (m *RuntimeInspect) UnmarshalJSON(b []byte) error
- func (m *RuntimeInspect) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *RuntimeInspect) Validate() error
- type RuntimeServiceClient
- type RuntimeServiceHandler
- type RuntimeServiceServer
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAddrs() []string
- func (x *Service) GetDeployments() *Deployments
- func (x *Service) GetEnvs() map[string]string
- func (x *Service) GetErrors() []*ErrorResponse
- func (x *Service) GetExpose() []string
- func (x *Service) GetResources() *Resources
- func (x *Service) GetStatus() string
- func (m *Service) MarshalJSON() ([]byte, error)
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (m *Service) UnmarshalJSON(b []byte) error
- func (m *Service) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Service) Validate() error
- type StatusMap
- func (*StatusMap) Descriptor() ([]byte, []int)deprecated
- func (x *StatusMap) GetMsg() string
- func (x *StatusMap) GetReason() string
- func (m *StatusMap) MarshalJSON() ([]byte, error)
- func (*StatusMap) ProtoMessage()
- func (x *StatusMap) ProtoReflect() protoreflect.Message
- func (x *StatusMap) Reset()
- func (x *StatusMap) String() string
- func (m *StatusMap) UnmarshalJSON(b []byte) error
- func (m *StatusMap) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *StatusMap) Validate() error
- type UnimplementedRuntimeServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_runtime_proto protoreflect.FileDescriptor
Functions ¶
func RegisterRuntimeServiceHandler ¶
func RegisterRuntimeServiceHandler(r http.Router, srv RuntimeServiceHandler, opts ...http.HandleOption)
RegisterRuntimeServiceHandler register RuntimeServiceHandler to http.Router.
func RegisterRuntimeServiceImp ¶
func RegisterRuntimeServiceImp(regester transport.Register, srv RuntimeServiceServer, opts ...transport.ServiceOption)
RegisterRuntimeServiceImp runtime.proto
func RegisterRuntimeServiceServer ¶
func RegisterRuntimeServiceServer(s grpc1.ServiceRegistrar, srv RuntimeServiceServer, opts ...grpc1.HandleOption)
func RuntimeServiceClientType ¶
RuntimeServiceClientType .
func RuntimeServiceHandlerType ¶
RuntimeServiceHandlerType .
func RuntimeServiceServerType ¶
RuntimeServiceServerType .
Types ¶
type DelRuntimeRequest ¶
type DelRuntimeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DelRuntimeRequest) Descriptor
deprecated
func (*DelRuntimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DelRuntimeRequest.ProtoReflect.Descriptor instead.
func (*DelRuntimeRequest) GetId ¶
func (x *DelRuntimeRequest) GetId() string
func (*DelRuntimeRequest) MarshalJSON ¶
func (m *DelRuntimeRequest) MarshalJSON() ([]byte, error)
DelRuntimeRequest implement json.Marshaler.
func (*DelRuntimeRequest) ProtoMessage ¶
func (*DelRuntimeRequest) ProtoMessage()
func (*DelRuntimeRequest) ProtoReflect ¶
func (x *DelRuntimeRequest) ProtoReflect() protoreflect.Message
func (*DelRuntimeRequest) Reset ¶
func (x *DelRuntimeRequest) Reset()
func (*DelRuntimeRequest) String ¶
func (x *DelRuntimeRequest) String() string
func (*DelRuntimeRequest) UnmarshalJSON ¶
func (m *DelRuntimeRequest) UnmarshalJSON(b []byte) error
DelRuntimeRequest implement json.Marshaler.
func (*DelRuntimeRequest) UnmarshalURLValues ¶
func (m *DelRuntimeRequest) UnmarshalURLValues(prefix string, values url.Values) error
DelRuntimeRequest implement urlenc.URLValuesUnmarshaler.
func (*DelRuntimeRequest) Validate ¶
func (this *DelRuntimeRequest) Validate() error
type Deployments ¶
type Deployments struct { Replicas uint64 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` // contains filtered or unexported fields }
func (*Deployments) Descriptor
deprecated
func (*Deployments) Descriptor() ([]byte, []int)
Deprecated: Use Deployments.ProtoReflect.Descriptor instead.
func (*Deployments) GetReplicas ¶
func (x *Deployments) GetReplicas() uint64
func (*Deployments) MarshalJSON ¶
func (m *Deployments) MarshalJSON() ([]byte, error)
Deployments implement json.Marshaler.
func (*Deployments) ProtoMessage ¶
func (*Deployments) ProtoMessage()
func (*Deployments) ProtoReflect ¶
func (x *Deployments) ProtoReflect() protoreflect.Message
func (*Deployments) Reset ¶
func (x *Deployments) Reset()
func (*Deployments) String ¶
func (x *Deployments) String() string
func (*Deployments) UnmarshalJSON ¶
func (m *Deployments) UnmarshalJSON(b []byte) error
Deployments implement json.Marshaler.
func (*Deployments) UnmarshalURLValues ¶
func (m *Deployments) UnmarshalURLValues(prefix string, values url.Values) error
Deployments implement urlenc.URLValuesUnmarshaler.
func (*Deployments) Validate ¶
func (this *Deployments) Validate() error
type ErrorResponse ¶
type ErrorResponse struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Ctx string `protobuf:"bytes,3,opt,name=ctx,proto3" json:"ctx,omitempty"` // contains filtered or unexported fields }
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetCode ¶
func (x *ErrorResponse) GetCode() string
func (*ErrorResponse) GetCtx ¶
func (x *ErrorResponse) GetCtx() string
func (*ErrorResponse) GetMsg ¶
func (x *ErrorResponse) GetMsg() string
func (*ErrorResponse) MarshalJSON ¶
func (m *ErrorResponse) MarshalJSON() ([]byte, error)
ErrorResponse implement json.Marshaler.
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
func (*ErrorResponse) UnmarshalJSON ¶
func (m *ErrorResponse) UnmarshalJSON(b []byte) error
ErrorResponse implement json.Marshaler.
func (*ErrorResponse) UnmarshalURLValues ¶
func (m *ErrorResponse) UnmarshalURLValues(prefix string, values url.Values) error
ErrorResponse implement urlenc.URLValuesUnmarshaler.
func (*ErrorResponse) Validate ¶
func (this *ErrorResponse) Validate() error
type Extra ¶
type Extra struct { ApplicationID uint64 `protobuf:"varint,1,opt,name=applicationID,json=applicationId,proto3" json:"applicationID,omitempty"` BuildID uint64 `protobuf:"varint,2,opt,name=buildID,json=buildId,proto3" json:"buildID,omitempty"` Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"` // contains filtered or unexported fields }
func (*Extra) Descriptor
deprecated
func (*Extra) GetApplicationID ¶
func (*Extra) GetBuildID ¶
func (*Extra) GetWorkspace ¶
func (*Extra) MarshalJSON ¶
Extra implement json.Marshaler.
func (*Extra) ProtoMessage ¶
func (*Extra) ProtoMessage()
func (*Extra) ProtoReflect ¶
func (x *Extra) ProtoReflect() protoreflect.Message
func (*Extra) UnmarshalJSON ¶
Extra implement json.Marshaler.
func (*Extra) UnmarshalURLValues ¶
Extra implement urlenc.URLValuesUnmarshaler.
type GetRuntimeRequest ¶
type GetRuntimeRequest struct { NameOrID string `protobuf:"bytes,1,opt,name=nameOrID,proto3" json:"nameOrID,omitempty"` AppID string `protobuf:"bytes,2,opt,name=appID,proto3" json:"appID,omitempty"` Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"` // contains filtered or unexported fields }
func (*GetRuntimeRequest) Descriptor
deprecated
func (*GetRuntimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuntimeRequest.ProtoReflect.Descriptor instead.
func (*GetRuntimeRequest) GetAppID ¶
func (x *GetRuntimeRequest) GetAppID() string
func (*GetRuntimeRequest) GetNameOrID ¶
func (x *GetRuntimeRequest) GetNameOrID() string
func (*GetRuntimeRequest) GetWorkspace ¶
func (x *GetRuntimeRequest) GetWorkspace() string
func (*GetRuntimeRequest) MarshalJSON ¶
func (m *GetRuntimeRequest) MarshalJSON() ([]byte, error)
GetRuntimeRequest implement json.Marshaler.
func (*GetRuntimeRequest) ProtoMessage ¶
func (*GetRuntimeRequest) ProtoMessage()
func (*GetRuntimeRequest) ProtoReflect ¶
func (x *GetRuntimeRequest) ProtoReflect() protoreflect.Message
func (*GetRuntimeRequest) Reset ¶
func (x *GetRuntimeRequest) Reset()
func (*GetRuntimeRequest) String ¶
func (x *GetRuntimeRequest) String() string
func (*GetRuntimeRequest) UnmarshalJSON ¶
func (m *GetRuntimeRequest) UnmarshalJSON(b []byte) error
GetRuntimeRequest implement json.Marshaler.
func (*GetRuntimeRequest) UnmarshalURLValues ¶
func (m *GetRuntimeRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetRuntimeRequest implement urlenc.URLValuesUnmarshaler.
func (*GetRuntimeRequest) Validate ¶
func (this *GetRuntimeRequest) Validate() error
type Resources ¶
type Resources struct { Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"` Mem int64 `protobuf:"varint,2,opt,name=mem,proto3" json:"mem,omitempty"` Disk int64 `protobuf:"varint,3,opt,name=disk,proto3" json:"disk,omitempty"` // contains filtered or unexported fields }
func (*Resources) Descriptor
deprecated
func (*Resources) MarshalJSON ¶
Resources implement json.Marshaler.
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
func (*Resources) UnmarshalJSON ¶
Resources implement json.Marshaler.
func (*Resources) UnmarshalURLValues ¶
Resources implement urlenc.URLValuesUnmarshaler.
type Runtime ¶
type Runtime struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` GitBranch string `protobuf:"bytes,3,opt,name=gitBranch,proto3" json:"gitBranch,omitempty"` Workspace string `protobuf:"bytes,4,opt,name=workspace,proto3" json:"workspace,omitempty"` ClusterName string `protobuf:"bytes,5,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterID uint64 `protobuf:"varint,6,opt,name=clusterID,json=clusterId,proto3" json:"clusterID,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` ApplicationID uint64 `protobuf:"varint,8,opt,name=applicationID,json=applicationId,proto3" json:"applicationID,omitempty"` ApplicationName string `protobuf:"bytes,9,opt,name=applicationName,proto3" json:"applicationName,omitempty"` ProjectID uint64 `protobuf:"varint,10,opt,name=projectID,json=projectId,proto3" json:"projectID,omitempty"` ProjectName string `protobuf:"bytes,11,opt,name=projectName,proto3" json:"projectName,omitempty"` OrgID uint64 `protobuf:"varint,12,opt,name=orgID,json=orgId,proto3" json:"orgID,omitempty"` Errors []*ErrorResponse `protobuf:"bytes,13,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*Runtime) Descriptor
deprecated
func (*Runtime) GetApplicationID ¶
func (*Runtime) GetApplicationName ¶
func (*Runtime) GetClusterID ¶
func (*Runtime) GetClusterName ¶
func (*Runtime) GetErrors ¶
func (x *Runtime) GetErrors() []*ErrorResponse
func (*Runtime) GetGitBranch ¶
func (*Runtime) GetProjectID ¶
func (*Runtime) GetProjectName ¶
func (*Runtime) GetWorkspace ¶
func (*Runtime) MarshalJSON ¶
Runtime implement json.Marshaler.
func (*Runtime) ProtoMessage ¶
func (*Runtime) ProtoMessage()
func (*Runtime) ProtoReflect ¶
func (x *Runtime) ProtoReflect() protoreflect.Message
func (*Runtime) UnmarshalJSON ¶
Runtime implement json.Marshaler.
func (*Runtime) UnmarshalURLValues ¶
Runtime implement urlenc.URLValuesUnmarshaler.
type RuntimeInspect ¶
type RuntimeInspect struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ServiceGroupName string `protobuf:"bytes,3,opt,name=serviceGroupName,proto3" json:"serviceGroupName,omitempty"` ServiceGroupNamespace string `protobuf:"bytes,4,opt,name=serviceGroupNamespace,proto3" json:"serviceGroupNamespace,omitempty"` Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` DeployStatus string `protobuf:"bytes,7,opt,name=deployStatus,proto3" json:"deployStatus,omitempty"` DeleteStatus string `protobuf:"bytes,8,opt,name=deleteStatus,proto3" json:"deleteStatus,omitempty"` ReleaseID string `protobuf:"bytes,9,opt,name=releaseID,json=releaseId,proto3" json:"releaseID,omitempty"` ClusterID uint64 `protobuf:"varint,10,opt,name=clusterID,json=clusterId,proto3" json:"clusterID,omitempty"` ClusterName string `protobuf:"bytes,11,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterType string `protobuf:"bytes,12,opt,name=clusterType,proto3" json:"clusterType,omitempty"` Resources *Resources `protobuf:"bytes,13,opt,name=resources,proto3" json:"resources,omitempty"` Extra *Extra `protobuf:"bytes,14,opt,name=extra,proto3" json:"extra,omitempty"` ProjectID uint64 `protobuf:"varint,15,opt,name=projectID,json=projectId,proto3" json:"projectID,omitempty"` Services map[string]*Service `` /* 158-byte string literal not displayed */ LastMessage map[string]*StatusMap `` /* 164-byte string literal not displayed */ TimeCreated *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=timeCreated,proto3" json:"timeCreated,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Errors []*ErrorResponse `protobuf:"bytes,21,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*RuntimeInspect) Descriptor
deprecated
func (*RuntimeInspect) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInspect.ProtoReflect.Descriptor instead.
func (*RuntimeInspect) GetClusterID ¶
func (x *RuntimeInspect) GetClusterID() uint64
func (*RuntimeInspect) GetClusterName ¶
func (x *RuntimeInspect) GetClusterName() string
func (*RuntimeInspect) GetClusterType ¶
func (x *RuntimeInspect) GetClusterType() string
func (*RuntimeInspect) GetCreatedAt ¶
func (x *RuntimeInspect) GetCreatedAt() *timestamppb.Timestamp
func (*RuntimeInspect) GetDeleteStatus ¶
func (x *RuntimeInspect) GetDeleteStatus() string
func (*RuntimeInspect) GetDeployStatus ¶
func (x *RuntimeInspect) GetDeployStatus() string
func (*RuntimeInspect) GetErrors ¶
func (x *RuntimeInspect) GetErrors() []*ErrorResponse
func (*RuntimeInspect) GetExtra ¶
func (x *RuntimeInspect) GetExtra() *Extra
func (*RuntimeInspect) GetId ¶
func (x *RuntimeInspect) GetId() uint64
func (*RuntimeInspect) GetLastMessage ¶
func (x *RuntimeInspect) GetLastMessage() map[string]*StatusMap
func (*RuntimeInspect) GetName ¶
func (x *RuntimeInspect) GetName() string
func (*RuntimeInspect) GetProjectID ¶
func (x *RuntimeInspect) GetProjectID() uint64
func (*RuntimeInspect) GetReleaseID ¶
func (x *RuntimeInspect) GetReleaseID() string
func (*RuntimeInspect) GetResources ¶
func (x *RuntimeInspect) GetResources() *Resources
func (*RuntimeInspect) GetServiceGroupName ¶
func (x *RuntimeInspect) GetServiceGroupName() string
func (*RuntimeInspect) GetServiceGroupNamespace ¶
func (x *RuntimeInspect) GetServiceGroupNamespace() string
func (*RuntimeInspect) GetServices ¶
func (x *RuntimeInspect) GetServices() map[string]*Service
func (*RuntimeInspect) GetSource ¶
func (x *RuntimeInspect) GetSource() string
func (*RuntimeInspect) GetStatus ¶
func (x *RuntimeInspect) GetStatus() string
func (*RuntimeInspect) GetTimeCreated ¶
func (x *RuntimeInspect) GetTimeCreated() *timestamppb.Timestamp
func (*RuntimeInspect) GetUpdatedAt ¶
func (x *RuntimeInspect) GetUpdatedAt() *timestamppb.Timestamp
func (*RuntimeInspect) MarshalJSON ¶
func (m *RuntimeInspect) MarshalJSON() ([]byte, error)
RuntimeInspect implement json.Marshaler.
func (*RuntimeInspect) ProtoMessage ¶
func (*RuntimeInspect) ProtoMessage()
func (*RuntimeInspect) ProtoReflect ¶
func (x *RuntimeInspect) ProtoReflect() protoreflect.Message
func (*RuntimeInspect) Reset ¶
func (x *RuntimeInspect) Reset()
func (*RuntimeInspect) String ¶
func (x *RuntimeInspect) String() string
func (*RuntimeInspect) UnmarshalJSON ¶
func (m *RuntimeInspect) UnmarshalJSON(b []byte) error
RuntimeInspect implement json.Marshaler.
func (*RuntimeInspect) UnmarshalURLValues ¶
func (m *RuntimeInspect) UnmarshalURLValues(prefix string, values url.Values) error
RuntimeInspect implement urlenc.URLValuesUnmarshaler.
func (*RuntimeInspect) Validate ¶
func (this *RuntimeInspect) Validate() error
type RuntimeServiceClient ¶
type RuntimeServiceClient interface { GetRuntime(ctx context.Context, in *GetRuntimeRequest, opts ...grpc.CallOption) (*RuntimeInspect, error) DelRuntime(ctx context.Context, in *DelRuntimeRequest, opts ...grpc.CallOption) (*Runtime, error) }
RuntimeServiceClient is the client API for RuntimeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRuntimeServiceClient ¶
func NewRuntimeServiceClient(cc grpc1.ClientConnInterface) RuntimeServiceClient
type RuntimeServiceHandler ¶
type RuntimeServiceHandler interface { // GET /api/runtimes/{nameOrID} GetRuntime(context.Context, *GetRuntimeRequest) (*RuntimeInspect, error) // DELETE /api/runtimes/{id} DelRuntime(context.Context, *DelRuntimeRequest) (*Runtime, error) }
RuntimeServiceHandler is the server API for RuntimeService service.
type RuntimeServiceServer ¶
type RuntimeServiceServer interface { GetRuntime(context.Context, *GetRuntimeRequest) (*RuntimeInspect, error) DelRuntime(context.Context, *DelRuntimeRequest) (*Runtime, error) }
RuntimeServiceServer is the server API for RuntimeService service. All implementations should embed UnimplementedRuntimeServiceServer for forward compatibility
type Service ¶
type Service struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Deployments *Deployments `protobuf:"bytes,2,opt,name=deployments,proto3" json:"deployments,omitempty"` Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` Envs map[string]string `` /* 149-byte string literal not displayed */ Addrs []string `protobuf:"bytes,5,rep,name=addrs,proto3" json:"addrs,omitempty"` Expose []string `protobuf:"bytes,6,rep,name=expose,proto3" json:"expose,omitempty"` Errors []*ErrorResponse `protobuf:"bytes,7,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetDeployments ¶
func (x *Service) GetDeployments() *Deployments
func (*Service) GetErrors ¶
func (x *Service) GetErrors() []*ErrorResponse
func (*Service) GetResources ¶
func (*Service) MarshalJSON ¶
Service implement json.Marshaler.
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) UnmarshalJSON ¶
Service implement json.Marshaler.
func (*Service) UnmarshalURLValues ¶
Service implement urlenc.URLValuesUnmarshaler.
type StatusMap ¶
type StatusMap struct { Msg string `protobuf:"bytes,1,opt,name=msg,json=Msg,proto3" json:"msg,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,json=Reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*StatusMap) Descriptor
deprecated
func (*StatusMap) MarshalJSON ¶
StatusMap implement json.Marshaler.
func (*StatusMap) ProtoMessage ¶
func (*StatusMap) ProtoMessage()
func (*StatusMap) ProtoReflect ¶
func (x *StatusMap) ProtoReflect() protoreflect.Message
func (*StatusMap) UnmarshalJSON ¶
StatusMap implement json.Marshaler.
func (*StatusMap) UnmarshalURLValues ¶
StatusMap implement urlenc.URLValuesUnmarshaler.
type UnimplementedRuntimeServiceServer ¶
type UnimplementedRuntimeServiceServer struct { }
UnimplementedRuntimeServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedRuntimeServiceServer) DelRuntime ¶
func (*UnimplementedRuntimeServiceServer) DelRuntime(context.Context, *DelRuntimeRequest) (*Runtime, error)
func (*UnimplementedRuntimeServiceServer) GetRuntime ¶
func (*UnimplementedRuntimeServiceServer) GetRuntime(context.Context, *GetRuntimeRequest) (*RuntimeInspect, error)