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: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_resource_proto protoreflect.FileDescriptor

Functions

func RegisterResourceServiceHandler

func RegisterResourceServiceHandler(r http.Router, srv ResourceServiceHandler, opts ...http.HandleOption)

RegisterResourceServiceHandler register ResourceServiceHandler to http.Router.

func RegisterResourceServiceImp

func RegisterResourceServiceImp(regester transport.Register, srv ResourceServiceServer, opts ...transport.ServiceOption)

RegisterResourceServiceImp resource.proto

func RegisterResourceServiceServer

func RegisterResourceServiceServer(s grpc1.ServiceRegistrar, srv ResourceServiceServer, opts ...grpc1.HandleOption)

func ResourceServiceClientType

func ResourceServiceClientType() reflect.Type

ResourceServiceClientType .

func ResourceServiceHandlerType

func ResourceServiceHandlerType() reflect.Type

ResourceServiceHandlerType .

func ResourceServiceServerType

func ResourceServiceServerType() reflect.Type

ResourceServiceServerType .

func ServiceNames

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

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type CreateResourceRequest

type CreateResourceRequest struct {

	// 资源类型
	Engine string `protobuf:"bytes,1,opt,name=engine,proto3" json:"engine,omitempty"`
	// 请求资源ID
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// 规格
	Plan string `protobuf:"bytes,3,opt,name=plan,proto3" json:"plan,omitempty"`
	// 资源所在可用区
	Az string `protobuf:"bytes,4,opt,name=az,proto3" json:"az,omitempty"`
	// 资源相关配置项
	Options map[string]string `` /* 155-byte string literal not displayed */
	// 回调
	Callback string `protobuf:"bytes,6,opt,name=callback,proto3" json:"callback,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRequest) Descriptor deprecated

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

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetAz

func (x *CreateResourceRequest) GetAz() string

func (*CreateResourceRequest) GetCallback

func (x *CreateResourceRequest) GetCallback() string

func (*CreateResourceRequest) GetEngine

func (x *CreateResourceRequest) GetEngine() string

func (*CreateResourceRequest) GetOptions

func (x *CreateResourceRequest) GetOptions() map[string]string

func (*CreateResourceRequest) GetPlan

func (x *CreateResourceRequest) GetPlan() string

func (*CreateResourceRequest) GetUuid

func (x *CreateResourceRequest) GetUuid() string

func (*CreateResourceRequest) MarshalJSON

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

CreateResourceRequest implement json.Marshaler.

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

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

func (*CreateResourceRequest) Reset

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) String

func (x *CreateResourceRequest) String() string

func (*CreateResourceRequest) UnmarshalJSON

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

CreateResourceRequest implement json.Marshaler.

func (*CreateResourceRequest) UnmarshalURLValues

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

CreateResourceRequest implement urlenc.URLValuesUnmarshaler.

func (*CreateResourceRequest) Validate

func (this *CreateResourceRequest) Validate() error

type CreateResourceResponse

type CreateResourceResponse struct {
	Data *ResourceCreateResult `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceResponse) Descriptor deprecated

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

Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.

func (*CreateResourceResponse) GetData

func (*CreateResourceResponse) MarshalJSON

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

CreateResourceResponse implement json.Marshaler.

func (*CreateResourceResponse) ProtoMessage

func (*CreateResourceResponse) ProtoMessage()

func (*CreateResourceResponse) ProtoReflect

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

func (*CreateResourceResponse) Reset

func (x *CreateResourceResponse) Reset()

func (*CreateResourceResponse) String

func (x *CreateResourceResponse) String() string

func (*CreateResourceResponse) UnmarshalJSON

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

CreateResourceResponse implement json.Marshaler.

func (*CreateResourceResponse) UnmarshalURLValues

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

CreateResourceResponse implement urlenc.URLValuesUnmarshaler.

func (*CreateResourceResponse) Validate

func (this *CreateResourceResponse) Validate() error

type DeleteResourceRequest

