Documentation ¶
Index ¶
- Constants
- func NewAccessRequestServiceHandler(svc AccessRequestServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewAccessServiceHandler(svc AccessServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewAuditLogServiceHandler(svc AuditLogServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewEntityServiceHandler(svc EntityServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewGrantsServiceHandler(svc GrantsServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewIdentityServiceHandler(svc IdentityServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewIntegrationAuditLogServiceHandler(svc IntegrationAuditLogServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type AccessRequestServiceClient
- type AccessRequestServiceHandler
- type AccessServiceClient
- type AccessServiceHandler
- type AuditLogServiceClient
- type AuditLogServiceHandler
- type EntityServiceClient
- type EntityServiceHandler
- type GrantsServiceClient
- type GrantsServiceHandler
- type IdentityServiceClient
- type IdentityServiceHandler
- type IntegrationAuditLogServiceClient
- type IntegrationAuditLogServiceHandler
- type UnimplementedAccessRequestServiceHandler
- func (UnimplementedAccessRequestServiceHandler) ActivateAccessRequest(context.Context, *connect.Request[v1alpha1.ActivateAccessRequestRequest]) (*connect.Response[v1alpha1.ActivateAccessRequestResponse], error)
- func (UnimplementedAccessRequestServiceHandler) ApproveAccessRequest(context.Context, *connect.Request[v1alpha1.ApproveAccessRequestRequest]) (*connect.Response[v1alpha1.ApproveAccessRequestResponse], error)
- func (UnimplementedAccessRequestServiceHandler) CloseAccessRequest(context.Context, *connect.Request[v1alpha1.CloseAccessRequestRequest]) (*connect.Response[v1alpha1.CloseAccessRequestResponse], error)
- func (UnimplementedAccessRequestServiceHandler) GetAccessRequest(context.Context, *connect.Request[v1alpha1.GetAccessRequestRequest]) (*connect.Response[v1alpha1.GetAccessRequestResponse], error)
- func (UnimplementedAccessRequestServiceHandler) QueryAccessRequests(context.Context, *connect.Request[v1alpha1.QueryAccessRequestsRequest]) (*connect.Response[v1alpha1.QueryAccessRequestsResponse], error)
- type UnimplementedAccessServiceHandler
- func (UnimplementedAccessServiceHandler) BatchEnsure(context.Context, *connect.Request[v1alpha1.BatchEnsureRequest]) (*connect.Response[v1alpha1.BatchEnsureResponse], error)
- func (UnimplementedAccessServiceHandler) DebugEntitlementAccess(context.Context, *connect.Request[v1alpha1.DebugEntitlementAccessRequest]) (*connect.Response[v1alpha1.DebugEntitlementAccessResponse], error)
- func (UnimplementedAccessServiceHandler) PreviewEntitlementAccess(context.Context, *connect.Request[v1alpha1.PreviewEntitlementAccessRequest]) (*connect.Response[v1alpha1.PreviewEntitlementAccessResponse], error)
- func (UnimplementedAccessServiceHandler) PreviewUserAccess(context.Context, *connect.Request[v1alpha1.PreviewUserAccessRequest]) (*connect.Response[v1alpha1.PreviewUserAccessResponse], error)
- func (UnimplementedAccessServiceHandler) QueryApprovers(context.Context, *connect.Request[v1alpha1.QueryApproversRequest]) (*connect.Response[v1alpha1.QueryApproversResponse], error)
- func (UnimplementedAccessServiceHandler) QueryAvailabilities(context.Context, *connect.Request[v1alpha1.QueryAvailabilitiesRequest]) (*connect.Response[v1alpha1.QueryAvailabilitiesResponse], error)
- func (UnimplementedAccessServiceHandler) QueryEntitlements(context.Context, *connect.Request[v1alpha1.QueryEntitlementsRequest]) (*connect.Response[v1alpha1.QueryEntitlementsResponse], error)
- type UnimplementedAuditLogServiceHandler
- type UnimplementedEntityServiceHandler
- type UnimplementedGrantsServiceHandler
- func (UnimplementedGrantsServiceHandler) QueryGrantChildren(context.Context, *connect.Request[v1alpha1.QueryGrantChildrenRequest]) (*connect.Response[v1alpha1.QueryGrantChildrenResponse], error)
- func (UnimplementedGrantsServiceHandler) QueryGrants(context.Context, *connect.Request[v1alpha1.QueryGrantsRequest]) (*connect.Response[v1alpha1.QueryGrantsResponse], error)
- type UnimplementedIdentityServiceHandler
- type UnimplementedIntegrationAuditLogServiceHandler
Constants ¶
const ( // AccessServiceBatchEnsureProcedure is the fully-qualified name of the AccessService's BatchEnsure // RPC. AccessServiceBatchEnsureProcedure = "/commonfate.access.v1alpha1.AccessService/BatchEnsure" // AccessServiceQueryAvailabilitiesProcedure is the fully-qualified name of the AccessService's // QueryAvailabilities RPC. AccessServiceQueryAvailabilitiesProcedure = "/commonfate.access.v1alpha1.AccessService/QueryAvailabilities" // AccessServiceQueryEntitlementsProcedure is the fully-qualified name of the AccessService's // QueryEntitlements RPC. AccessServiceQueryEntitlementsProcedure = "/commonfate.access.v1alpha1.AccessService/QueryEntitlements" // AccessServiceQueryApproversProcedure is the fully-qualified name of the AccessService's // QueryApprovers RPC. AccessServiceQueryApproversProcedure = "/commonfate.access.v1alpha1.AccessService/QueryApprovers" // AccessServicePreviewUserAccessProcedure is the fully-qualified name of the AccessService's // PreviewUserAccess RPC. AccessServicePreviewUserAccessProcedure = "/commonfate.access.v1alpha1.AccessService/PreviewUserAccess" // AccessServicePreviewEntitlementAccessProcedure is the fully-qualified name of the AccessService's // PreviewEntitlementAccess RPC. AccessServicePreviewEntitlementAccessProcedure = "/commonfate.access.v1alpha1.AccessService/PreviewEntitlementAccess" // AccessServiceDebugEntitlementAccessProcedure is the fully-qualified name of the AccessService's // DebugEntitlementAccess RPC. AccessServiceDebugEntitlementAccessProcedure = "/commonfate.access.v1alpha1.AccessService/DebugEntitlementAccess" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // AccessRequestServiceQueryAccessRequestsProcedure is the fully-qualified name of the // AccessRequestService's QueryAccessRequests RPC. AccessRequestServiceQueryAccessRequestsProcedure = "/commonfate.access.v1alpha1.AccessRequestService/QueryAccessRequests" // AccessRequestServiceGetAccessRequestProcedure is the fully-qualified name of the // AccessRequestService's GetAccessRequest RPC. AccessRequestServiceGetAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/GetAccessRequest" // AccessRequestServiceApproveAccessRequestProcedure is the fully-qualified name of the // AccessRequestService's ApproveAccessRequest RPC. AccessRequestServiceApproveAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/ApproveAccessRequest" // AccessRequestServiceActivateAccessRequestProcedure is the fully-qualified name of the // AccessRequestService's ActivateAccessRequest RPC. AccessRequestServiceActivateAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/ActivateAccessRequest" // AccessRequestServiceCloseAccessRequestProcedure is the fully-qualified name of the // AccessRequestService's CloseAccessRequest RPC. AccessRequestServiceCloseAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/CloseAccessRequest" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // GrantsServiceQueryGrantsProcedure is the fully-qualified name of the GrantsService's QueryGrants // RPC. GrantsServiceQueryGrantsProcedure = "/commonfate.access.v1alpha1.GrantsService/QueryGrants" // GrantsServiceQueryGrantChildrenProcedure is the fully-qualified name of the GrantsService's // QueryGrantChildren RPC. GrantsServiceQueryGrantChildrenProcedure = "/commonfate.access.v1alpha1.GrantsService/QueryGrantChildren" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AccessRequestServiceName is the fully-qualified name of the AccessRequestService service.
AccessRequestServiceName = "commonfate.access.v1alpha1.AccessRequestService"
)
const (
// AccessServiceName is the fully-qualified name of the AccessService service.
AccessServiceName = "commonfate.access.v1alpha1.AccessService"
)
const (
// AuditLogServiceName is the fully-qualified name of the AuditLogService service.
AuditLogServiceName = "commonfate.access.v1alpha1.AuditLogService"
)
const ( // AuditLogServiceQueryAuditLogsProcedure is the fully-qualified name of the AuditLogService's // QueryAuditLogs RPC. AuditLogServiceQueryAuditLogsProcedure = "/commonfate.access.v1alpha1.AuditLogService/QueryAuditLogs" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// EntityServiceName is the fully-qualified name of the EntityService service.
EntityServiceName = "commonfate.access.v1alpha1.EntityService"
)
const ( // EntityServiceQueryDescendentsProcedure is the fully-qualified name of the EntityService's // QueryDescendents RPC. EntityServiceQueryDescendentsProcedure = "/commonfate.access.v1alpha1.EntityService/QueryDescendents" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// GrantsServiceName is the fully-qualified name of the GrantsService service.
GrantsServiceName = "commonfate.access.v1alpha1.GrantsService"
)
const ( // IdentityServiceGetCallerIdentityProcedure is the fully-qualified name of the IdentityService's // GetCallerIdentity RPC. IdentityServiceGetCallerIdentityProcedure = "/commonfate.access.v1alpha1.IdentityService/GetCallerIdentity" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// IdentityServiceName is the fully-qualified name of the IdentityService service.
IdentityServiceName = "commonfate.access.v1alpha1.IdentityService"
)
const ( // IntegrationAuditLogServiceBatchPutAuditLogProcedure is the fully-qualified name of the // IntegrationAuditLogService's BatchPutAuditLog RPC. IntegrationAuditLogServiceBatchPutAuditLogProcedure = "/commonfate.access.v1alpha1.IntegrationAuditLogService/BatchPutAuditLog" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // IntegrationAuditLogServiceName is the fully-qualified name of the IntegrationAuditLogService // service. IntegrationAuditLogServiceName = "commonfate.access.v1alpha1.IntegrationAuditLogService" )
Variables ¶
This section is empty.
Functions ¶
func NewAccessRequestServiceHandler ¶
func NewAccessRequestServiceHandler(svc AccessRequestServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAccessRequestServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewAccessServiceHandler ¶
func NewAccessServiceHandler(svc AccessServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAccessServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewAuditLogServiceHandler ¶
func NewAuditLogServiceHandler(svc AuditLogServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAuditLogServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewEntityServiceHandler ¶
func NewEntityServiceHandler(svc EntityServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewEntityServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewGrantsServiceHandler ¶
func NewGrantsServiceHandler(svc GrantsServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewGrantsServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewIdentityServiceHandler ¶
func NewIdentityServiceHandler(svc IdentityServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewIdentityServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewIntegrationAuditLogServiceHandler ¶
func NewIntegrationAuditLogServiceHandler(svc IntegrationAuditLogServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewIntegrationAuditLogServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type AccessRequestServiceClient ¶
type AccessRequestServiceClient interface { QueryAccessRequests(context.Context, *connect.Request[v1alpha1.QueryAccessRequestsRequest]) (*connect.Response[v1alpha1.QueryAccessRequestsResponse], error) GetAccessRequest(context.Context, *connect.Request[v1alpha1.GetAccessRequestRequest]) (*connect.Response[v1alpha1.GetAccessRequestResponse], error) // Approving an Access Request will attempt to approve all of the Grants associated with the request. // // If the caller is not permitted to approve particular grants, warnings will be returned. ApproveAccessRequest(context.Context, *connect.Request[v1alpha1.ApproveAccessRequestRequest]) (*connect.Response[v1alpha1.ApproveAccessRequestResponse], error) ActivateAccessRequest(context.Context, *connect.Request[v1alpha1.ActivateAccessRequestRequest]) (*connect.Response[v1alpha1.ActivateAccessRequestResponse], error) // Closing an Access Request will make it no longer reviewable and will deactivate any Grants associated with the request. CloseAccessRequest(context.Context, *connect.Request[v1alpha1.CloseAccessRequestRequest]) (*connect.Response[v1alpha1.CloseAccessRequestResponse], error) }
AccessRequestServiceClient is a client for the commonfate.access.v1alpha1.AccessRequestService service.
func NewAccessRequestServiceClient ¶
func NewAccessRequestServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AccessRequestServiceClient
NewAccessRequestServiceClient constructs a client for the commonfate.access.v1alpha1.AccessRequestService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AccessRequestServiceHandler ¶
type AccessRequestServiceHandler interface { QueryAccessRequests(context.Context, *connect.Request[v1alpha1.QueryAccessRequestsRequest]) (*connect.Response[v1alpha1.QueryAccessRequestsResponse], error) GetAccessRequest(context.Context, *connect.Request[v1alpha1.GetAccessRequestRequest]) (*connect.Response[v1alpha1.GetAccessRequestResponse], error) // Approving an Access Request will attempt to approve all of the Grants associated with the request. // // If the caller is not permitted to approve particular grants, warnings will be returned. ApproveAccessRequest(context.Context, *connect.Request[v1alpha1.ApproveAccessRequestRequest]) (*connect.Response[v1alpha1.ApproveAccessRequestResponse], error) ActivateAccessRequest(context.Context, *connect.Request[v1alpha1.ActivateAccessRequestRequest]) (*connect.Response[v1alpha1.ActivateAccessRequestResponse], error) // Closing an Access Request will make it no longer reviewable and will deactivate any Grants associated with the request. CloseAccessRequest(context.Context, *connect.Request[v1alpha1.CloseAccessRequestRequest]) (*connect.Response[v1alpha1.CloseAccessRequestResponse], error) }
AccessRequestServiceHandler is an implementation of the commonfate.access.v1alpha1.AccessRequestService service.
type AccessServiceClient ¶
type AccessServiceClient interface { // BatchEnsure is a high-level declarative API which can be called to ensure access has been provisioned to multiple entitlements. // // The method checks whether the entitlement has been provisioned to the user. // If the entitlement has not been provisioned, an Access Request will be created for the entitlement. // If a pending Access Request exists for the entitlement, this request is returned. // // In future, this method may trigger an extension to any Access Requests which are due to expire. BatchEnsure(context.Context, *connect.Request[v1alpha1.BatchEnsureRequest]) (*connect.Response[v1alpha1.BatchEnsureResponse], error) // Query for JIT availabilities. QueryAvailabilities(context.Context, *connect.Request[v1alpha1.QueryAvailabilitiesRequest]) (*connect.Response[v1alpha1.QueryAvailabilitiesResponse], error) QueryEntitlements(context.Context, *connect.Request[v1alpha1.QueryEntitlementsRequest]) (*connect.Response[v1alpha1.QueryEntitlementsResponse], error) QueryApprovers(context.Context, *connect.Request[v1alpha1.QueryApproversRequest]) (*connect.Response[v1alpha1.QueryApproversResponse], error) PreviewUserAccess(context.Context, *connect.Request[v1alpha1.PreviewUserAccessRequest]) (*connect.Response[v1alpha1.PreviewUserAccessResponse], error) PreviewEntitlementAccess(context.Context, *connect.Request[v1alpha1.PreviewEntitlementAccessRequest]) (*connect.Response[v1alpha1.PreviewEntitlementAccessResponse], error) DebugEntitlementAccess(context.Context, *connect.Request[v1alpha1.DebugEntitlementAccessRequest]) (*connect.Response[v1alpha1.DebugEntitlementAccessResponse], error) }
AccessServiceClient is a client for the commonfate.access.v1alpha1.AccessService service.
func NewAccessServiceClient ¶
func NewAccessServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AccessServiceClient
NewAccessServiceClient constructs a client for the commonfate.access.v1alpha1.AccessService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AccessServiceHandler ¶
type AccessServiceHandler interface { // BatchEnsure is a high-level declarative API which can be called to ensure access has been provisioned to multiple entitlements. // // The method checks whether the entitlement has been provisioned to the user. // If the entitlement has not been provisioned, an Access Request will be created for the entitlement. // If a pending Access Request exists for the entitlement, this request is returned. // // In future, this method may trigger an extension to any Access Requests which are due to expire. BatchEnsure(context.Context, *connect.Request[v1alpha1.BatchEnsureRequest]) (*connect.Response[v1alpha1.BatchEnsureResponse], error) // Query for JIT availabilities. QueryAvailabilities(context.Context, *connect.Request[v1alpha1.QueryAvailabilitiesRequest]) (*connect.Response[v1alpha1.QueryAvailabilitiesResponse], error) QueryEntitlements(context.Context, *connect.Request[v1alpha1.QueryEntitlementsRequest]) (*connect.Response[v1alpha1.QueryEntitlementsResponse], error) QueryApprovers(context.Context, *connect.Request[v1alpha1.QueryApproversRequest]) (*connect.Response[v1alpha1.QueryApproversResponse], error) PreviewUserAccess(context.Context, *connect.Request[v1alpha1.PreviewUserAccessRequest]) (*connect.Response[v1alpha1.PreviewUserAccessResponse], error) PreviewEntitlementAccess(context.Context, *connect.Request[v1alpha1.PreviewEntitlementAccessRequest]) (*connect.Response[v1alpha1.PreviewEntitlementAccessResponse], error) DebugEntitlementAccess(context.Context, *connect.Request[v1alpha1.DebugEntitlementAccessRequest]) (*connect.Response[v1alpha1.DebugEntitlementAccessResponse], error) }
AccessServiceHandler is an implementation of the commonfate.access.v1alpha1.AccessService service.
type AuditLogServiceClient ¶
type AuditLogServiceClient interface {
QueryAuditLogs(context.Context, *connect.Request[v1alpha1.QueryAuditLogsRequest]) (*connect.Response[v1alpha1.QueryAuditLogsResponse], error)
}
AuditLogServiceClient is a client for the commonfate.access.v1alpha1.AuditLogService service.
func NewAuditLogServiceClient ¶
func NewAuditLogServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuditLogServiceClient
NewAuditLogServiceClient constructs a client for the commonfate.access.v1alpha1.AuditLogService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AuditLogServiceHandler ¶
type AuditLogServiceHandler interface {
QueryAuditLogs(context.Context, *connect.Request[v1alpha1.QueryAuditLogsRequest]) (*connect.Response[v1alpha1.QueryAuditLogsResponse], error)
}
AuditLogServiceHandler is an implementation of the commonfate.access.v1alpha1.AuditLogService service.
type EntityServiceClient ¶
type EntityServiceClient interface {
QueryDescendents(context.Context, *connect.Request[v1alpha1.QueryDescendentsRequest]) (*connect.Response[v1alpha1.QueryDescendentsResponse], error)
}
EntityServiceClient is a client for the commonfate.access.v1alpha1.EntityService service.
func NewEntityServiceClient ¶
func NewEntityServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) EntityServiceClient
NewEntityServiceClient constructs a client for the commonfate.access.v1alpha1.EntityService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type EntityServiceHandler ¶
type EntityServiceHandler interface {
QueryDescendents(context.Context, *connect.Request[v1alpha1.QueryDescendentsRequest]) (*connect.Response[v1alpha1.QueryDescendentsResponse], error)
}
EntityServiceHandler is an implementation of the commonfate.access.v1alpha1.EntityService service.
type GrantsServiceClient ¶
type GrantsServiceClient interface { QueryGrants(context.Context, *connect.Request[v1alpha1.QueryGrantsRequest]) (*connect.Response[v1alpha1.QueryGrantsResponse], error) QueryGrantChildren(context.Context, *connect.Request[v1alpha1.QueryGrantChildrenRequest]) (*connect.Response[v1alpha1.QueryGrantChildrenResponse], error) }
GrantsServiceClient is a client for the commonfate.access.v1alpha1.GrantsService service.
func NewGrantsServiceClient ¶
func NewGrantsServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) GrantsServiceClient
NewGrantsServiceClient constructs a client for the commonfate.access.v1alpha1.GrantsService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type GrantsServiceHandler ¶
type GrantsServiceHandler interface { QueryGrants(context.Context, *connect.Request[v1alpha1.QueryGrantsRequest]) (*connect.Response[v1alpha1.QueryGrantsResponse], error) QueryGrantChildren(context.Context, *connect.Request[v1alpha1.QueryGrantChildrenRequest]) (*connect.Response[v1alpha1.QueryGrantChildrenResponse], error) }
GrantsServiceHandler is an implementation of the commonfate.access.v1alpha1.GrantsService service.
type IdentityServiceClient ¶
type IdentityServiceClient interface {
GetCallerIdentity(context.Context, *connect.Request[v1alpha1.GetCallerIdentityRequest]) (*connect.Response[v1alpha1.GetCallerIdentityResponse], error)
}
IdentityServiceClient is a client for the commonfate.access.v1alpha1.IdentityService service.
func NewIdentityServiceClient ¶
func NewIdentityServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) IdentityServiceClient
NewIdentityServiceClient constructs a client for the commonfate.access.v1alpha1.IdentityService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type IdentityServiceHandler ¶
type IdentityServiceHandler interface {
GetCallerIdentity(context.Context, *connect.Request[v1alpha1.GetCallerIdentityRequest]) (*connect.Response[v1alpha1.GetCallerIdentityResponse], error)
}
IdentityServiceHandler is an implementation of the commonfate.access.v1alpha1.IdentityService service.
type IntegrationAuditLogServiceClient ¶
type IntegrationAuditLogServiceClient interface { // Put audit logs relating to a grant BatchPutAuditLog(context.Context, *connect.Request[v1alpha1.BatchPutAuditLogRequest]) (*connect.Response[v1alpha1.BatchPutAuditLogResponse], error) }
IntegrationAuditLogServiceClient is a client for the commonfate.access.v1alpha1.IntegrationAuditLogService service.
func NewIntegrationAuditLogServiceClient ¶
func NewIntegrationAuditLogServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) IntegrationAuditLogServiceClient
NewIntegrationAuditLogServiceClient constructs a client for the commonfate.access.v1alpha1.IntegrationAuditLogService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type IntegrationAuditLogServiceHandler ¶
type IntegrationAuditLogServiceHandler interface { // Put audit logs relating to a grant BatchPutAuditLog(context.Context, *connect.Request[v1alpha1.BatchPutAuditLogRequest]) (*connect.Response[v1alpha1.BatchPutAuditLogResponse], error) }
IntegrationAuditLogServiceHandler is an implementation of the commonfate.access.v1alpha1.IntegrationAuditLogService service.
type UnimplementedAccessRequestServiceHandler ¶
type UnimplementedAccessRequestServiceHandler struct{}
UnimplementedAccessRequestServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAccessRequestServiceHandler) ActivateAccessRequest ¶
func (UnimplementedAccessRequestServiceHandler) ActivateAccessRequest(context.Context, *connect.Request[v1alpha1.ActivateAccessRequestRequest]) (*connect.Response[v1alpha1.ActivateAccessRequestResponse], error)
func (UnimplementedAccessRequestServiceHandler) ApproveAccessRequest ¶
func (UnimplementedAccessRequestServiceHandler) ApproveAccessRequest(context.Context, *connect.Request[v1alpha1.ApproveAccessRequestRequest]) (*connect.Response[v1alpha1.ApproveAccessRequestResponse], error)
func (UnimplementedAccessRequestServiceHandler) CloseAccessRequest ¶
func (UnimplementedAccessRequestServiceHandler) CloseAccessRequest(context.Context, *connect.Request[v1alpha1.CloseAccessRequestRequest]) (*connect.Response[v1alpha1.CloseAccessRequestResponse], error)
func (UnimplementedAccessRequestServiceHandler) GetAccessRequest ¶
func (UnimplementedAccessRequestServiceHandler) GetAccessRequest(context.Context, *connect.Request[v1alpha1.GetAccessRequestRequest]) (*connect.Response[v1alpha1.GetAccessRequestResponse], error)
func (UnimplementedAccessRequestServiceHandler) QueryAccessRequests ¶
func (UnimplementedAccessRequestServiceHandler) QueryAccessRequests(context.Context, *connect.Request[v1alpha1.QueryAccessRequestsRequest]) (*connect.Response[v1alpha1.QueryAccessRequestsResponse], error)
type UnimplementedAccessServiceHandler ¶
type UnimplementedAccessServiceHandler struct{}
UnimplementedAccessServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAccessServiceHandler) BatchEnsure ¶
func (UnimplementedAccessServiceHandler) BatchEnsure(context.Context, *connect.Request[v1alpha1.BatchEnsureRequest]) (*connect.Response[v1alpha1.BatchEnsureResponse], error)
func (UnimplementedAccessServiceHandler) DebugEntitlementAccess ¶ added in v1.25.0
func (UnimplementedAccessServiceHandler) DebugEntitlementAccess(context.Context, *connect.Request[v1alpha1.DebugEntitlementAccessRequest]) (*connect.Response[v1alpha1.DebugEntitlementAccessResponse], error)
func (UnimplementedAccessServiceHandler) PreviewEntitlementAccess ¶ added in v1.16.0
func (UnimplementedAccessServiceHandler) PreviewEntitlementAccess(context.Context, *connect.Request[v1alpha1.PreviewEntitlementAccessRequest]) (*connect.Response[v1alpha1.PreviewEntitlementAccessResponse], error)
func (UnimplementedAccessServiceHandler) PreviewUserAccess ¶ added in v1.17.0
func (UnimplementedAccessServiceHandler) PreviewUserAccess(context.Context, *connect.Request[v1alpha1.PreviewUserAccessRequest]) (*connect.Response[v1alpha1.PreviewUserAccessResponse], error)
func (UnimplementedAccessServiceHandler) QueryApprovers ¶ added in v1.16.0
func (UnimplementedAccessServiceHandler) QueryApprovers(context.Context, *connect.Request[v1alpha1.QueryApproversRequest]) (*connect.Response[v1alpha1.QueryApproversResponse], error)
func (UnimplementedAccessServiceHandler) QueryAvailabilities ¶
func (UnimplementedAccessServiceHandler) QueryAvailabilities(context.Context, *connect.Request[v1alpha1.QueryAvailabilitiesRequest]) (*connect.Response[v1alpha1.QueryAvailabilitiesResponse], error)
func (UnimplementedAccessServiceHandler) QueryEntitlements ¶ added in v1.14.0
func (UnimplementedAccessServiceHandler) QueryEntitlements(context.Context, *connect.Request[v1alpha1.QueryEntitlementsRequest]) (*connect.Response[v1alpha1.QueryEntitlementsResponse], error)
type UnimplementedAuditLogServiceHandler ¶
type UnimplementedAuditLogServiceHandler struct{}
UnimplementedAuditLogServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuditLogServiceHandler) QueryAuditLogs ¶
func (UnimplementedAuditLogServiceHandler) QueryAuditLogs(context.Context, *connect.Request[v1alpha1.QueryAuditLogsRequest]) (*connect.Response[v1alpha1.QueryAuditLogsResponse], error)
type UnimplementedEntityServiceHandler ¶
type UnimplementedEntityServiceHandler struct{}
UnimplementedEntityServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedEntityServiceHandler) QueryDescendents ¶
func (UnimplementedEntityServiceHandler) QueryDescendents(context.Context, *connect.Request[v1alpha1.QueryDescendentsRequest]) (*connect.Response[v1alpha1.QueryDescendentsResponse], error)
type UnimplementedGrantsServiceHandler ¶
type UnimplementedGrantsServiceHandler struct{}
UnimplementedGrantsServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedGrantsServiceHandler) QueryGrantChildren ¶
func (UnimplementedGrantsServiceHandler) QueryGrantChildren(context.Context, *connect.Request[v1alpha1.QueryGrantChildrenRequest]) (*connect.Response[v1alpha1.QueryGrantChildrenResponse], error)
func (UnimplementedGrantsServiceHandler) QueryGrants ¶
func (UnimplementedGrantsServiceHandler) QueryGrants(context.Context, *connect.Request[v1alpha1.QueryGrantsRequest]) (*connect.Response[v1alpha1.QueryGrantsResponse], error)
type UnimplementedIdentityServiceHandler ¶
type UnimplementedIdentityServiceHandler struct{}
UnimplementedIdentityServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedIdentityServiceHandler) GetCallerIdentity ¶
func (UnimplementedIdentityServiceHandler) GetCallerIdentity(context.Context, *connect.Request[v1alpha1.GetCallerIdentityRequest]) (*connect.Response[v1alpha1.GetCallerIdentityResponse], error)
type UnimplementedIntegrationAuditLogServiceHandler ¶
type UnimplementedIntegrationAuditLogServiceHandler struct{}
UnimplementedIntegrationAuditLogServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedIntegrationAuditLogServiceHandler) BatchPutAuditLog ¶
func (UnimplementedIntegrationAuditLogServiceHandler) BatchPutAuditLog(context.Context, *connect.Request[v1alpha1.BatchPutAuditLogRequest]) (*connect.Response[v1alpha1.BatchPutAuditLogResponse], error)