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_runtime_service_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_service.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 App

type App struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*App) Descriptor deprecated

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetName

func (x *App) GetName() string

func (*App) GetServices

func (x *App) GetServices() []string

func (*App) MarshalJSON

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

App implement json.Marshaler.

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

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

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

func (*App) UnmarshalJSON

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

App implement json.Marshaler.

func (*App) UnmarshalURLValues

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

App implement urlenc.URLValuesUnmarshaler.

func (*App) Validate

func (this *App) Validate() error

type ChangeRuntimeRequest

type ChangeRuntimeRequest struct {
	OrgId                 string           `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	ProjectId             string           `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	Env                   string           `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"`
	ClusterName           string           `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
	RuntimeId             string           `protobuf:"bytes,5,opt,name=runtimeId,proto3" json:"runtimeId,omitempty"`
	RuntimeName           string           `protobuf:"bytes,6,opt,name=runtimeName,proto3" json:"runtimeName,omitempty"`
	ReleaseId             string           `protobuf:"bytes,7,opt,name=releaseId,proto3" json:"releaseId,omitempty"`
	ServiceGroupNamespace string           `protobuf:"bytes,8,opt,name=serviceGroupNamespace,proto3" json:"serviceGroupNamespace,omitempty"`
	ProjectNamespace      string           `protobuf:"bytes,9,opt,name=projectNamespace,proto3" json:"projectNamespace,omitempty"`
	ServiceGroupName      string           `protobuf:"bytes,10,opt,name=serviceGroupName,proto3" json:"serviceGroupName,omitempty"`
	AppId                 string           `protobuf:"bytes,11,opt,name=appId,proto3" json:"appId,omitempty"`
	AppName               string           `protobuf:"bytes,12,opt,name=appName,proto3" json:"appName,omitempty"`
	Services              []*ServiceDetail `protobuf:"bytes,13,rep,name=services,proto3" json:"services,omitempty"`
	UseApigw              bool             `protobuf:"varint,14,opt,name=useApigw,proto3" json:"useApigw,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeRuntimeRequest) Descriptor deprecated

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

Deprecated: Use ChangeRuntimeRequest.ProtoReflect.Descriptor instead.

func (*ChangeRuntimeRequest) GetAppId

func (x *ChangeRuntimeRequest) GetAppId() string

func (*ChangeRuntimeRequest) GetAppName

func (x *ChangeRuntimeRequest) GetAppName() string

func (*ChangeRuntimeRequest) GetClusterName

func (x *ChangeRuntimeRequest) GetClusterName() string

func (*ChangeRuntimeRequest) GetEnv

func (x *ChangeRuntimeRequest) GetEnv() string

func (*ChangeRuntimeRequest) GetOrgId

func (x *ChangeRuntimeRequest) GetOrgId() string

func (*ChangeRuntimeRequest) GetProjectId

func (x *ChangeRuntimeRequest) GetProjectId() string

func (*ChangeRuntimeRequest) GetProjectNamespace

func (x *ChangeRuntimeRequest) GetProjectNamespace() string

func (*ChangeRuntimeRequest) GetReleaseId

func (x *ChangeRuntimeRequest) GetReleaseId() string

func (*ChangeRuntimeRequest) GetRuntimeId

func (x *ChangeRuntimeRequest) GetRuntimeId() string

func (*ChangeRuntimeRequest) GetRuntimeName

func (x *ChangeRuntimeRequest) GetRuntimeName() string

func (*ChangeRuntimeRequest) GetServiceGroupName

func (x *ChangeRuntimeRequest) GetServiceGroupName() string

func (*ChangeRuntimeRequest) GetServiceGroupNamespace

func (x *ChangeRuntimeRequest) GetServiceGroupNamespace() string

func (*ChangeRuntimeRequest) GetServices

func (x *ChangeRuntimeRequest) GetServices() []*ServiceDetail

func (*ChangeRuntimeRequest) GetUseApigw

func (x *ChangeRuntimeRequest) GetUseApigw() bool

func (*ChangeRuntimeRequest) MarshalJSON

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

ChangeRuntimeRequest implement json.Marshaler.

func (*ChangeRuntimeRequest) ProtoMessage

func (*ChangeRuntimeRequest) ProtoMessage()

func (*ChangeRuntimeRequest) ProtoReflect

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

func (*ChangeRuntimeRequest) Reset

func (x *ChangeRuntimeRequest) Reset()

func (*ChangeRuntimeRequest) String

func (x *ChangeRuntimeRequest) String() string

func (*ChangeRuntimeRequest) UnmarshalJSON

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

ChangeRuntimeRequest implement json.Marshaler.

func (*ChangeRuntimeRequest) UnmarshalURLValues

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

ChangeRuntimeRequest implement urlenc.URLValuesUnmarshaler.

func (*ChangeRuntimeRequest) Validate

func (this *ChangeRuntimeRequest) Validate() error

type ChangeRuntimeResponse

type ChangeRuntimeResponse struct {
	Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeRuntimeResponse) Descriptor deprecated

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

Deprecated: Use ChangeRuntimeResponse.ProtoReflect.Descriptor instead.

func (*ChangeRuntimeResponse) GetData

func (x *ChangeRuntimeResponse) GetData() bool

func (*ChangeRuntimeResponse) MarshalJSON

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

ChangeRuntimeResponse implement json.Marshaler.

func (*ChangeRuntimeResponse) ProtoMessage

func (*ChangeRuntimeResponse) ProtoMessage()

func (*ChangeRuntimeResponse) ProtoReflect

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

func (*ChangeRuntimeResponse) Reset

func (x *ChangeRuntimeResponse) Reset()

func (*ChangeRuntimeResponse) String

func (x *ChangeRuntimeResponse) String() string

func (*ChangeRuntimeResponse) UnmarshalJSON

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

ChangeRuntimeResponse implement json.Marshaler.

func (*ChangeRuntimeResponse) UnmarshalURLValues

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

ChangeRuntimeResponse implement urlenc.URLValuesUnmarshaler.

func (*ChangeRuntimeResponse) Validate

func (this *ChangeRuntimeResponse) Validate() error

type DeleteRuntimeRequest

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

func (*DeleteRuntimeRequest) Descriptor deprecated

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

Deprecated: Use DeleteRuntimeRequest.ProtoReflect.Descriptor instead.

func (*DeleteRuntimeRequest) GetRuntimeId

func (x *DeleteRuntimeRequest) GetRuntimeId() string

func (*DeleteRuntimeRequest) MarshalJSON

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

DeleteRuntimeRequest implement json.Marshaler.

func (*DeleteRuntimeRequest) ProtoMessage

func (*DeleteRuntimeRequest) ProtoMessage()

func (*DeleteRuntimeRequest) ProtoReflect

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

func (*DeleteRuntimeRequest) Reset

func (x *DeleteRuntimeRequest) Reset()

func (*DeleteRuntimeRequest) String

func (x *DeleteRuntimeRequest) String() string

func (*DeleteRuntimeRequest) UnmarshalJSON

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

DeleteRuntimeRequest implement json.Marshaler.

func (*DeleteRuntimeRequest) UnmarshalURLValues

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

DeleteRuntimeRequest implement urlenc.URLValuesUnmarshaler.

func (*DeleteRuntimeRequest) Validate

func (this *DeleteRuntimeRequest) Validate() error

type DeleteRuntimeResponse

type DeleteRuntimeResponse struct {
	Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRuntimeResponse) Descriptor deprecated

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

Deprecated: Use DeleteRuntimeResponse.ProtoReflect.Descriptor instead.

func (*DeleteRuntimeResponse) GetData

func (x *DeleteRuntimeResponse) GetData() bool

func (*DeleteRuntimeResponse) MarshalJSON

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

DeleteRuntimeResponse implement json.Marshaler.

func (*DeleteRuntimeResponse) ProtoMessage

func (*DeleteRuntimeResponse) ProtoMessage()

func (*DeleteRuntimeResponse) ProtoReflect

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

func (*DeleteRuntimeResponse) Reset

func (x *DeleteRuntimeResponse) Reset()

func (*DeleteRuntimeResponse) String

func (x *DeleteRuntimeResponse) String() string

func (*DeleteRuntimeResponse) UnmarshalJSON

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

DeleteRuntimeResponse implement json.Marshaler.

func (*DeleteRuntimeResponse) UnmarshalURLValues

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

DeleteRuntimeResponse implement urlenc.URLValuesUnmarshaler.

func (*DeleteRuntimeResponse) Validate

func (this *DeleteRuntimeResponse) Validate() error

type EndpointDomain

type EndpointDomain struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*EndpointDomain) Descriptor deprecated

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

