Documentation
¶
Overview ¶
Package systemv3 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package systemv3 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package systemv3 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package systemv3 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package systemv3 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package systemv3 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterIdpServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIdpServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdpServiceClient) error
- func RegisterIdpServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIdpServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdpServiceServer) error
- func RegisterIdpServiceServer(s grpc.ServiceRegistrar, srv IdpServiceServer)
- func RegisterLocationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLocationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocationServiceClient) error
- func RegisterLocationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLocationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocationServiceServer) error
- func RegisterLocationServiceServer(s grpc.ServiceRegistrar, srv LocationServiceServer)
- func RegisterOIDCProviderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOIDCProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OIDCProviderServiceClient) error
- func RegisterOIDCProviderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOIDCProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OIDCProviderServiceServer) error
- func RegisterOIDCProviderServiceServer(s grpc.ServiceRegistrar, srv OIDCProviderServiceServer)
- func RegisterOrganizationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOrganizationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationServiceClient) error
- func RegisterOrganizationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOrganizationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServiceServer) error
- func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
- func RegisterPartnerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPartnerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PartnerServiceClient) error
- func RegisterPartnerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPartnerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PartnerServiceServer) error
- func RegisterPartnerServiceServer(s grpc.ServiceRegistrar, srv PartnerServiceServer)
- func RegisterProjectServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectServiceClient) error
- func RegisterProjectServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectServiceServer) error
- func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
- type EmptyRequest
- type IdpServiceClient
- type IdpServiceServer
- type LocationServiceClient
- type LocationServiceServer
- type OIDCProviderServiceClient
- type OIDCProviderServiceServer
- type Option
- type OrganizationServiceClient
- type OrganizationServiceServer
- type PartnerServiceClient
- type PartnerServiceServer
- type ProjectServiceClient
- type ProjectServiceServer
- type SystemClient
- type SystemPool
- type UnimplementedIdpServiceServer
- func (UnimplementedIdpServiceServer) CreateIdp(context.Context, *v3.Idp) (*v3.Idp, error)
- func (UnimplementedIdpServiceServer) DeleteIdp(context.Context, *v3.Idp) (*emptypb.Empty, error)
- func (UnimplementedIdpServiceServer) GetIdp(context.Context, *v3.Idp) (*v3.Idp, error)
- func (UnimplementedIdpServiceServer) ListIdps(context.Context, *emptypb.Empty) (*v3.IdpList, error)
- func (UnimplementedIdpServiceServer) UpdateIdp(context.Context, *v3.Idp) (*v3.Idp, error)
- type UnimplementedLocationServiceServer
- func (UnimplementedLocationServiceServer) CreateLocation(context.Context, *v3.Location) (*v3.Location, error)
- func (UnimplementedLocationServiceServer) DeleteLocation(context.Context, *v3.Location) (*v3.Location, error)
- func (UnimplementedLocationServiceServer) GetLocation(context.Context, *v3.Location) (*v3.Location, error)
- func (UnimplementedLocationServiceServer) GetLocations(context.Context, *v3.Location) (*v3.LocationList, error)
- func (UnimplementedLocationServiceServer) UpdateLocation(context.Context, *v3.Location) (*v3.Location, error)
- type UnimplementedOIDCProviderServiceServer
- func (UnimplementedOIDCProviderServiceServer) CreateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error)
- func (UnimplementedOIDCProviderServiceServer) DeleteOIDCProvider(context.Context, *v3.OIDCProvider) (*emptypb.Empty, error)
- func (UnimplementedOIDCProviderServiceServer) GetOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error)
- func (UnimplementedOIDCProviderServiceServer) ListOIDCProvider(context.Context, *emptypb.Empty) (*v3.OIDCProviderList, error)
- func (UnimplementedOIDCProviderServiceServer) UpdateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error)
- type UnimplementedOrganizationServiceServer
- func (UnimplementedOrganizationServiceServer) CreateOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
- func (UnimplementedOrganizationServiceServer) DeleteOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
- func (UnimplementedOrganizationServiceServer) GetOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
- func (UnimplementedOrganizationServiceServer) GetOrganizations(context.Context, *v3.Organization) (*v3.OrganizationList, error)
- func (UnimplementedOrganizationServiceServer) UpdateOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
- type UnimplementedPartnerServiceServer
- func (UnimplementedPartnerServiceServer) CreatePartner(context.Context, *v3.Partner) (*v3.Partner, error)
- func (UnimplementedPartnerServiceServer) DeletePartner(context.Context, *v3.Partner) (*v3.Partner, error)
- func (UnimplementedPartnerServiceServer) GetInitPartner(context.Context, *EmptyRequest) (*v3.Partner, error)
- func (UnimplementedPartnerServiceServer) GetPartner(context.Context, *v3.Partner) (*v3.Partner, error)
- func (UnimplementedPartnerServiceServer) UpdatePartner(context.Context, *v3.Partner) (*v3.Partner, error)
- type UnimplementedProjectServiceServer
- func (UnimplementedProjectServiceServer) CreateProject(context.Context, *v3.Project) (*v3.Project, error)
- func (UnimplementedProjectServiceServer) DeleteProject(context.Context, *v3.Project) (*v3.Project, error)
- func (UnimplementedProjectServiceServer) GetProject(context.Context, *v3.Project) (*v3.Project, error)
- func (UnimplementedProjectServiceServer) GetProjects(context.Context, *v3.Project) (*v3.ProjectList, error)
- func (UnimplementedProjectServiceServer) UpdateProject(context.Context, *v3.Project) (*v3.Project, error)
- type UnsafeIdpServiceServer
- type UnsafeLocationServiceServer
- type UnsafeOIDCProviderServiceServer
- type UnsafeOrganizationServiceServer
- type UnsafePartnerServiceServer
- type UnsafeProjectServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_rpc_system_idp_proto protoreflect.FileDescriptor
var File_proto_rpc_system_metro_proto protoreflect.FileDescriptor
var File_proto_rpc_system_oidc_provider_proto protoreflect.FileDescriptor
var File_proto_rpc_system_organization_proto protoreflect.FileDescriptor
var File_proto_rpc_system_partner_proto protoreflect.FileDescriptor
var File_proto_rpc_system_project_proto protoreflect.FileDescriptor
var IdpService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "paralus.dev.rpc.system.v3.IdpService", HandlerType: (*IdpServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIdp", Handler: _IdpService_CreateIdp_Handler, }, { MethodName: "GetIdp", Handler: _IdpService_GetIdp_Handler, }, { MethodName: "ListIdps", Handler: _IdpService_ListIdps_Handler, }, { MethodName: "UpdateIdp", Handler: _IdpService_UpdateIdp_Handler, }, { MethodName: "DeleteIdp", Handler: _IdpService_DeleteIdp_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/rpc/system/idp.proto", }
IdpService_ServiceDesc is the grpc.ServiceDesc for IdpService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LocationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "paralus.dev.rpc.system.v3.LocationService", HandlerType: (*LocationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateLocation", Handler: _LocationService_CreateLocation_Handler, }, { MethodName: "GetLocations", Handler: _LocationService_GetLocations_Handler, }, { MethodName: "GetLocation", Handler: _LocationService_GetLocation_Handler, }, { MethodName: "UpdateLocation", Handler: _LocationService_UpdateLocation_Handler, }, { MethodName: "DeleteLocation", Handler: _LocationService_DeleteLocation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/rpc/system/metro.proto", }
LocationService_ServiceDesc is the grpc.ServiceDesc for LocationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OIDCProviderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "paralus.dev.rpc.system.v3.OIDCProviderService", HandlerType: (*OIDCProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOIDCProvider", Handler: _OIDCProviderService_CreateOIDCProvider_Handler, }, { MethodName: "GetOIDCProvider", Handler: _OIDCProviderService_GetOIDCProvider_Handler, }, { MethodName: "ListOIDCProvider", Handler: _OIDCProviderService_ListOIDCProvider_Handler, }, { MethodName: "UpdateOIDCProvider", Handler: _OIDCProviderService_UpdateOIDCProvider_Handler, }, { MethodName: "DeleteOIDCProvider", Handler: _OIDCProviderService_DeleteOIDCProvider_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/rpc/system/oidc_provider.proto", }
OIDCProviderService_ServiceDesc is the grpc.ServiceDesc for OIDCProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OrganizationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "paralus.dev.rpc.system.v3.OrganizationService", HandlerType: (*OrganizationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrganization", Handler: _OrganizationService_CreateOrganization_Handler, }, { MethodName: "GetOrganizations", Handler: _OrganizationService_GetOrganizations_Handler, }, { MethodName: "GetOrganization", Handler: _OrganizationService_GetOrganization_Handler, }, { MethodName: "UpdateOrganization", Handler: _OrganizationService_UpdateOrganization_Handler, }, { MethodName: "DeleteOrganization", Handler: _OrganizationService_DeleteOrganization_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/rpc/system/organization.proto", }
OrganizationService_ServiceDesc is the grpc.ServiceDesc for OrganizationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PartnerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "paralus.dev.rpc.system.v3.PartnerService", HandlerType: (*PartnerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePartner", Handler: _PartnerService_CreatePartner_Handler, }, { MethodName: "GetPartner", Handler: _PartnerService_GetPartner_Handler, }, { MethodName: "GetInitPartner", Handler: _PartnerService_GetInitPartner_Handler, }, { MethodName: "UpdatePartner", Handler: _PartnerService_UpdatePartner_Handler, }, { MethodName: "DeletePartner", Handler: _PartnerService_DeletePartner_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/rpc/system/partner.proto", }
PartnerService_ServiceDesc is the grpc.ServiceDesc for PartnerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ProjectService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "paralus.dev.rpc.system.v3.ProjectService", HandlerType: (*ProjectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateProject", Handler: _ProjectService_CreateProject_Handler, }, { MethodName: "GetProjects", Handler: _ProjectService_GetProjects_Handler, }, { MethodName: "GetProject", Handler: _ProjectService_GetProject_Handler, }, { MethodName: "UpdateProject", Handler: _ProjectService_UpdateProject_Handler, }, { MethodName: "DeleteProject", Handler: _ProjectService_DeleteProject_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/rpc/system/project.proto", }
ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIdpServiceHandler ¶ added in v0.1.3
func RegisterIdpServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIdpServiceHandler registers the http handlers for service IdpService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIdpServiceHandlerClient ¶ added in v0.1.3
func RegisterIdpServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdpServiceClient) error
RegisterIdpServiceHandlerClient registers the http handlers for service IdpService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdpServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdpServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IdpServiceClient" to call the correct interceptors.
func RegisterIdpServiceHandlerFromEndpoint ¶ added in v0.1.3
func RegisterIdpServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIdpServiceHandlerFromEndpoint is same as RegisterIdpServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIdpServiceHandlerServer ¶ added in v0.1.3
func RegisterIdpServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdpServiceServer) error
RegisterIdpServiceHandlerServer registers the http handlers for service IdpService to "mux". UnaryRPC :call IdpServiceServer 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 RegisterIdpServiceHandlerFromEndpoint instead.
func RegisterIdpServiceServer ¶ added in v0.1.3
func RegisterIdpServiceServer(s grpc.ServiceRegistrar, srv IdpServiceServer)
func RegisterLocationServiceHandler ¶ added in v0.1.3
func RegisterLocationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLocationServiceHandler registers the http handlers for service LocationService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLocationServiceHandlerClient ¶ added in v0.1.3
func RegisterLocationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocationServiceClient) error
RegisterLocationServiceHandlerClient registers the http handlers for service LocationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LocationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LocationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LocationServiceClient" to call the correct interceptors.
func RegisterLocationServiceHandlerFromEndpoint ¶ added in v0.1.3
func RegisterLocationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLocationServiceHandlerFromEndpoint is same as RegisterLocationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLocationServiceHandlerServer ¶ added in v0.1.3
func RegisterLocationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocationServiceServer) error
RegisterLocationServiceHandlerServer registers the http handlers for service LocationService to "mux". UnaryRPC :call LocationServiceServer 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 RegisterLocationServiceHandlerFromEndpoint instead.
func RegisterLocationServiceServer ¶ added in v0.1.3
func RegisterLocationServiceServer(s grpc.ServiceRegistrar, srv LocationServiceServer)
func RegisterOIDCProviderServiceHandler ¶ added in v0.1.3
func RegisterOIDCProviderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterOIDCProviderServiceHandler registers the http handlers for service OIDCProviderService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOIDCProviderServiceHandlerClient ¶ added in v0.1.3
func RegisterOIDCProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OIDCProviderServiceClient) error
RegisterOIDCProviderServiceHandlerClient registers the http handlers for service OIDCProviderService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OIDCProviderServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OIDCProviderServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OIDCProviderServiceClient" to call the correct interceptors.
func RegisterOIDCProviderServiceHandlerFromEndpoint ¶ added in v0.1.3
func RegisterOIDCProviderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOIDCProviderServiceHandlerFromEndpoint is same as RegisterOIDCProviderServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOIDCProviderServiceHandlerServer ¶ added in v0.1.3
func RegisterOIDCProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OIDCProviderServiceServer) error
RegisterOIDCProviderServiceHandlerServer registers the http handlers for service OIDCProviderService to "mux". UnaryRPC :call OIDCProviderServiceServer 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 RegisterOIDCProviderServiceHandlerFromEndpoint instead.
func RegisterOIDCProviderServiceServer ¶ added in v0.1.3
func RegisterOIDCProviderServiceServer(s grpc.ServiceRegistrar, srv OIDCProviderServiceServer)
func RegisterOrganizationServiceHandler ¶ added in v0.1.3
func RegisterOrganizationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterOrganizationServiceHandler registers the http handlers for service OrganizationService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOrganizationServiceHandlerClient ¶ added in v0.1.3
func RegisterOrganizationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationServiceClient) error
RegisterOrganizationServiceHandlerClient registers the http handlers for service OrganizationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrganizationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrganizationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrganizationServiceClient" to call the correct interceptors.
func RegisterOrganizationServiceHandlerFromEndpoint ¶ added in v0.1.3
func RegisterOrganizationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOrganizationServiceHandlerFromEndpoint is same as RegisterOrganizationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOrganizationServiceHandlerServer ¶ added in v0.1.3
func RegisterOrganizationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServiceServer) error
RegisterOrganizationServiceHandlerServer registers the http handlers for service OrganizationService to "mux". UnaryRPC :call OrganizationServiceServer 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 RegisterOrganizationServiceHandlerFromEndpoint instead.
func RegisterOrganizationServiceServer ¶ added in v0.1.3
func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
func RegisterPartnerServiceHandler ¶ added in v0.1.3
func RegisterPartnerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPartnerServiceHandler registers the http handlers for service PartnerService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPartnerServiceHandlerClient ¶ added in v0.1.3
func RegisterPartnerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PartnerServiceClient) error
RegisterPartnerServiceHandlerClient registers the http handlers for service PartnerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PartnerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PartnerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PartnerServiceClient" to call the correct interceptors.
func RegisterPartnerServiceHandlerFromEndpoint ¶ added in v0.1.3
func RegisterPartnerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPartnerServiceHandlerFromEndpoint is same as RegisterPartnerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPartnerServiceHandlerServer ¶ added in v0.1.3
func RegisterPartnerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PartnerServiceServer) error
RegisterPartnerServiceHandlerServer registers the http handlers for service PartnerService to "mux". UnaryRPC :call PartnerServiceServer 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 RegisterPartnerServiceHandlerFromEndpoint instead.
func RegisterPartnerServiceServer ¶ added in v0.1.3
func RegisterPartnerServiceServer(s grpc.ServiceRegistrar, srv PartnerServiceServer)
func RegisterProjectServiceHandler ¶ added in v0.1.3
func RegisterProjectServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProjectServiceHandler registers the http handlers for service ProjectService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProjectServiceHandlerClient ¶ added in v0.1.3
func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectServiceClient) error
RegisterProjectServiceHandlerClient registers the http handlers for service ProjectService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProjectServiceClient" to call the correct interceptors.
func RegisterProjectServiceHandlerFromEndpoint ¶ added in v0.1.3
func RegisterProjectServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProjectServiceHandlerFromEndpoint is same as RegisterProjectServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProjectServiceHandlerServer ¶ added in v0.1.3
func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectServiceServer) error
RegisterProjectServiceHandlerServer registers the http handlers for service ProjectService to "mux". UnaryRPC :call ProjectServiceServer 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 RegisterProjectServiceHandlerFromEndpoint instead.
func RegisterProjectServiceServer ¶ added in v0.1.3
func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
Types ¶
type EmptyRequest ¶
type EmptyRequest struct {
// contains filtered or unexported fields
}
func (*EmptyRequest) Descriptor
deprecated
func (*EmptyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) ProtoReflect ¶
func (x *EmptyRequest) ProtoReflect() protoreflect.Message
func (*EmptyRequest) Reset ¶
func (x *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (x *EmptyRequest) String() string
type IdpServiceClient ¶ added in v0.1.3
type IdpServiceClient interface { CreateIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) GetIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) ListIdps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.IdpList, error) UpdateIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) DeleteIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*emptypb.Empty, error) }
IdpServiceClient is the client API for IdpService 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 NewIdpServiceClient ¶ added in v0.1.3
func NewIdpServiceClient(cc grpc.ClientConnInterface) IdpServiceClient
type IdpServiceServer ¶ added in v0.1.3
type IdpServiceServer interface { CreateIdp(context.Context, *v3.Idp) (*v3.Idp, error) GetIdp(context.Context, *v3.Idp) (*v3.Idp, error) ListIdps(context.Context, *emptypb.Empty) (*v3.IdpList, error) UpdateIdp(context.Context, *v3.Idp) (*v3.Idp, error) DeleteIdp(context.Context, *v3.Idp) (*emptypb.Empty, error) }
IdpServiceServer is the server API for IdpService service. All implementations should embed UnimplementedIdpServiceServer for forward compatibility
type LocationServiceClient ¶ added in v0.1.3
type LocationServiceClient interface { CreateLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) GetLocations(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.LocationList, error) GetLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) UpdateLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) DeleteLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) }
LocationServiceClient is the client API for LocationService 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 NewLocationServiceClient ¶ added in v0.1.3
func NewLocationServiceClient(cc grpc.ClientConnInterface) LocationServiceClient
type LocationServiceServer ¶ added in v0.1.3
type LocationServiceServer interface { CreateLocation(context.Context, *v3.Location) (*v3.Location, error) GetLocations(context.Context, *v3.Location) (*v3.LocationList, error) GetLocation(context.Context, *v3.Location) (*v3.Location, error) UpdateLocation(context.Context, *v3.Location) (*v3.Location, error) DeleteLocation(context.Context, *v3.Location) (*v3.Location, error) }
LocationServiceServer is the server API for LocationService service. All implementations should embed UnimplementedLocationServiceServer for forward compatibility
type OIDCProviderServiceClient ¶ added in v0.1.3
type OIDCProviderServiceClient interface { CreateOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) GetOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) ListOIDCProvider(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.OIDCProviderList, error) UpdateOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) DeleteOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*emptypb.Empty, error) }
OIDCProviderServiceClient is the client API for OIDCProviderService 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 NewOIDCProviderServiceClient ¶ added in v0.1.3
func NewOIDCProviderServiceClient(cc grpc.ClientConnInterface) OIDCProviderServiceClient
type OIDCProviderServiceServer ¶ added in v0.1.3
type OIDCProviderServiceServer interface { CreateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) GetOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) ListOIDCProvider(context.Context, *emptypb.Empty) (*v3.OIDCProviderList, error) UpdateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) DeleteOIDCProvider(context.Context, *v3.OIDCProvider) (*emptypb.Empty, error) }
OIDCProviderServiceServer is the server API for OIDCProviderService service. All implementations should embed UnimplementedOIDCProviderServiceServer for forward compatibility
type Option ¶
type Option func(*options)
Option is the functional argument for Pool options
func WithCaCertPEM ¶
WithCaCertPEM sets PEM encoded CA cert for pool
func WithClientCertPEM ¶
WithClientCertPEM sets PEM encoded client cert for pool
func WithClientKeyPEM ¶
WithClientKeyPEM sets PEM encoded client key for pool
func WithMaxConn ¶
WithMaxConn sets maximum number of connections of the pool if not set defaults to 10
type OrganizationServiceClient ¶ added in v0.1.3
type OrganizationServiceClient interface { CreateOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) GetOrganizations(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.OrganizationList, error) GetOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) UpdateOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) DeleteOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) }
OrganizationServiceClient is the client API for OrganizationService 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 NewOrganizationServiceClient ¶ added in v0.1.3
func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServiceClient
type OrganizationServiceServer ¶ added in v0.1.3
type OrganizationServiceServer interface { CreateOrganization(context.Context, *v3.Organization) (*v3.Organization, error) GetOrganizations(context.Context, *v3.Organization) (*v3.OrganizationList, error) GetOrganization(context.Context, *v3.Organization) (*v3.Organization, error) UpdateOrganization(context.Context, *v3.Organization) (*v3.Organization, error) DeleteOrganization(context.Context, *v3.Organization) (*v3.Organization, error) }
OrganizationServiceServer is the server API for OrganizationService service. All implementations should embed UnimplementedOrganizationServiceServer for forward compatibility
type PartnerServiceClient ¶ added in v0.1.3
type PartnerServiceClient interface { CreatePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) GetPartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) GetInitPartner(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*v3.Partner, error) UpdatePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) DeletePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) }
PartnerServiceClient is the client API for PartnerService 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 NewPartnerServiceClient ¶ added in v0.1.3
func NewPartnerServiceClient(cc grpc.ClientConnInterface) PartnerServiceClient
type PartnerServiceServer ¶ added in v0.1.3
type PartnerServiceServer interface { CreatePartner(context.Context, *v3.Partner) (*v3.Partner, error) GetPartner(context.Context, *v3.Partner) (*v3.Partner, error) GetInitPartner(context.Context, *EmptyRequest) (*v3.Partner, error) UpdatePartner(context.Context, *v3.Partner) (*v3.Partner, error) DeletePartner(context.Context, *v3.Partner) (*v3.Partner, error) }
PartnerServiceServer is the server API for PartnerService service. All implementations should embed UnimplementedPartnerServiceServer for forward compatibility
type ProjectServiceClient ¶ added in v0.1.3
type ProjectServiceClient interface { CreateProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) GetProjects(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.ProjectList, error) GetProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) UpdateProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) DeleteProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) }
ProjectServiceClient is the client API for ProjectService 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 NewProjectServiceClient ¶ added in v0.1.3
func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient
type ProjectServiceServer ¶ added in v0.1.3
type ProjectServiceServer interface { CreateProject(context.Context, *v3.Project) (*v3.Project, error) GetProjects(context.Context, *v3.Project) (*v3.ProjectList, error) GetProject(context.Context, *v3.Project) (*v3.Project, error) UpdateProject(context.Context, *v3.Project) (*v3.Project, error) DeleteProject(context.Context, *v3.Project) (*v3.Project, error) }
ProjectServiceServer is the server API for ProjectService service. All implementations should embed UnimplementedProjectServiceServer for forward compatibility
type SystemClient ¶
type SystemClient interface { Unhealthy() Close() error ProjectServiceClient OrganizationServiceClient PartnerServiceClient }
SystemClient is the interface for accessing all the RPCs exposed by Paralus Base
type SystemPool ¶
type SystemPool interface { Close() NewClient(ctx context.Context) (SystemClient, error) }
SystemPool maintains pool of grpc connections to system base services
func NewSystemPool ¶
func NewSystemPool(addr string, maxConn int) SystemPool
NewSystemPool new system pool
type UnimplementedIdpServiceServer ¶ added in v0.1.3
type UnimplementedIdpServiceServer struct { }
UnimplementedIdpServiceServer should be embedded to have forward compatible implementations.
type UnimplementedLocationServiceServer ¶ added in v0.1.3
type UnimplementedLocationServiceServer struct { }
UnimplementedLocationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedLocationServiceServer) CreateLocation ¶ added in v0.1.3
func (UnimplementedLocationServiceServer) DeleteLocation ¶ added in v0.1.3
func (UnimplementedLocationServiceServer) GetLocation ¶ added in v0.1.3
func (UnimplementedLocationServiceServer) GetLocations ¶ added in v0.1.3
func (UnimplementedLocationServiceServer) GetLocations(context.Context, *v3.Location) (*v3.LocationList, error)
func (UnimplementedLocationServiceServer) UpdateLocation ¶ added in v0.1.3
type UnimplementedOIDCProviderServiceServer ¶ added in v0.1.3
type UnimplementedOIDCProviderServiceServer struct { }
UnimplementedOIDCProviderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedOIDCProviderServiceServer) CreateOIDCProvider ¶ added in v0.1.3
func (UnimplementedOIDCProviderServiceServer) CreateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error)
func (UnimplementedOIDCProviderServiceServer) DeleteOIDCProvider ¶ added in v0.1.3
func (UnimplementedOIDCProviderServiceServer) DeleteOIDCProvider(context.Context, *v3.OIDCProvider) (*emptypb.Empty, error)
func (UnimplementedOIDCProviderServiceServer) GetOIDCProvider ¶ added in v0.1.3
func (UnimplementedOIDCProviderServiceServer) GetOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error)
func (UnimplementedOIDCProviderServiceServer) ListOIDCProvider ¶ added in v0.1.3
func (UnimplementedOIDCProviderServiceServer) ListOIDCProvider(context.Context, *emptypb.Empty) (*v3.OIDCProviderList, error)
func (UnimplementedOIDCProviderServiceServer) UpdateOIDCProvider ¶ added in v0.1.3
func (UnimplementedOIDCProviderServiceServer) UpdateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error)
type UnimplementedOrganizationServiceServer ¶ added in v0.1.3
type UnimplementedOrganizationServiceServer struct { }
UnimplementedOrganizationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedOrganizationServiceServer) CreateOrganization ¶ added in v0.1.3
func (UnimplementedOrganizationServiceServer) CreateOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
func (UnimplementedOrganizationServiceServer) DeleteOrganization ¶ added in v0.1.3
func (UnimplementedOrganizationServiceServer) DeleteOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
func (UnimplementedOrganizationServiceServer) GetOrganization ¶ added in v0.1.3
func (UnimplementedOrganizationServiceServer) GetOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
func (UnimplementedOrganizationServiceServer) GetOrganizations ¶ added in v0.1.3
func (UnimplementedOrganizationServiceServer) GetOrganizations(context.Context, *v3.Organization) (*v3.OrganizationList, error)
func (UnimplementedOrganizationServiceServer) UpdateOrganization ¶ added in v0.1.3
func (UnimplementedOrganizationServiceServer) UpdateOrganization(context.Context, *v3.Organization) (*v3.Organization, error)
type UnimplementedPartnerServiceServer ¶ added in v0.1.3
type UnimplementedPartnerServiceServer struct { }
UnimplementedPartnerServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedPartnerServiceServer) CreatePartner ¶ added in v0.1.3
func (UnimplementedPartnerServiceServer) DeletePartner ¶ added in v0.1.3
func (UnimplementedPartnerServiceServer) GetInitPartner ¶ added in v0.1.3
func (UnimplementedPartnerServiceServer) GetInitPartner(context.Context, *EmptyRequest) (*v3.Partner, error)
func (UnimplementedPartnerServiceServer) GetPartner ¶ added in v0.1.3
func (UnimplementedPartnerServiceServer) UpdatePartner ¶ added in v0.1.3
type UnimplementedProjectServiceServer ¶ added in v0.1.3
type UnimplementedProjectServiceServer struct { }
UnimplementedProjectServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedProjectServiceServer) CreateProject ¶ added in v0.1.3
func (UnimplementedProjectServiceServer) DeleteProject ¶ added in v0.1.3
func (UnimplementedProjectServiceServer) GetProject ¶ added in v0.1.3
func (UnimplementedProjectServiceServer) GetProjects ¶ added in v0.1.3
func (UnimplementedProjectServiceServer) GetProjects(context.Context, *v3.Project) (*v3.ProjectList, error)
func (UnimplementedProjectServiceServer) UpdateProject ¶ added in v0.1.3
type UnsafeIdpServiceServer ¶ added in v0.1.3
type UnsafeIdpServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIdpServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdpServiceServer will result in compilation errors.
type UnsafeLocationServiceServer ¶ added in v0.1.3
type UnsafeLocationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLocationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LocationServiceServer will result in compilation errors.
type UnsafeOIDCProviderServiceServer ¶ added in v0.1.3
type UnsafeOIDCProviderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOIDCProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OIDCProviderServiceServer will result in compilation errors.
type UnsafeOrganizationServiceServer ¶ added in v0.1.3
type UnsafeOrganizationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationServiceServer will result in compilation errors.
type UnsafePartnerServiceServer ¶ added in v0.1.3
type UnsafePartnerServiceServer interface {
// contains filtered or unexported methods
}
UnsafePartnerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PartnerServiceServer will result in compilation errors.
type UnsafeProjectServiceServer ¶ added in v0.1.3
type UnsafeProjectServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProjectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectServiceServer will result in compilation errors.
Source Files
¶
- idp.pb.go
- idp.pb.gw.go
- idp_grpc.pb.go
- internal.go
- metro.pb.go
- metro.pb.gw.go
- metro_grpc.pb.go
- oidc_provider.pb.go
- oidc_provider.pb.gw.go
- oidc_provider_grpc.pb.go
- organization.pb.go
- organization.pb.gw.go
- organization_grpc.pb.go
- partner.pb.go
- partner.pb.gw.go
- partner_grpc.pb.go
- project.pb.go
- project.pb.gw.go
- project_grpc.pb.go