pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func RuntimeServiceClientType() reflect.Type

RuntimeServiceClientType .

func RuntimeServiceHandlerType

func RuntimeServiceHandlerType() reflect.Type

RuntimeServiceHandlerType .

func RuntimeServiceServerType

func RuntimeServiceServerType() reflect.Type

RuntimeServiceServerType .

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Extra.ProtoReflect.Descriptor instead.

func (*Extra) GetApplicationID

func (x *Extra) GetApplicationID() uint64

func (*Extra) GetBuildID

func (x *Extra) GetBuildID() uint64

func (*Extra) GetWorkspace

func (x *Extra) GetWorkspace() string

func (*Extra) MarshalJSON

func (m *Extra) MarshalJSON() ([]byte, error)

Extra implement json.Marshaler.

func (*Extra) ProtoMessage

func (*Extra) ProtoMessage()

func (*Extra) ProtoReflect

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

func (*Extra) Reset

func (x *Extra) Reset()

func (*Extra) String

func (x *Extra) String() string

func (*Extra) UnmarshalJSON

func (m *Extra) UnmarshalJSON(b []byte) error

Extra implement json.Marshaler.

func (*Extra) UnmarshalURLValues

func (m *Extra) UnmarshalURLValues(prefix string, values url.Values) error

Extra implement urlenc.URLValuesUnmarshaler.

func (*Extra) Validate

func (this *Extra) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetCpu

func (x *Resources) GetCpu() float64

func (*Resources) GetDisk

func (x *Resources) GetDisk() int64

func (*Resources) GetMem

func (x *Resources) GetMem() int64

func (*Resources) MarshalJSON

func (m *Resources) MarshalJSON() ([]byte, error)

Resources implement json.Marshaler.

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) String

func (x *Resources) String() string

func (*Resources) UnmarshalJSON

func (m *Resources) UnmarshalJSON(b []byte) error

Resources implement json.Marshaler.

func (*Resources) UnmarshalURLValues

func (m *Resources) UnmarshalURLValues(prefix string, values url.Values) error

Resources implement urlenc.URLValuesUnmarshaler.

func (*Resources) Validate

func (this *Resources) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Runtime.ProtoReflect.Descriptor instead.

func (*Runtime) GetApplicationID

func (x *Runtime) GetApplicationID() uint64

func (*Runtime) GetApplicationName

func (x *Runtime) GetApplicationName() string

func (*Runtime) GetClusterID

func (x *Runtime) GetClusterID() uint64

func (*Runtime) GetClusterName

func (x *Runtime) GetClusterName() string

func (*Runtime) GetErrors

func (x *Runtime) GetErrors() []*ErrorResponse

func (*Runtime) GetGitBranch

func (x *Runtime) GetGitBranch() string

func (*Runtime) GetId

func (x *Runtime) GetId() uint64

func (*Runtime) GetName

func (x *Runtime) GetName() string

func (*Runtime) GetOrgID

func (x *Runtime) GetOrgID() uint64

func (*Runtime) GetProjectID

func (x *Runtime) GetProjectID() uint64

func (*Runtime) GetProjectName

func (x *Runtime) GetProjectName() string

func (*Runtime) GetStatus

func (x *Runtime) GetStatus() string

func (*Runtime) GetWorkspace

func (x *Runtime) GetWorkspace() string

func (*Runtime) MarshalJSON

func (m *Runtime) MarshalJSON() ([]byte, error)

Runtime implement json.Marshaler.

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) ProtoReflect

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

func (*Runtime) Reset

func (x *Runtime) Reset()

func (*Runtime) String

func (x *Runtime) String() string

func (*Runtime) UnmarshalJSON

func (m *Runtime) UnmarshalJSON(b []byte) error

Runtime implement json.Marshaler.

func (*Runtime) UnmarshalURLValues

func (m *Runtime) UnmarshalURLValues(prefix string, values url.Values) error

Runtime implement urlenc.URLValuesUnmarshaler.

func (*Runtime) Validate

func (this *Runtime) Validate() error

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetAddrs

func (x *Service) GetAddrs() []string

func (*Service) GetDeployments

func (x *Service) GetDeployments() *Deployments

func (*Service) GetEnvs

func (x *Service) GetEnvs() map[string]string

func (*Service) GetErrors

func (x *Service) GetErrors() []*ErrorResponse

func (*Service) GetExpose

func (x *Service) GetExpose() []string

func (*Service) GetResources

func (x *Service) GetResources() *Resources

func (*Service) GetStatus

func (x *Service) GetStatus() string

func (*Service) MarshalJSON

func (m *Service) MarshalJSON() ([]byte, error)

Service implement json.Marshaler.

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

func (*Service) UnmarshalJSON

func (m *Service) UnmarshalJSON(b []byte) error

Service implement json.Marshaler.

func (*Service) UnmarshalURLValues

func (m *Service) UnmarshalURLValues(prefix string, values url.Values) error

Service implement urlenc.URLValuesUnmarshaler.

func (*Service) Validate

func (this *Service) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use StatusMap.ProtoReflect.Descriptor instead.

func (*StatusMap) GetMsg

func (x *StatusMap) GetMsg() string

func (*StatusMap) GetReason

func (x *StatusMap) GetReason() string

func (*StatusMap) MarshalJSON

func (m *StatusMap) MarshalJSON() ([]byte, error)

StatusMap implement json.Marshaler.

func (*StatusMap) ProtoMessage

func (*StatusMap) ProtoMessage()

func (*StatusMap) ProtoReflect

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

func (*StatusMap) Reset

func (x *StatusMap) Reset()

func (*StatusMap) String

func (x *StatusMap) String() string

func (*StatusMap) UnmarshalJSON

func (m *StatusMap) UnmarshalJSON(b []byte) error

StatusMap implement json.Marshaler.

func (*StatusMap) UnmarshalURLValues

func (m *StatusMap) UnmarshalURLValues(prefix string, values url.Values) error

StatusMap implement urlenc.URLValuesUnmarshaler.

func (*StatusMap) Validate

func (this *StatusMap) Validate() error

type UnimplementedRuntimeServiceServer

type UnimplementedRuntimeServiceServer struct {
}

UnimplementedRuntimeServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedRuntimeServiceServer) DelRuntime

func (*UnimplementedRuntimeServiceServer) GetRuntime

Jump to

Keyboard shortcuts

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