Deprecated: Use EndpointDomain.ProtoReflect.Descriptor instead.

func (*EndpointDomain) GetDomain

func (x *EndpointDomain) GetDomain() string

func (*EndpointDomain) GetType

func (x *EndpointDomain) GetType() string

func (*EndpointDomain) MarshalJSON

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

EndpointDomain implement json.Marshaler.

func (*EndpointDomain) ProtoMessage

func (*EndpointDomain) ProtoMessage()

func (*EndpointDomain) ProtoReflect

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

func (*EndpointDomain) Reset

func (x *EndpointDomain) Reset()

func (*EndpointDomain) String

func (x *EndpointDomain) String() string

func (*EndpointDomain) UnmarshalJSON

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

EndpointDomain implement json.Marshaler.

func (*EndpointDomain) UnmarshalURLValues

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

EndpointDomain implement urlenc.URLValuesUnmarshaler.

func (*EndpointDomain) Validate

func (this *EndpointDomain) Validate() error

type GetAppsRequest

type GetAppsRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=projectId,proto3" json:"projectId,omitempty"`
	Env       string `protobuf:"bytes,2,opt,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppsRequest) Descriptor deprecated

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

Deprecated: Use GetAppsRequest.ProtoReflect.Descriptor instead.

func (*GetAppsRequest) GetEnv

func (x *GetAppsRequest) GetEnv() string

func (*GetAppsRequest) GetProjectId

func (x *GetAppsRequest) GetProjectId() string

func (*GetAppsRequest) MarshalJSON

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

GetAppsRequest implement json.Marshaler.

func (*GetAppsRequest) ProtoMessage

func (*GetAppsRequest) ProtoMessage()

func (*GetAppsRequest) ProtoReflect

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

func (*GetAppsRequest) Reset

func (x *GetAppsRequest) Reset()

func (*GetAppsRequest) String

func (x *GetAppsRequest) String() string

func (*GetAppsRequest) UnmarshalJSON

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

GetAppsRequest implement json.Marshaler.

func (*GetAppsRequest) UnmarshalURLValues

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

GetAppsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetAppsRequest) Validate

func (this *GetAppsRequest) Validate() error

type GetAppsResponse

type GetAppsResponse struct {
	Apps []*App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppsResponse) Descriptor deprecated

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

Deprecated: Use GetAppsResponse.ProtoReflect.Descriptor instead.

func (*GetAppsResponse) GetApps

func (x *GetAppsResponse) GetApps() []*App

func (*GetAppsResponse) MarshalJSON

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

GetAppsResponse implement json.Marshaler.

func (*GetAppsResponse) ProtoMessage

func (*GetAppsResponse) ProtoMessage()

func (*GetAppsResponse) ProtoReflect

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

func (*GetAppsResponse) Reset

func (x *GetAppsResponse) Reset()

func (*GetAppsResponse) String

func (x *GetAppsResponse) String() string

func (*GetAppsResponse) UnmarshalJSON

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

GetAppsResponse implement json.Marshaler.

func (*GetAppsResponse) UnmarshalURLValues

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

GetAppsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetAppsResponse) Validate

func (this *GetAppsResponse) Validate() error

type GetServiceApiPrefixRequest

type GetServiceApiPrefixRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=projectId,proto3" json:"projectId,omitempty"`
	Env       string `protobuf:"bytes,2,opt,name=env,proto3" json:"env,omitempty"`
	App       string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	Service   string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
	RuntimeId string `protobuf:"bytes,5,opt,name=runtimeId,proto3" json:"runtimeId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceApiPrefixRequest) Descriptor deprecated

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

Deprecated: Use GetServiceApiPrefixRequest.ProtoReflect.Descriptor instead.

func (*GetServiceApiPrefixRequest) GetApp

func (x *GetServiceApiPrefixRequest) GetApp() string

func (*GetServiceApiPrefixRequest) GetEnv

func (x *GetServiceApiPrefixRequest) GetEnv() string

func (*GetServiceApiPrefixRequest) GetProjectId

func (x *GetServiceApiPrefixRequest) GetProjectId() string

func (*GetServiceApiPrefixRequest) GetRuntimeId

func (x *GetServiceApiPrefixRequest) GetRuntimeId() string

func (*GetServiceApiPrefixRequest) GetService

func (x *GetServiceApiPrefixRequest) GetService() string

func (*GetServiceApiPrefixRequest) MarshalJSON

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

GetServiceApiPrefixRequest implement json.Marshaler.

func (*GetServiceApiPrefixRequest) ProtoMessage

func (*GetServiceApiPrefixRequest) ProtoMessage()

func (*GetServiceApiPrefixRequest) ProtoReflect

func (*GetServiceApiPrefixRequest) Reset

func (x *GetServiceApiPrefixRequest) Reset()

func (*GetServiceApiPrefixRequest) String

func (x *GetServiceApiPrefixRequest) String() string

func (*GetServiceApiPrefixRequest) UnmarshalJSON

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

GetServiceApiPrefixRequest implement json.Marshaler.

func (*GetServiceApiPrefixRequest) UnmarshalURLValues

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

GetServiceApiPrefixRequest implement urlenc.URLValuesUnmarshaler.

func (*GetServiceApiPrefixRequest) Validate

func (this *GetServiceApiPrefixRequest) Validate() error

type GetServiceApiPrefixResponse

type GetServiceApiPrefixResponse struct {
	Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceApiPrefixResponse) Descriptor deprecated

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

Deprecated: Use GetServiceApiPrefixResponse.ProtoReflect.Descriptor instead.

func (*GetServiceApiPrefixResponse) GetData

func (x *GetServiceApiPrefixResponse) GetData() []string

func (*GetServiceApiPrefixResponse) MarshalJSON

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

GetServiceApiPrefixResponse implement json.Marshaler.

func (*GetServiceApiPrefixResponse) ProtoMessage

func (*GetServiceApiPrefixResponse) ProtoMessage()

func (*GetServiceApiPrefixResponse) ProtoReflect

func (*GetServiceApiPrefixResponse) Reset

func (x *GetServiceApiPrefixResponse) Reset()

func (*GetServiceApiPrefixResponse) String

func (x *GetServiceApiPrefixResponse) String() string

func (*GetServiceApiPrefixResponse) UnmarshalJSON

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

GetServiceApiPrefixResponse implement json.Marshaler.

func (*GetServiceApiPrefixResponse) UnmarshalURLValues

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

GetServiceApiPrefixResponse implement urlenc.URLValuesUnmarshaler.

func (*GetServiceApiPrefixResponse) Validate

func (this *GetServiceApiPrefixResponse) Validate() error

type GetServiceRuntimesRequest

type GetServiceRuntimesRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=projectId,proto3" json:"projectId,omitempty"`
	Env       string `protobuf:"bytes,2,opt,name=env,proto3" json:"env,omitempty"`
	App       string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	Service   string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceRuntimesRequest) Descriptor deprecated

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

