Documentation ¶
Index ¶
- Variables
- func RegisterGuardianServiceServer(s grpc.ServiceRegistrar, srv GuardianServiceServer)
- type GuardianServiceClient
- type GuardianServiceServer
- type UnimplementedGuardianServiceServer
- func (UnimplementedGuardianServiceServer) CancelAppeal(context.Context, *v1beta1.CancelAppealRequest) (*v1beta1.CancelAppealResponse, error)
- func (UnimplementedGuardianServiceServer) CreateAppeal(context.Context, *v1beta1.CreateAppealRequest) (*v1beta1.CreateAppealResponse, error)
- func (UnimplementedGuardianServiceServer) CreatePolicy(context.Context, *v1beta1.CreatePolicyRequest) (*v1beta1.CreatePolicyResponse, error)
- func (UnimplementedGuardianServiceServer) CreateProvider(context.Context, *v1beta1.CreateProviderRequest) (*v1beta1.CreateProviderResponse, error)
- func (UnimplementedGuardianServiceServer) DeleteProvider(context.Context, *v1beta1.DeleteProviderRequest) (*v1beta1.DeleteProviderResponse, error)
- func (UnimplementedGuardianServiceServer) DeleteResource(context.Context, *v1beta1.DeleteResourceRequest) (*v1beta1.DeleteResourceResponse, error)
- func (UnimplementedGuardianServiceServer) GetAppeal(context.Context, *v1beta1.GetAppealRequest) (*v1beta1.GetAppealResponse, error)
- func (UnimplementedGuardianServiceServer) GetPolicy(context.Context, *v1beta1.GetPolicyRequest) (*v1beta1.GetPolicyResponse, error)
- func (UnimplementedGuardianServiceServer) GetProvider(context.Context, *v1beta1.GetProviderRequest) (*v1beta1.GetProviderResponse, error)
- func (UnimplementedGuardianServiceServer) GetProviderTypes(context.Context, *v1beta1.GetProviderTypesRequest) (*v1beta1.GetProviderTypesResponse, error)
- func (UnimplementedGuardianServiceServer) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error)
- func (UnimplementedGuardianServiceServer) ListAppeals(context.Context, *v1beta1.ListAppealsRequest) (*v1beta1.ListAppealsResponse, error)
- func (UnimplementedGuardianServiceServer) ListApprovals(context.Context, *v1beta1.ListApprovalsRequest) (*v1beta1.ListApprovalsResponse, error)
- func (UnimplementedGuardianServiceServer) ListPolicies(context.Context, *v1beta1.ListPoliciesRequest) (*v1beta1.ListPoliciesResponse, error)
- func (UnimplementedGuardianServiceServer) ListProviders(context.Context, *v1beta1.ListProvidersRequest) (*v1beta1.ListProvidersResponse, error)
- func (UnimplementedGuardianServiceServer) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error)
- func (UnimplementedGuardianServiceServer) ListRoles(context.Context, *v1beta1.ListRolesRequest) (*v1beta1.ListRolesResponse, error)
- func (UnimplementedGuardianServiceServer) ListUserAppeals(context.Context, *v1beta1.ListUserAppealsRequest) (*v1beta1.ListUserAppealsResponse, error)
- func (UnimplementedGuardianServiceServer) ListUserApprovals(context.Context, *v1beta1.ListUserApprovalsRequest) (*v1beta1.ListUserApprovalsResponse, error)
- func (UnimplementedGuardianServiceServer) RevokeAppeal(context.Context, *v1beta1.RevokeAppealRequest) (*v1beta1.RevokeAppealResponse, error)
- func (UnimplementedGuardianServiceServer) RevokeAppeals(context.Context, *v1beta1.RevokeAppealsRequest) (*v1beta1.RevokeAppealsResponse, error)
- func (UnimplementedGuardianServiceServer) UpdateApproval(context.Context, *v1beta1.UpdateApprovalRequest) (*v1beta1.UpdateApprovalResponse, error)
- func (UnimplementedGuardianServiceServer) UpdatePolicy(context.Context, *v1beta1.UpdatePolicyRequest) (*v1beta1.UpdatePolicyResponse, error)
- func (UnimplementedGuardianServiceServer) UpdateProvider(context.Context, *v1beta1.UpdateProviderRequest) (*v1beta1.UpdateProviderResponse, error)
- func (UnimplementedGuardianServiceServer) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error)
- type UnsafeGuardianServiceServer
Constants ¶
This section is empty.
Variables ¶
var GuardianService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.guardian.v1beta1.GuardianService", HandlerType: (*GuardianServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListProviders", Handler: _GuardianService_ListProviders_Handler, }, { MethodName: "GetProvider", Handler: _GuardianService_GetProvider_Handler, }, { MethodName: "GetProviderTypes", Handler: _GuardianService_GetProviderTypes_Handler, }, { MethodName: "CreateProvider", Handler: _GuardianService_CreateProvider_Handler, }, { MethodName: "UpdateProvider", Handler: _GuardianService_UpdateProvider_Handler, }, { MethodName: "DeleteProvider", Handler: _GuardianService_DeleteProvider_Handler, }, { MethodName: "ListRoles", Handler: _GuardianService_ListRoles_Handler, }, { MethodName: "ListPolicies", Handler: _GuardianService_ListPolicies_Handler, }, { MethodName: "GetPolicy", Handler: _GuardianService_GetPolicy_Handler, }, { MethodName: "CreatePolicy", Handler: _GuardianService_CreatePolicy_Handler, }, { MethodName: "UpdatePolicy", Handler: _GuardianService_UpdatePolicy_Handler, }, { MethodName: "ListResources", Handler: _GuardianService_ListResources_Handler, }, { MethodName: "GetResource", Handler: _GuardianService_GetResource_Handler, }, { MethodName: "UpdateResource", Handler: _GuardianService_UpdateResource_Handler, }, { MethodName: "DeleteResource", Handler: _GuardianService_DeleteResource_Handler, }, { MethodName: "ListUserAppeals", Handler: _GuardianService_ListUserAppeals_Handler, }, { MethodName: "ListAppeals", Handler: _GuardianService_ListAppeals_Handler, }, { MethodName: "GetAppeal", Handler: _GuardianService_GetAppeal_Handler, }, { MethodName: "CancelAppeal", Handler: _GuardianService_CancelAppeal_Handler, }, { MethodName: "RevokeAppeal", Handler: _GuardianService_RevokeAppeal_Handler, }, { MethodName: "CreateAppeal", Handler: _GuardianService_CreateAppeal_Handler, }, { MethodName: "ListUserApprovals", Handler: _GuardianService_ListUserApprovals_Handler, }, { MethodName: "ListApprovals", Handler: _GuardianService_ListApprovals_Handler, }, { MethodName: "UpdateApproval", Handler: _GuardianService_UpdateApproval_Handler, }, { MethodName: "RevokeAppeals", Handler: _GuardianService_RevokeAppeals_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "odpf/guardian/v1beta1/guardian.proto", }
GuardianService_ServiceDesc is the grpc.ServiceDesc for GuardianService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGuardianServiceServer ¶
func RegisterGuardianServiceServer(s grpc.ServiceRegistrar, srv GuardianServiceServer)
Types ¶
type GuardianServiceClient ¶
type GuardianServiceClient interface { ListProviders(ctx context.Context, in *v1beta1.ListProvidersRequest, opts ...grpc.CallOption) (*v1beta1.ListProvidersResponse, error) GetProvider(ctx context.Context, in *v1beta1.GetProviderRequest, opts ...grpc.CallOption) (*v1beta1.GetProviderResponse, error) GetProviderTypes(ctx context.Context, in *v1beta1.GetProviderTypesRequest, opts ...grpc.CallOption) (*v1beta1.GetProviderTypesResponse, error) CreateProvider(ctx context.Context, in *v1beta1.CreateProviderRequest, opts ...grpc.CallOption) (*v1beta1.CreateProviderResponse, error) UpdateProvider(ctx context.Context, in *v1beta1.UpdateProviderRequest, opts ...grpc.CallOption) (*v1beta1.UpdateProviderResponse, error) DeleteProvider(ctx context.Context, in *v1beta1.DeleteProviderRequest, opts ...grpc.CallOption) (*v1beta1.DeleteProviderResponse, error) ListRoles(ctx context.Context, in *v1beta1.ListRolesRequest, opts ...grpc.CallOption) (*v1beta1.ListRolesResponse, error) ListPolicies(ctx context.Context, in *v1beta1.ListPoliciesRequest, opts ...grpc.CallOption) (*v1beta1.ListPoliciesResponse, error) GetPolicy(ctx context.Context, in *v1beta1.GetPolicyRequest, opts ...grpc.CallOption) (*v1beta1.GetPolicyResponse, error) CreatePolicy(ctx context.Context, in *v1beta1.CreatePolicyRequest, opts ...grpc.CallOption) (*v1beta1.CreatePolicyResponse, error) UpdatePolicy(ctx context.Context, in *v1beta1.UpdatePolicyRequest, opts ...grpc.CallOption) (*v1beta1.UpdatePolicyResponse, error) ListResources(ctx context.Context, in *v1beta1.ListResourcesRequest, opts ...grpc.CallOption) (*v1beta1.ListResourcesResponse, error) GetResource(ctx context.Context, in *v1beta1.GetResourceRequest, opts ...grpc.CallOption) (*v1beta1.GetResourceResponse, error) UpdateResource(ctx context.Context, in *v1beta1.UpdateResourceRequest, opts ...grpc.CallOption) (*v1beta1.UpdateResourceResponse, error) DeleteResource(ctx context.Context, in *v1beta1.DeleteResourceRequest, opts ...grpc.CallOption) (*v1beta1.DeleteResourceResponse, error) ListUserAppeals(ctx context.Context, in *v1beta1.ListUserAppealsRequest, opts ...grpc.CallOption) (*v1beta1.ListUserAppealsResponse, error) ListAppeals(ctx context.Context, in *v1beta1.ListAppealsRequest, opts ...grpc.CallOption) (*v1beta1.ListAppealsResponse, error) GetAppeal(ctx context.Context, in *v1beta1.GetAppealRequest, opts ...grpc.CallOption) (*v1beta1.GetAppealResponse, error) CancelAppeal(ctx context.Context, in *v1beta1.CancelAppealRequest, opts ...grpc.CallOption) (*v1beta1.CancelAppealResponse, error) RevokeAppeal(ctx context.Context, in *v1beta1.RevokeAppealRequest, opts ...grpc.CallOption) (*v1beta1.RevokeAppealResponse, error) CreateAppeal(ctx context.Context, in *v1beta1.CreateAppealRequest, opts ...grpc.CallOption) (*v1beta1.CreateAppealResponse, error) ListUserApprovals(ctx context.Context, in *v1beta1.ListUserApprovalsRequest, opts ...grpc.CallOption) (*v1beta1.ListUserApprovalsResponse, error) ListApprovals(ctx context.Context, in *v1beta1.ListApprovalsRequest, opts ...grpc.CallOption) (*v1beta1.ListApprovalsResponse, error) UpdateApproval(ctx context.Context, in *v1beta1.UpdateApprovalRequest, opts ...grpc.CallOption) (*v1beta1.UpdateApprovalResponse, error) RevokeAppeals(ctx context.Context, in *v1beta1.RevokeAppealsRequest, opts ...grpc.CallOption) (*v1beta1.RevokeAppealsResponse, error) }
GuardianServiceClient is the client API for GuardianService 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 NewGuardianServiceClient ¶
func NewGuardianServiceClient(cc grpc.ClientConnInterface) GuardianServiceClient
type GuardianServiceServer ¶
type GuardianServiceServer interface { ListProviders(context.Context, *v1beta1.ListProvidersRequest) (*v1beta1.ListProvidersResponse, error) GetProvider(context.Context, *v1beta1.GetProviderRequest) (*v1beta1.GetProviderResponse, error) GetProviderTypes(context.Context, *v1beta1.GetProviderTypesRequest) (*v1beta1.GetProviderTypesResponse, error) CreateProvider(context.Context, *v1beta1.CreateProviderRequest) (*v1beta1.CreateProviderResponse, error) UpdateProvider(context.Context, *v1beta1.UpdateProviderRequest) (*v1beta1.UpdateProviderResponse, error) DeleteProvider(context.Context, *v1beta1.DeleteProviderRequest) (*v1beta1.DeleteProviderResponse, error) ListRoles(context.Context, *v1beta1.ListRolesRequest) (*v1beta1.ListRolesResponse, error) ListPolicies(context.Context, *v1beta1.ListPoliciesRequest) (*v1beta1.ListPoliciesResponse, error) GetPolicy(context.Context, *v1beta1.GetPolicyRequest) (*v1beta1.GetPolicyResponse, error) CreatePolicy(context.Context, *v1beta1.CreatePolicyRequest) (*v1beta1.CreatePolicyResponse, error) UpdatePolicy(context.Context, *v1beta1.UpdatePolicyRequest) (*v1beta1.UpdatePolicyResponse, error) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error) DeleteResource(context.Context, *v1beta1.DeleteResourceRequest) (*v1beta1.DeleteResourceResponse, error) ListUserAppeals(context.Context, *v1beta1.ListUserAppealsRequest) (*v1beta1.ListUserAppealsResponse, error) ListAppeals(context.Context, *v1beta1.ListAppealsRequest) (*v1beta1.ListAppealsResponse, error) GetAppeal(context.Context, *v1beta1.GetAppealRequest) (*v1beta1.GetAppealResponse, error) CancelAppeal(context.Context, *v1beta1.CancelAppealRequest) (*v1beta1.CancelAppealResponse, error) RevokeAppeal(context.Context, *v1beta1.RevokeAppealRequest) (*v1beta1.RevokeAppealResponse, error) CreateAppeal(context.Context, *v1beta1.CreateAppealRequest) (*v1beta1.CreateAppealResponse, error) ListUserApprovals(context.Context, *v1beta1.ListUserApprovalsRequest) (*v1beta1.ListUserApprovalsResponse, error) ListApprovals(context.Context, *v1beta1.ListApprovalsRequest) (*v1beta1.ListApprovalsResponse, error) UpdateApproval(context.Context, *v1beta1.UpdateApprovalRequest) (*v1beta1.UpdateApprovalResponse, error) RevokeAppeals(context.Context, *v1beta1.RevokeAppealsRequest) (*v1beta1.RevokeAppealsResponse, error) }
GuardianServiceServer is the server API for GuardianService service. All implementations should embed UnimplementedGuardianServiceServer for forward compatibility
type UnimplementedGuardianServiceServer ¶
type UnimplementedGuardianServiceServer struct { }
UnimplementedGuardianServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedGuardianServiceServer) CancelAppeal ¶
func (UnimplementedGuardianServiceServer) CancelAppeal(context.Context, *v1beta1.CancelAppealRequest) (*v1beta1.CancelAppealResponse, error)
func (UnimplementedGuardianServiceServer) CreateAppeal ¶
func (UnimplementedGuardianServiceServer) CreateAppeal(context.Context, *v1beta1.CreateAppealRequest) (*v1beta1.CreateAppealResponse, error)
func (UnimplementedGuardianServiceServer) CreatePolicy ¶
func (UnimplementedGuardianServiceServer) CreatePolicy(context.Context, *v1beta1.CreatePolicyRequest) (*v1beta1.CreatePolicyResponse, error)
func (UnimplementedGuardianServiceServer) CreateProvider ¶
func (UnimplementedGuardianServiceServer) CreateProvider(context.Context, *v1beta1.CreateProviderRequest) (*v1beta1.CreateProviderResponse, error)
func (UnimplementedGuardianServiceServer) DeleteProvider ¶
func (UnimplementedGuardianServiceServer) DeleteProvider(context.Context, *v1beta1.DeleteProviderRequest) (*v1beta1.DeleteProviderResponse, error)
func (UnimplementedGuardianServiceServer) DeleteResource ¶
func (UnimplementedGuardianServiceServer) DeleteResource(context.Context, *v1beta1.DeleteResourceRequest) (*v1beta1.DeleteResourceResponse, error)
func (UnimplementedGuardianServiceServer) GetAppeal ¶
func (UnimplementedGuardianServiceServer) GetAppeal(context.Context, *v1beta1.GetAppealRequest) (*v1beta1.GetAppealResponse, error)
func (UnimplementedGuardianServiceServer) GetPolicy ¶
func (UnimplementedGuardianServiceServer) GetPolicy(context.Context, *v1beta1.GetPolicyRequest) (*v1beta1.GetPolicyResponse, error)
func (UnimplementedGuardianServiceServer) GetProvider ¶
func (UnimplementedGuardianServiceServer) GetProvider(context.Context, *v1beta1.GetProviderRequest) (*v1beta1.GetProviderResponse, error)
func (UnimplementedGuardianServiceServer) GetProviderTypes ¶
func (UnimplementedGuardianServiceServer) GetProviderTypes(context.Context, *v1beta1.GetProviderTypesRequest) (*v1beta1.GetProviderTypesResponse, error)
func (UnimplementedGuardianServiceServer) GetResource ¶
func (UnimplementedGuardianServiceServer) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error)
func (UnimplementedGuardianServiceServer) ListAppeals ¶
func (UnimplementedGuardianServiceServer) ListAppeals(context.Context, *v1beta1.ListAppealsRequest) (*v1beta1.ListAppealsResponse, error)
func (UnimplementedGuardianServiceServer) ListApprovals ¶
func (UnimplementedGuardianServiceServer) ListApprovals(context.Context, *v1beta1.ListApprovalsRequest) (*v1beta1.ListApprovalsResponse, error)
func (UnimplementedGuardianServiceServer) ListPolicies ¶
func (UnimplementedGuardianServiceServer) ListPolicies(context.Context, *v1beta1.ListPoliciesRequest) (*v1beta1.ListPoliciesResponse, error)
func (UnimplementedGuardianServiceServer) ListProviders ¶
func (UnimplementedGuardianServiceServer) ListProviders(context.Context, *v1beta1.ListProvidersRequest) (*v1beta1.ListProvidersResponse, error)
func (UnimplementedGuardianServiceServer) ListResources ¶
func (UnimplementedGuardianServiceServer) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error)
func (UnimplementedGuardianServiceServer) ListRoles ¶
func (UnimplementedGuardianServiceServer) ListRoles(context.Context, *v1beta1.ListRolesRequest) (*v1beta1.ListRolesResponse, error)
func (UnimplementedGuardianServiceServer) ListUserAppeals ¶
func (UnimplementedGuardianServiceServer) ListUserAppeals(context.Context, *v1beta1.ListUserAppealsRequest) (*v1beta1.ListUserAppealsResponse, error)
func (UnimplementedGuardianServiceServer) ListUserApprovals ¶
func (UnimplementedGuardianServiceServer) ListUserApprovals(context.Context, *v1beta1.ListUserApprovalsRequest) (*v1beta1.ListUserApprovalsResponse, error)
func (UnimplementedGuardianServiceServer) RevokeAppeal ¶
func (UnimplementedGuardianServiceServer) RevokeAppeal(context.Context, *v1beta1.RevokeAppealRequest) (*v1beta1.RevokeAppealResponse, error)
func (UnimplementedGuardianServiceServer) RevokeAppeals ¶
func (UnimplementedGuardianServiceServer) RevokeAppeals(context.Context, *v1beta1.RevokeAppealsRequest) (*v1beta1.RevokeAppealsResponse, error)
func (UnimplementedGuardianServiceServer) UpdateApproval ¶
func (UnimplementedGuardianServiceServer) UpdateApproval(context.Context, *v1beta1.UpdateApprovalRequest) (*v1beta1.UpdateApprovalResponse, error)
func (UnimplementedGuardianServiceServer) UpdatePolicy ¶
func (UnimplementedGuardianServiceServer) UpdatePolicy(context.Context, *v1beta1.UpdatePolicyRequest) (*v1beta1.UpdatePolicyResponse, error)
func (UnimplementedGuardianServiceServer) UpdateProvider ¶
func (UnimplementedGuardianServiceServer) UpdateProvider(context.Context, *v1beta1.UpdateProviderRequest) (*v1beta1.UpdateProviderResponse, error)
func (UnimplementedGuardianServiceServer) UpdateResource ¶
func (UnimplementedGuardianServiceServer) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error)
type UnsafeGuardianServiceServer ¶
type UnsafeGuardianServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGuardianServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GuardianServiceServer will result in compilation errors.