Documentation ¶
Overview ¶
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterServicesProvidersExtentionsServiceServer(s grpc.ServiceRegistrar, srv ServicesProvidersExtentionsServiceServer)
- func RegisterServicesProvidersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func RegisterServicesProvidersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterServicesProvidersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterServicesProvidersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterServicesProvidersServiceServer(s grpc.ServiceRegistrar, srv ServicesProvidersServiceServer)
- type ActionRequest
- func (*ActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActionRequest) GetRequest() *ActionRequest_Request
- func (x *ActionRequest) GetServicesProvider() *ServicesProvider
- func (*ActionRequest) ProtoMessage()
- func (x *ActionRequest) ProtoReflect() protoreflect.Message
- func (x *ActionRequest) Reset()
- func (x *ActionRequest) String() string
- type ActionRequest_Request
- func (*ActionRequest_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ActionRequest_Request) GetAction() *structpb.Value
- func (x *ActionRequest_Request) GetParams() []*structpb.Value
- func (*ActionRequest_Request) ProtoMessage()
- func (x *ActionRequest_Request) ProtoReflect() protoreflect.Message
- func (x *ActionRequest_Request) Reset()
- func (x *ActionRequest_Request) String() string
- type DeleteRequest
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponse) GetResult() bool
- func (x *DeleteResponse) GetServices() []string
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- type GenericResponse
- func (*GenericResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenericResponse) GetError() string
- func (x *GenericResponse) GetResult() bool
- func (*GenericResponse) ProtoMessage()
- func (x *GenericResponse) ProtoReflect() protoreflect.Message
- func (x *GenericResponse) Reset()
- func (x *GenericResponse) String() string
- type GetRequest
- type GetTypeRequest
- type GetTypeResponse
- type ListExtentionsResponse
- func (*ListExtentionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListExtentionsResponse) GetTypes() []string
- func (*ListExtentionsResponse) ProtoMessage()
- func (x *ListExtentionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListExtentionsResponse) Reset()
- func (x *ListExtentionsResponse) String() string
- type ListRequest
- type ListResponse
- type ServicesProvider
- func (*ServicesProvider) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesProvider) GetExtentions() map[string]*structpb.Struct
- func (x *ServicesProvider) GetSecrets() map[string]*structpb.Value
- func (x *ServicesProvider) GetState() *proto.State
- func (x *ServicesProvider) GetTitle() string
- func (x *ServicesProvider) GetType() string
- func (x *ServicesProvider) GetUuid() string
- func (x *ServicesProvider) GetVars() map[string]*Var
- func (*ServicesProvider) ProtoMessage()
- func (x *ServicesProvider) ProtoReflect() protoreflect.Message
- func (x *ServicesProvider) Reset()
- func (x *ServicesProvider) String() string
- type ServicesProvidersExtentionData
- func (*ServicesProvidersExtentionData) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesProvidersExtentionData) GetData() *structpb.Struct
- func (x *ServicesProvidersExtentionData) GetUuid() string
- func (*ServicesProvidersExtentionData) ProtoMessage()
- func (x *ServicesProvidersExtentionData) ProtoReflect() protoreflect.Message
- func (x *ServicesProvidersExtentionData) Reset()
- func (x *ServicesProvidersExtentionData) String() string
- type ServicesProvidersExtentionsServiceClient
- type ServicesProvidersExtentionsServiceServer
- type ServicesProvidersServiceClient
- type ServicesProvidersServiceServer
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestResponse) GetError() string
- func (x *TestResponse) GetResult() bool
- func (*TestResponse) ProtoMessage()
- func (x *TestResponse) ProtoReflect() protoreflect.Message
- func (x *TestResponse) Reset()
- func (x *TestResponse) String() string
- type UnimplementedServicesProvidersExtentionsServiceServer
- func (UnimplementedServicesProvidersExtentionsServiceServer) GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error)
- func (UnimplementedServicesProvidersExtentionsServiceServer) Register(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error)
- func (UnimplementedServicesProvidersExtentionsServiceServer) Test(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error)
- func (UnimplementedServicesProvidersExtentionsServiceServer) Unregister(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error)
- func (UnimplementedServicesProvidersExtentionsServiceServer) Update(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error)
- type UnimplementedServicesProvidersServiceServer
- func (UnimplementedServicesProvidersServiceServer) Create(context.Context, *ServicesProvider) (*ServicesProvider, error)
- func (UnimplementedServicesProvidersServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedServicesProvidersServiceServer) Get(context.Context, *GetRequest) (*ServicesProvider, error)
- func (UnimplementedServicesProvidersServiceServer) Invoke(context.Context, *ActionRequest) (*structpb.Struct, error)
- func (UnimplementedServicesProvidersServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedServicesProvidersServiceServer) ListExtentions(context.Context, *ListRequest) (*ListExtentionsResponse, error)
- func (UnimplementedServicesProvidersServiceServer) Test(context.Context, *ServicesProvider) (*TestResponse, error)
- type UnsafeServicesProvidersExtentionsServiceServer
- type UnsafeServicesProvidersServiceServer
- type Var
Constants ¶
This section is empty.
Variables ¶
var File_pkg_services_providers_proto_services_providers_proto protoreflect.FileDescriptor
var ServicesProvidersExtentionsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nocloud.services_providers.ServicesProvidersExtentionsService", HandlerType: (*ServicesProvidersExtentionsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetType", Handler: _ServicesProvidersExtentionsService_GetType_Handler, }, { MethodName: "Test", Handler: _ServicesProvidersExtentionsService_Test_Handler, }, { MethodName: "Register", Handler: _ServicesProvidersExtentionsService_Register_Handler, }, { MethodName: "Update", Handler: _ServicesProvidersExtentionsService_Update_Handler, }, { MethodName: "Unregister", Handler: _ServicesProvidersExtentionsService_Unregister_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/services_providers/proto/services_providers.proto", }
ServicesProvidersExtentionsService_ServiceDesc is the grpc.ServiceDesc for ServicesProvidersExtentionsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ServicesProvidersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nocloud.services_providers.ServicesProvidersService", HandlerType: (*ServicesProvidersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Test", Handler: _ServicesProvidersService_Test_Handler, }, { MethodName: "Create", Handler: _ServicesProvidersService_Create_Handler, }, { MethodName: "Delete", Handler: _ServicesProvidersService_Delete_Handler, }, { MethodName: "Get", Handler: _ServicesProvidersService_Get_Handler, }, { MethodName: "List", Handler: _ServicesProvidersService_List_Handler, }, { MethodName: "Invoke", Handler: _ServicesProvidersService_Invoke_Handler, }, { MethodName: "ListExtentions", Handler: _ServicesProvidersService_ListExtentions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/services_providers/proto/services_providers.proto", }
ServicesProvidersService_ServiceDesc is the grpc.ServiceDesc for ServicesProvidersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServicesProvidersExtentionsServiceServer ¶
func RegisterServicesProvidersExtentionsServiceServer(s grpc.ServiceRegistrar, srv ServicesProvidersExtentionsServiceServer)
func RegisterServicesProvidersServiceHandler ¶
func RegisterServicesProvidersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
RegisterServicesProvidersServiceHandler registers the http handlers for service ServicesProvidersService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterServicesProvidersServiceHandlerClient ¶
func RegisterServicesProvidersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServicesProvidersServiceClient) error
RegisterServicesProvidersServiceHandlerClient registers the http handlers for service ServicesProvidersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ServicesProvidersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ServicesProvidersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ServicesProvidersServiceClient" to call the correct interceptors.
func RegisterServicesProvidersServiceHandlerFromEndpoint ¶
func RegisterServicesProvidersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterServicesProvidersServiceHandlerFromEndpoint is same as RegisterServicesProvidersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterServicesProvidersServiceHandlerServer ¶
func RegisterServicesProvidersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServicesProvidersServiceServer) error
RegisterServicesProvidersServiceHandlerServer registers the http handlers for service ServicesProvidersService to "mux". UnaryRPC :call ServicesProvidersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterServicesProvidersServiceHandlerFromEndpoint instead.
func RegisterServicesProvidersServiceServer ¶
func RegisterServicesProvidersServiceServer(s grpc.ServiceRegistrar, srv ServicesProvidersServiceServer)
Types ¶
type ActionRequest ¶
type ActionRequest struct { ServicesProvider *ServicesProvider `protobuf:"bytes,1,opt,name=services_provider,json=servicesProvider,proto3" json:"services_provider,omitempty"` Request *ActionRequest_Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
Available only for users with SUPERUSER and ADMIN access to platform namespace
func (*ActionRequest) Descriptor
deprecated
func (*ActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActionRequest.ProtoReflect.Descriptor instead.
func (*ActionRequest) GetRequest ¶
func (x *ActionRequest) GetRequest() *ActionRequest_Request
func (*ActionRequest) GetServicesProvider ¶
func (x *ActionRequest) GetServicesProvider() *ServicesProvider
func (*ActionRequest) ProtoMessage ¶
func (*ActionRequest) ProtoMessage()
func (*ActionRequest) ProtoReflect ¶
func (x *ActionRequest) ProtoReflect() protoreflect.Message
func (*ActionRequest) Reset ¶
func (x *ActionRequest) Reset()
func (*ActionRequest) String ¶
func (x *ActionRequest) String() string
type ActionRequest_Request ¶
type ActionRequest_Request struct { Action *structpb.Value `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Params []*structpb.Value `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*ActionRequest_Request) Descriptor
deprecated
func (*ActionRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use ActionRequest_Request.ProtoReflect.Descriptor instead.
func (*ActionRequest_Request) GetAction ¶
func (x *ActionRequest_Request) GetAction() *structpb.Value
func (*ActionRequest_Request) GetParams ¶
func (x *ActionRequest_Request) GetParams() []*structpb.Value
func (*ActionRequest_Request) ProtoMessage ¶
func (*ActionRequest_Request) ProtoMessage()
func (*ActionRequest_Request) ProtoReflect ¶
func (x *ActionRequest_Request) ProtoReflect() protoreflect.Message
func (*ActionRequest_Request) Reset ¶
func (x *ActionRequest_Request) Reset()
func (*ActionRequest_Request) String ¶
func (x *ActionRequest_Request) String() string
type DeleteRequest ¶
type DeleteRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetUuid ¶
func (x *DeleteRequest) GetUuid() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetResult ¶
func (x *DeleteResponse) GetResult() bool
func (*DeleteResponse) GetServices ¶
func (x *DeleteResponse) GetServices() []string
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type GenericResponse ¶
type GenericResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GenericResponse) Descriptor
deprecated
func (*GenericResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenericResponse.ProtoReflect.Descriptor instead.
func (*GenericResponse) GetError ¶
func (x *GenericResponse) GetError() string
func (*GenericResponse) GetResult ¶
func (x *GenericResponse) GetResult() bool
func (*GenericResponse) ProtoMessage ¶
func (*GenericResponse) ProtoMessage()
func (*GenericResponse) ProtoReflect ¶
func (x *GenericResponse) ProtoReflect() protoreflect.Message
func (*GenericResponse) Reset ¶
func (x *GenericResponse) Reset()
func (*GenericResponse) String ¶
func (x *GenericResponse) String() string
type GetRequest ¶
type GetRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetUuid ¶
func (x *GetRequest) GetUuid() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetTypeRequest ¶
type GetTypeRequest struct {
// contains filtered or unexported fields
}
func (*GetTypeRequest) Descriptor
deprecated
func (*GetTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTypeRequest.ProtoReflect.Descriptor instead.
func (*GetTypeRequest) ProtoMessage ¶
func (*GetTypeRequest) ProtoMessage()
func (*GetTypeRequest) ProtoReflect ¶
func (x *GetTypeRequest) ProtoReflect() protoreflect.Message
func (*GetTypeRequest) Reset ¶
func (x *GetTypeRequest) Reset()
func (*GetTypeRequest) String ¶
func (x *GetTypeRequest) String() string
type GetTypeResponse ¶
type GetTypeResponse struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetTypeResponse) Descriptor
deprecated
func (*GetTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTypeResponse.ProtoReflect.Descriptor instead.
func (*GetTypeResponse) GetType ¶
func (x *GetTypeResponse) GetType() string
func (*GetTypeResponse) ProtoMessage ¶
func (*GetTypeResponse) ProtoMessage()
func (*GetTypeResponse) ProtoReflect ¶
func (x *GetTypeResponse) ProtoReflect() protoreflect.Message
func (*GetTypeResponse) Reset ¶
func (x *GetTypeResponse) Reset()
func (*GetTypeResponse) String ¶
func (x *GetTypeResponse) String() string
type ListExtentionsResponse ¶
type ListExtentionsResponse struct { Types []string `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` // contains filtered or unexported fields }
func (*ListExtentionsResponse) Descriptor
deprecated
func (*ListExtentionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListExtentionsResponse.ProtoReflect.Descriptor instead.
func (*ListExtentionsResponse) GetTypes ¶
func (x *ListExtentionsResponse) GetTypes() []string
func (*ListExtentionsResponse) ProtoMessage ¶
func (*ListExtentionsResponse) ProtoMessage()
func (*ListExtentionsResponse) ProtoReflect ¶
func (x *ListExtentionsResponse) ProtoReflect() protoreflect.Message
func (*ListExtentionsResponse) Reset ¶
func (x *ListExtentionsResponse) Reset()
func (*ListExtentionsResponse) String ¶
func (x *ListExtentionsResponse) String() string
type ListRequest ¶
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Pool []*ServicesProvider `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetPool ¶
func (x *ListResponse) GetPool() []*ServicesProvider
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type ServicesProvider ¶
type ServicesProvider struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Secrets map[string]*structpb.Value `` // json /* 155-byte string literal not displayed */ Vars map[string]*Var `` /* 149-byte string literal not displayed */ Extentions map[string]*structpb.Struct `` /* 161-byte string literal not displayed */ State *proto.State `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ServicesProvider) Descriptor
deprecated
func (*ServicesProvider) Descriptor() ([]byte, []int)
Deprecated: Use ServicesProvider.ProtoReflect.Descriptor instead.
func (*ServicesProvider) GetExtentions ¶
func (x *ServicesProvider) GetExtentions() map[string]*structpb.Struct
func (*ServicesProvider) GetSecrets ¶
func (x *ServicesProvider) GetSecrets() map[string]*structpb.Value
func (*ServicesProvider) GetState ¶
func (x *ServicesProvider) GetState() *proto.State
func (*ServicesProvider) GetTitle ¶
func (x *ServicesProvider) GetTitle() string
func (*ServicesProvider) GetType ¶
func (x *ServicesProvider) GetType() string
func (*ServicesProvider) GetUuid ¶
func (x *ServicesProvider) GetUuid() string
func (*ServicesProvider) GetVars ¶
func (x *ServicesProvider) GetVars() map[string]*Var
func (*ServicesProvider) ProtoMessage ¶
func (*ServicesProvider) ProtoMessage()
func (*ServicesProvider) ProtoReflect ¶
func (x *ServicesProvider) ProtoReflect() protoreflect.Message
func (*ServicesProvider) Reset ¶
func (x *ServicesProvider) Reset()
func (*ServicesProvider) String ¶
func (x *ServicesProvider) String() string
type ServicesProvidersExtentionData ¶
type ServicesProvidersExtentionData struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ServicesProvidersExtentionData) Descriptor
deprecated
func (*ServicesProvidersExtentionData) Descriptor() ([]byte, []int)
Deprecated: Use ServicesProvidersExtentionData.ProtoReflect.Descriptor instead.
func (*ServicesProvidersExtentionData) GetData ¶
func (x *ServicesProvidersExtentionData) GetData() *structpb.Struct
func (*ServicesProvidersExtentionData) GetUuid ¶
func (x *ServicesProvidersExtentionData) GetUuid() string
func (*ServicesProvidersExtentionData) ProtoMessage ¶
func (*ServicesProvidersExtentionData) ProtoMessage()
func (*ServicesProvidersExtentionData) ProtoReflect ¶
func (x *ServicesProvidersExtentionData) ProtoReflect() protoreflect.Message
func (*ServicesProvidersExtentionData) Reset ¶
func (x *ServicesProvidersExtentionData) Reset()
func (*ServicesProvidersExtentionData) String ¶
func (x *ServicesProvidersExtentionData) String() string
type ServicesProvidersExtentionsServiceClient ¶
type ServicesProvidersExtentionsServiceClient interface { GetType(ctx context.Context, in *GetTypeRequest, opts ...grpc.CallOption) (*GetTypeResponse, error) Test(ctx context.Context, in *ServicesProvidersExtentionData, opts ...grpc.CallOption) (*GenericResponse, error) Register(ctx context.Context, in *ServicesProvidersExtentionData, opts ...grpc.CallOption) (*GenericResponse, error) Update(ctx context.Context, in *ServicesProvidersExtentionData, opts ...grpc.CallOption) (*GenericResponse, error) Unregister(ctx context.Context, in *ServicesProvidersExtentionData, opts ...grpc.CallOption) (*GenericResponse, error) }
ServicesProvidersExtentionsServiceClient is the client API for ServicesProvidersExtentionsService 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 NewServicesProvidersExtentionsServiceClient ¶
func NewServicesProvidersExtentionsServiceClient(cc grpc.ClientConnInterface) ServicesProvidersExtentionsServiceClient
type ServicesProvidersExtentionsServiceServer ¶
type ServicesProvidersExtentionsServiceServer interface { GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error) Test(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error) Register(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error) Update(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error) Unregister(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error) // contains filtered or unexported methods }
ServicesProvidersExtentionsServiceServer is the server API for ServicesProvidersExtentionsService service. All implementations must embed UnimplementedServicesProvidersExtentionsServiceServer for forward compatibility
type ServicesProvidersServiceClient ¶
type ServicesProvidersServiceClient interface { Test(ctx context.Context, in *ServicesProvider, opts ...grpc.CallOption) (*TestResponse, error) Create(ctx context.Context, in *ServicesProvider, opts ...grpc.CallOption) (*ServicesProvider, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*ServicesProvider, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Invoke(ctx context.Context, in *ActionRequest, opts ...grpc.CallOption) (*structpb.Struct, error) ListExtentions(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListExtentionsResponse, error) }
ServicesProvidersServiceClient is the client API for ServicesProvidersService 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 NewServicesProvidersServiceClient ¶
func NewServicesProvidersServiceClient(cc grpc.ClientConnInterface) ServicesProvidersServiceClient
type ServicesProvidersServiceServer ¶
type ServicesProvidersServiceServer interface { Test(context.Context, *ServicesProvider) (*TestResponse, error) Create(context.Context, *ServicesProvider) (*ServicesProvider, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) Get(context.Context, *GetRequest) (*ServicesProvider, error) List(context.Context, *ListRequest) (*ListResponse, error) Invoke(context.Context, *ActionRequest) (*structpb.Struct, error) ListExtentions(context.Context, *ListRequest) (*ListExtentionsResponse, error) // contains filtered or unexported methods }
ServicesProvidersServiceServer is the server API for ServicesProvidersService service. All implementations must embed UnimplementedServicesProvidersServiceServer for forward compatibility
type TestResponse ¶
type TestResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetError ¶
func (x *TestResponse) GetError() string
func (*TestResponse) GetResult ¶
func (x *TestResponse) GetResult() bool
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
type UnimplementedServicesProvidersExtentionsServiceServer ¶
type UnimplementedServicesProvidersExtentionsServiceServer struct { }
UnimplementedServicesProvidersExtentionsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServicesProvidersExtentionsServiceServer) GetType ¶
func (UnimplementedServicesProvidersExtentionsServiceServer) GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error)
func (UnimplementedServicesProvidersExtentionsServiceServer) Unregister ¶
func (UnimplementedServicesProvidersExtentionsServiceServer) Unregister(context.Context, *ServicesProvidersExtentionData) (*GenericResponse, error)
type UnimplementedServicesProvidersServiceServer ¶
type UnimplementedServicesProvidersServiceServer struct { }
UnimplementedServicesProvidersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServicesProvidersServiceServer) Create ¶
func (UnimplementedServicesProvidersServiceServer) Create(context.Context, *ServicesProvider) (*ServicesProvider, error)
func (UnimplementedServicesProvidersServiceServer) Delete ¶
func (UnimplementedServicesProvidersServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedServicesProvidersServiceServer) Get ¶
func (UnimplementedServicesProvidersServiceServer) Get(context.Context, *GetRequest) (*ServicesProvider, error)
func (UnimplementedServicesProvidersServiceServer) Invoke ¶
func (UnimplementedServicesProvidersServiceServer) Invoke(context.Context, *ActionRequest) (*structpb.Struct, error)
func (UnimplementedServicesProvidersServiceServer) List ¶
func (UnimplementedServicesProvidersServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedServicesProvidersServiceServer) ListExtentions ¶
func (UnimplementedServicesProvidersServiceServer) ListExtentions(context.Context, *ListRequest) (*ListExtentionsResponse, error)
func (UnimplementedServicesProvidersServiceServer) Test ¶
func (UnimplementedServicesProvidersServiceServer) Test(context.Context, *ServicesProvider) (*TestResponse, error)
type UnsafeServicesProvidersExtentionsServiceServer ¶
type UnsafeServicesProvidersExtentionsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServicesProvidersExtentionsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServicesProvidersExtentionsServiceServer will result in compilation errors.
type UnsafeServicesProvidersServiceServer ¶
type UnsafeServicesProvidersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServicesProvidersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServicesProvidersServiceServer will result in compilation errors.
type Var ¶
type Var struct { Value map[string]*structpb.Value `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Var) Descriptor
deprecated
func (*Var) ProtoMessage ¶
func (*Var) ProtoMessage()
func (*Var) ProtoReflect ¶
func (x *Var) ProtoReflect() protoreflect.Message