Deprecated: Use GetServiceRuntimesRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRuntimesRequest) GetApp

func (x *GetServiceRuntimesRequest) GetApp() string

func (*GetServiceRuntimesRequest) GetEnv

func (x *GetServiceRuntimesRequest) GetEnv() string

func (*GetServiceRuntimesRequest) GetProjectId

func (x *GetServiceRuntimesRequest) GetProjectId() string

func (*GetServiceRuntimesRequest) GetService

func (x *GetServiceRuntimesRequest) GetService() string

func (*GetServiceRuntimesRequest) MarshalJSON

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

GetServiceRuntimesRequest implement json.Marshaler.

func (*GetServiceRuntimesRequest) ProtoMessage

func (*GetServiceRuntimesRequest) ProtoMessage()

func (*GetServiceRuntimesRequest) ProtoReflect

func (*GetServiceRuntimesRequest) Reset

func (x *GetServiceRuntimesRequest) Reset()

func (*GetServiceRuntimesRequest) String

func (x *GetServiceRuntimesRequest) String() string

func (*GetServiceRuntimesRequest) UnmarshalJSON

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

GetServiceRuntimesRequest implement json.Marshaler.

func (*GetServiceRuntimesRequest) UnmarshalURLValues

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

GetServiceRuntimesRequest implement urlenc.URLValuesUnmarshaler.