type DeleteResourceRequest struct {

	// 资源类型
	Engine string `protobuf:"bytes,1,opt,name=engine,proto3" json:"engine,omitempty"`
	// 资源id
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetEngine

func (x *DeleteResourceRequest) GetEngine() string

func (*DeleteResourceRequest) GetId

func (x *DeleteResourceRequest) GetId() string

func (*DeleteResourceRequest) MarshalJSON

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

DeleteResourceRequest implement json.Marshaler.

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

func (*DeleteResourceRequest) UnmarshalJSON

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

DeleteResourceRequest implement json.Marshaler.

func (*DeleteResourceRequest) UnmarshalURLValues

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

DeleteResourceRequest implement urlenc.URLValuesUnmarshaler.

func (*DeleteResourceRequest) Validate

func (this *DeleteResourceRequest) Validate() error

type DeleteResourceResponse

type DeleteResourceResponse struct {

	// 操作是否成功
	Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceResponse) Descriptor deprecated

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

Deprecated: Use DeleteResourceResponse.ProtoReflect.Descriptor instead.

func (*DeleteResourceResponse) GetData

func (x *DeleteResourceResponse) GetData() bool

func (*DeleteResourceResponse) MarshalJSON

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

DeleteResourceResponse implement json.Marshaler.

func (*DeleteResourceResponse) ProtoMessage

func (*DeleteResourceResponse) ProtoMessage()

func (*DeleteResourceResponse) ProtoReflect

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

func (*DeleteResourceResponse) Reset

func (x *DeleteResourceResponse) Reset()

func (*DeleteResourceResponse) String

func (x *DeleteResourceResponse) String() string

func (*DeleteResourceResponse) UnmarshalJSON

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

DeleteResourceResponse implement json.Marshaler.

func (*DeleteResourceResponse) UnmarshalURLValues

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

DeleteResourceResponse implement urlenc.URLValuesUnmarshaler.

func (*DeleteResourceResponse) Validate

func (this *DeleteResourceResponse) Validate() error

type GetMonitorInstanceRequest

type GetMonitorInstanceRequest struct {
	TerminusKey string `protobuf:"bytes,1,opt,name=terminusKey,proto3" json:"terminusKey,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMonitorInstanceRequest) Descriptor deprecated

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

Deprecated: Use GetMonitorInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetMonitorInstanceRequest) GetTerminusKey

func (x *GetMonitorInstanceRequest) GetTerminusKey() string

func (*GetMonitorInstanceRequest) MarshalJSON

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

GetMonitorInstanceRequest implement json.Marshaler.

func (*GetMonitorInstanceRequest) ProtoMessage

func (*GetMonitorInstanceRequest) ProtoMessage()

func (*GetMonitorInstanceRequest) ProtoReflect

func (*GetMonitorInstanceRequest) Reset

func (x *GetMonitorInstanceRequest) Reset()

func (*GetMonitorInstanceRequest) String

func (x *GetMonitorInstanceRequest) String() string

func (*GetMonitorInstanceRequest) UnmarshalJSON

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

GetMonitorInstanceRequest implement json.Marshaler.

func (*GetMonitorInstanceRequest) UnmarshalURLValues

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

GetMonitorInstanceRequest implement urlenc.URLValuesUnmarshaler.

func (*GetMonitorInstanceRequest) Validate

func (this *GetMonitorInstanceRequest) Validate() error

type GetMonitorInstanceResponse

type GetMonitorInstanceResponse struct {
	Data *MonitorInstance `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMonitorInstanceResponse) Descriptor deprecated

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

Deprecated: Use GetMonitorInstanceResponse.ProtoReflect.Descriptor instead.

func (*GetMonitorInstanceResponse) GetData

func (*GetMonitorInstanceResponse) MarshalJSON

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

GetMonitorInstanceResponse implement json.Marshaler.

func (*GetMonitorInstanceResponse) ProtoMessage

func (*GetMonitorInstanceResponse) ProtoMessage()

func (*GetMonitorInstanceResponse) ProtoReflect

func (*GetMonitorInstanceResponse) Reset

func (x *GetMonitorInstanceResponse) Reset()

func (*GetMonitorInstanceResponse) String

func (x *GetMonitorInstanceResponse) String() string

func (*GetMonitorInstanceResponse) UnmarshalJSON

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

GetMonitorInstanceResponse implement json.Marshaler.

func (*GetMonitorInstanceResponse) UnmarshalURLValues

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

GetMonitorInstanceResponse implement urlenc.URLValuesUnmarshaler.

func (*GetMonitorInstanceResponse) Validate

func (this *GetMonitorInstanceResponse) Validate() error

type GetMonitorRuntimeRequest

type GetMonitorRuntimeRequest struct {
	TerminusKey   string `protobuf:"bytes,1,opt,name=terminusKey,proto3" json:"terminusKey,omitempty"`
	ApplicationId string `protobuf:"bytes,2,opt,name=applicationId,proto3" json:"applicationId,omitempty"`
	RuntimeName   string `protobuf:"bytes,3,opt,name=runtimeName,proto3" json:"runtimeName,omitempty"`
	RuntimeId     string `protobuf:"bytes,4,opt,name=runtimeId,proto3" json:"runtimeId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMonitorRuntimeRequest) Descriptor deprecated

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

Deprecated: Use GetMonitorRuntimeRequest.ProtoReflect.Descriptor instead.

func (*GetMonitorRuntimeRequest) GetApplicationId

func (x *GetMonitorRuntimeRequest) GetApplicationId() string

func (*GetMonitorRuntimeRequest) GetRuntimeId

func (x *GetMonitorRuntimeRequest) GetRuntimeId() string

func (*GetMonitorRuntimeRequest) GetRuntimeName

func (x *GetMonitorRuntimeRequest) GetRuntimeName() string

func (*GetMonitorRuntimeRequest) GetTerminusKey

func (x *GetMonitorRuntimeRequest) GetTerminusKey() string

func (*GetMonitorRuntimeRequest) MarshalJSON

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

GetMonitorRuntimeRequest implement json.Marshaler.

func (*GetMonitorRuntimeRequest) ProtoMessage

func (*GetMonitorRuntimeRequest) ProtoMessage()

func (*GetMonitorRuntimeRequest) ProtoReflect

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

func (*GetMonitorRuntimeRequest) Reset

func (x *GetMonitorRuntimeRequest) Reset()

func (*GetMonitorRuntimeRequest) String

func (x *GetMonitorRuntimeRequest) String() string

func (*GetMonitorRuntimeRequest) UnmarshalJSON

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

GetMonitorRuntimeRequest implement json.Marshaler.

func (*GetMonitorRuntimeRequest) UnmarshalURLValues

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

GetMonitorRuntimeRequest implement urlenc.URLValuesUnmarshaler.

func (*GetMonitorRuntimeRequest) Validate

func (this *GetMonitorRuntimeRequest) Validate() error

type GetMonitorRuntimeResponse

type GetMonitorRuntimeResponse struct {
	Data *MonitorRuntime `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMonitorRuntimeResponse) Descriptor deprecated

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

Deprecated: Use GetMonitorRuntimeResponse.ProtoReflect.Descriptor instead.

func (*GetMonitorRuntimeResponse) GetData

func (*GetMonitorRuntimeResponse) MarshalJSON

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

GetMonitorRuntimeResponse implement json.Marshaler.

func (*GetMonitorRuntimeResponse) ProtoMessage

func (*GetMonitorRuntimeResponse) ProtoMessage()

func (*GetMonitorRuntimeResponse) ProtoReflect

func (*GetMonitorRuntimeResponse) Reset

func (x *GetMonitorRuntimeResponse) Reset()

func (*GetMonitorRuntimeResponse) String

func (x *GetMonitorRuntimeResponse) String() string

func (*GetMonitorRuntimeResponse) UnmarshalJSON

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

GetMonitorRuntimeResponse implement json.Marshaler.

func (*GetMonitorRuntimeResponse) UnmarshalURLValues

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

GetMonitorRuntimeResponse implement urlenc.URLValuesUnmarshaler.

func (*GetMonitorRuntimeResponse) Validate

func (this *GetMonitorRuntimeResponse) Validate() error

type MonitorInstance

type MonitorInstance struct {
	MonitorId   string `protobuf:"bytes,1,opt,name=monitorId,proto3" json:"monitorId,omitempty"`
	MonitorName string `protobuf:"bytes,2,opt,name=monitorName,proto3" json:"monitorName,omitempty"`
	TerminusKey string `protobuf:"bytes,3,opt,name=terminusKey,proto3" json:"terminusKey,omitempty"`
	ProjectId   string `protobuf:"bytes,4,opt,name=projectId,proto3" json:"projectId,omitempty"`
	ProjectName string `protobuf:"bytes,5,opt,name=projectName,proto3" json:"projectName,omitempty"`
	Workspace   string `protobuf:"bytes,6,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// GMC+8 yyyy-MM-dd HH:mm:ss
	CreateTime string `protobuf:"bytes,7,opt,name=createTime,proto3" json:"createTime,omitempty"`
	// GMC+8 yyyy-MM-dd HH:mm:ss
	UpdateTime string `protobuf:"bytes,8,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitorInstance) Descriptor deprecated

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

Deprecated: Use MonitorInstance.ProtoReflect.Descriptor instead.

func (*MonitorInstance) GetCreateTime

func (x *MonitorInstance) GetCreateTime() string

func (*MonitorInstance) GetMonitorId

func (x *MonitorInstance) GetMonitorId() string

func (*MonitorInstance) GetMonitorName

func (x *MonitorInstance) GetMonitorName() string

func (*MonitorInstance) GetProjectId

func (x *MonitorInstance) GetProjectId() string

func (*MonitorInstance) GetProjectName

func (x *MonitorInstance) GetProjectName() string

func (*MonitorInstance) GetTerminusKey

func (x *MonitorInstance) GetTerminusKey() string

func (*MonitorInstance) GetUpdateTime

func (x *MonitorInstance) GetUpdateTime() string

func (*MonitorInstance) GetWorkspace

func (x *MonitorInstance) GetWorkspace() string

func (*MonitorInstance) MarshalJSON

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

MonitorInstance implement json.Marshaler.

func (*MonitorInstance) ProtoMessage

func (*MonitorInstance) ProtoMessage()

func (*MonitorInstance) ProtoReflect

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

func (*MonitorInstance) Reset

func (x *MonitorInstance) Reset()

func (*MonitorInstance) String

func (x *MonitorInstance) String() string

func (*MonitorInstance) UnmarshalJSON

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

MonitorInstance implement json.Marshaler.

func (*MonitorInstance) UnmarshalURLValues

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

MonitorInstance implement urlenc.URLValuesUnmarshaler.

func (*MonitorInstance) Validate

func (this *MonitorInstance) Validate() error

type MonitorRuntime

type MonitorRuntime struct {
	TerminusKey     string `protobuf:"bytes,1,opt,name=terminusKey,proto3" json:"terminusKey,omitempty"`
	ProjectId       string `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	ProjectName     string `protobuf:"bytes,3,opt,name=projectName,proto3" json:"projectName,omitempty"`
	ApplicationId   string `protobuf:"bytes,4,opt,name=applicationId,proto3" json:"applicationId,omitempty"`
	ApplicationName string `protobuf:"bytes,5,opt,name=applicationName,proto3" json:"applicationName,omitempty"`
	Workspace       string `protobuf:"bytes,6,opt,name=workspace,proto3" json:"workspace,omitempty"`
	RuntimeId       string `protobuf:"bytes,7,opt,name=runtimeId,proto3" json:"runtimeId,omitempty"`
	RuntimeName     string `protobuf:"bytes,8,opt,name=runtimeName,proto3" json:"runtimeName,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitorRuntime) Descriptor deprecated

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

Deprecated: Use MonitorRuntime.ProtoReflect.Descriptor instead.

func (*MonitorRuntime) GetApplicationId

func (x *MonitorRuntime) GetApplicationId() string

func (*MonitorRuntime) GetApplicationName

func (x *MonitorRuntime) GetApplicationName() string

func (*MonitorRuntime) GetProjectId

func (x *MonitorRuntime) GetProjectId() string

func (*MonitorRuntime) GetProjectName

func (x *MonitorRuntime) GetProjectName() string

func (*MonitorRuntime) GetRuntimeId

func (x *MonitorRuntime) GetRuntimeId() string

func (*MonitorRuntime) GetRuntimeName

func (x *MonitorRuntime) GetRuntimeName() string

func (*MonitorRuntime) GetTerminusKey

func (x *MonitorRuntime) GetTerminusKey() string

func (*MonitorRuntime) GetWorkspace

func (x *MonitorRuntime) GetWorkspace() string

func (*MonitorRuntime) MarshalJSON

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

MonitorRuntime implement json.Marshaler.

func (*MonitorRuntime) ProtoMessage

func (*MonitorRuntime) ProtoMessage()

func (*MonitorRuntime) ProtoReflect

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

func (*MonitorRuntime) Reset

func (x *MonitorRuntime) Reset()

func (*MonitorRuntime) String

func (x *MonitorRuntime) String() string

func (*MonitorRuntime) UnmarshalJSON

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

MonitorRuntime implement json.Marshaler.

func (*MonitorRuntime) UnmarshalURLValues

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

MonitorRuntime implement urlenc.URLValuesUnmarshaler.

func (*MonitorRuntime) Validate

func (this *MonitorRuntime) Validate() error

type ResourceCreateResult

type ResourceCreateResult struct {

	// 请求ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// 环境变量
	Config map[string]string `` /* 153-byte string literal not displayed */
	// 标签
	Label map[string]string `` /* 151-byte string literal not displayed */
	// 创建时间
	CreatedAt string `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// 更新时间
	UpdateAt string `protobuf:"bytes,5,opt,name=updateAt,proto3" json:"updateAt,omitempty"`
	// 资源实例状态
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceCreateResult) Descriptor deprecated

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

Deprecated: Use ResourceCreateResult.ProtoReflect.Descriptor instead.

func (*ResourceCreateResult) GetConfig

func (x *ResourceCreateResult) GetConfig() map[string]string

func (*ResourceCreateResult) GetCreatedAt

func (x *ResourceCreateResult) GetCreatedAt() string

func (*ResourceCreateResult) GetId

func (x *ResourceCreateResult) GetId() string

func (*ResourceCreateResult) GetLabel

func (x *ResourceCreateResult) GetLabel() map[string]string

func (*ResourceCreateResult) GetStatus

func (x *ResourceCreateResult) GetStatus() string

func (*ResourceCreateResult) GetUpdateAt

func (x *ResourceCreateResult) GetUpdateAt() string

func (*ResourceCreateResult) MarshalJSON

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

ResourceCreateResult implement json.Marshaler.

func (*ResourceCreateResult) ProtoMessage

func (*ResourceCreateResult) ProtoMessage()

func (*ResourceCreateResult) ProtoReflect

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

func (*ResourceCreateResult) Reset

func (x *ResourceCreateResult) Reset()

func (*ResourceCreateResult) String

func (x *ResourceCreateResult) String() string

func (*ResourceCreateResult) UnmarshalJSON

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

ResourceCreateResult implement json.Marshaler.

func (*ResourceCreateResult) UnmarshalURLValues

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

ResourceCreateResult implement urlenc.URLValuesUnmarshaler.

func (*ResourceCreateResult) Validate

func (this *ResourceCreateResult) Validate() error

type ResourceServiceClient

type ResourceServiceClient interface {
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error)
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceResponse, error)
	GetMonitorRuntime(ctx context.Context, in *GetMonitorRuntimeRequest, opts ...grpc.CallOption) (*GetMonitorRuntimeResponse, error)
	GetMonitorInstance(ctx context.Context, in *GetMonitorInstanceRequest, opts ...grpc.CallOption) (*GetMonitorInstanceResponse, error)
}

ResourceServiceClient is the client API for ResourceService 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 ResourceServiceHandler

type ResourceServiceHandler interface {
	// POST /{engine}/dice/resources
	CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
	// DELETE /{engine}/dice/resources/{id}
	DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
	// GET /api/msp/monitor/runtime/{runtimeId}
	GetMonitorRuntime(context.Context, *GetMonitorRuntimeRequest) (*GetMonitorRuntimeResponse, error)
	// GET /api/msp/monitor/instances/{terminusKey}
	GetMonitorInstance(context.Context, *GetMonitorInstanceRequest) (*GetMonitorInstanceResponse, error)
}

ResourceServiceHandler is the server API for ResourceService service.

type ResourceServiceServer

ResourceServiceServer is the server API for ResourceService service. All implementations should embed UnimplementedResourceServiceServer for forward compatibility

type UnimplementedResourceServiceServer

type UnimplementedResourceServiceServer struct {
}

UnimplementedResourceServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedResourceServiceServer) CreateResource

func (*UnimplementedResourceServiceServer) DeleteResource

func (*UnimplementedResourceServiceServer) GetMonitorInstance

func (*UnimplementedResourceServiceServer) GetMonitorRuntime

Jump to

Keyboard shortcuts

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