func (*GetServiceRuntimesRequest) Validate

func (this *GetServiceRuntimesRequest) Validate() error

type GetServiceRuntimesResponse

type GetServiceRuntimesResponse struct {
	Data []*ServiceRuntime `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceRuntimesResponse) Descriptor deprecated

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

Deprecated: Use GetServiceRuntimesResponse.ProtoReflect.Descriptor instead.

func (*GetServiceRuntimesResponse) GetData

func (*GetServiceRuntimesResponse) MarshalJSON

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

GetServiceRuntimesResponse implement json.Marshaler.

func (*GetServiceRuntimesResponse) ProtoMessage

func (*GetServiceRuntimesResponse) ProtoMessage()

func (*GetServiceRuntimesResponse) ProtoReflect

func (*GetServiceRuntimesResponse) Reset

func (x *GetServiceRuntimesResponse) Reset()

func (*GetServiceRuntimesResponse) String

func (x *GetServiceRuntimesResponse) String() string

func (*GetServiceRuntimesResponse) UnmarshalJSON

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

GetServiceRuntimesResponse implement json.Marshaler.

func (*GetServiceRuntimesResponse) UnmarshalURLValues

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

GetServiceRuntimesResponse implement urlenc.URLValuesUnmarshaler.

func (*GetServiceRuntimesResponse) Validate

func (this *GetServiceRuntimesResponse) Validate() error

type RuntimeServiceClient

type RuntimeServiceClient interface {
	// +publish path:"/api/gateway/runtime-services"
	ChangeRuntime(ctx context.Context, in *ChangeRuntimeRequest, opts ...grpc.CallOption) (*ChangeRuntimeResponse, error)
	// +publish path:"/api/gateway/runtime-services/{runtimeId}"
	DeleteRuntime(ctx context.Context, in *DeleteRuntimeRequest, opts ...grpc.CallOption) (*DeleteRuntimeResponse, error)
	// +publish path:"/api/gateway/register-apps"
	GetApps(ctx context.Context, in *GetAppsRequest, opts ...grpc.CallOption) (*GetAppsResponse, error)
	// +publish path:"/api/gateway/openapi/service-runtime"
	GetServiceRuntimes(ctx context.Context, in *GetServiceRuntimesRequest, opts ...grpc.CallOption) (*GetServiceRuntimesResponse, error)
	// +publish path:"/api/gateway/openapi/service-api-prefix"
	GetServiceApiPrefix(ctx context.Context, in *GetServiceApiPrefixRequest, opts ...grpc.CallOption) (*GetServiceApiPrefixResponse, 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 {
	// +publish path:"/api/gateway/runtime-services"
	// PUT /api/gateway/runtime-services
	ChangeRuntime(context.Context, *ChangeRuntimeRequest) (*ChangeRuntimeResponse, error)
	// +publish path:"/api/gateway/runtime-services/{runtimeId}"
	// DELETE /api/gateway/runtime-services/{runtimeId}
	DeleteRuntime(context.Context, *DeleteRuntimeRequest) (*DeleteRuntimeResponse, error)
	// +publish path:"/api/gateway/register-apps"
	// GET /api/gateway/register-apps
	GetApps(context.Context, *GetAppsRequest) (*GetAppsResponse, error)
	// +publish path:"/api/gateway/openapi/service-runtime"
	// GET /api/gateway/openapi/service-runtime
	GetServiceRuntimes(context.Context, *GetServiceRuntimesRequest) (*GetServiceRuntimesResponse, error)
	// +publish path:"/api/gateway/openapi/service-api-prefix"
	// GET /api/gateway/openapi/service-api-prefix
	GetServiceApiPrefix(context.Context, *GetServiceApiPrefixRequest) (*GetServiceApiPrefixResponse, error)
}

RuntimeServiceHandler is the server API for RuntimeService service.

type RuntimeServiceServer

type RuntimeServiceServer interface {
	// +publish path:"/api/gateway/runtime-services"
	ChangeRuntime(context.Context, *ChangeRuntimeRequest) (*ChangeRuntimeResponse, error)
	// +publish path:"/api/gateway/runtime-services/{runtimeId}"
	DeleteRuntime(context.Context, *DeleteRuntimeRequest) (*DeleteRuntimeResponse, error)
	// +publish path:"/api/gateway/register-apps"
	GetApps(context.Context, *GetAppsRequest) (*GetAppsResponse, error)
	// +publish path:"/api/gateway/openapi/service-runtime"
	GetServiceRuntimes(context.Context, *GetServiceRuntimesRequest) (*GetServiceRuntimesResponse, error)
	// +publish path:"/api/gateway/openapi/service-api-prefix"
	GetServiceApiPrefix(context.Context, *GetServiceApiPrefixRequest) (*GetServiceApiPrefixResponse, error)
}

RuntimeServiceServer is the server API for RuntimeService service. All implementations should embed UnimplementedRuntimeServiceServer for forward compatibility

type ServiceDetail

type ServiceDetail struct {
	ServiceName     string            `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
	InnerAddress    string            `protobuf:"bytes,2,opt,name=innerAddress,proto3" json:"innerAddress,omitempty"`
	EndpointDomains []*EndpointDomain `protobuf:"bytes,3,rep,name=endpointDomains,proto3" json:"endpointDomains,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceDetail) Descriptor deprecated

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

Deprecated: Use ServiceDetail.ProtoReflect.Descriptor instead.

func (*ServiceDetail) GetEndpointDomains

func (x *ServiceDetail) GetEndpointDomains() []*EndpointDomain

func (*ServiceDetail) GetInnerAddress

func (x *ServiceDetail) GetInnerAddress() string

func (*ServiceDetail) GetServiceName

func (x *ServiceDetail) GetServiceName() string

func (*ServiceDetail) MarshalJSON

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

ServiceDetail implement json.Marshaler.

func (*ServiceDetail) ProtoMessage

func (*ServiceDetail) ProtoMessage()

func (*ServiceDetail) ProtoReflect

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

func (*ServiceDetail) Reset

func (x *ServiceDetail) Reset()

func (*ServiceDetail) String

func (x *ServiceDetail) String() string

func (*ServiceDetail) UnmarshalJSON

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

ServiceDetail implement json.Marshaler.

func (*ServiceDetail) UnmarshalURLValues

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

ServiceDetail implement urlenc.URLValuesUnmarshaler.

func (*ServiceDetail) Validate

func (this *ServiceDetail) Validate() error

type ServiceRuntime

type ServiceRuntime struct {
	RuntimeId   string `protobuf:"bytes,1,opt,name=runtimeId,json=runtime_id,proto3" json:"runtimeId,omitempty"`
	RuntimeName string `protobuf:"bytes,2,opt,name=runtimeName,json=runtime_name,proto3" json:"runtimeName,omitempty"`
	AppId       string `protobuf:"bytes,3,opt,name=appId,json=app_id,proto3" json:"appId,omitempty"`
	AppName     string `protobuf:"bytes,4,opt,name=appName,json=app_name,proto3" json:"appName,omitempty"`
	ServiceName string `protobuf:"bytes,5,opt,name=serviceName,json=service_name,proto3" json:"serviceName,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceRuntime) Descriptor deprecated

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

Deprecated: Use ServiceRuntime.ProtoReflect.Descriptor instead.

func (*ServiceRuntime) GetAppId

func (x *ServiceRuntime) GetAppId() string

func (*ServiceRuntime) GetAppName

func (x *ServiceRuntime) GetAppName() string

func (*ServiceRuntime) GetRuntimeId

func (x *ServiceRuntime) GetRuntimeId() string

func (*ServiceRuntime) GetRuntimeName

func (x *ServiceRuntime) GetRuntimeName() string

func (*ServiceRuntime) GetServiceName

func (x *ServiceRuntime) GetServiceName() string

func (*ServiceRuntime) MarshalJSON

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

ServiceRuntime implement json.Marshaler.

func (*ServiceRuntime) ProtoMessage

func (*ServiceRuntime) ProtoMessage()

func (*ServiceRuntime) ProtoReflect

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

func (*ServiceRuntime) Reset

func (x *ServiceRuntime) Reset()

func (*ServiceRuntime) String

func (x *ServiceRuntime) String() string

func (*ServiceRuntime) UnmarshalJSON

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

ServiceRuntime implement json.Marshaler.

func (*ServiceRuntime) UnmarshalURLValues

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

ServiceRuntime implement urlenc.URLValuesUnmarshaler.

func (*ServiceRuntime) Validate

func (this *ServiceRuntime) Validate() error

type UnimplementedRuntimeServiceServer

type UnimplementedRuntimeServiceServer struct {
}

UnimplementedRuntimeServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedRuntimeServiceServer) ChangeRuntime

func (*UnimplementedRuntimeServiceServer) DeleteRuntime

func (*UnimplementedRuntimeServiceServer) GetApps

func (*UnimplementedRuntimeServiceServer) GetServiceApiPrefix

func (*UnimplementedRuntimeServiceServer) GetServiceRuntimes

Jump to

Keyboard shortcuts

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