Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterShieldServiceServer(s grpc.ServiceRegistrar, srv ShieldServiceServer)
- type ShieldServiceClient
- type ShieldServiceServer
- type UnimplementedShieldServiceServer
- func (UnimplementedShieldServiceServer) CheckResourcePermission(context.Context, *v1beta1.CheckResourcePermissionRequest) (*v1beta1.CheckResourcePermissionResponse, error)
- func (UnimplementedShieldServiceServer) CreateAction(context.Context, *v1beta1.CreateActionRequest) (*v1beta1.CreateActionResponse, error)
- func (UnimplementedShieldServiceServer) CreateGroup(context.Context, *v1beta1.CreateGroupRequest) (*v1beta1.CreateGroupResponse, error)
- func (UnimplementedShieldServiceServer) CreateMetadataKey(context.Context, *v1beta1.CreateMetadataKeyRequest) (*v1beta1.CreateMetadataKeyResponse, error)
- func (UnimplementedShieldServiceServer) CreateNamespace(context.Context, *v1beta1.CreateNamespaceRequest) (*v1beta1.CreateNamespaceResponse, error)
- func (UnimplementedShieldServiceServer) CreateOrganization(context.Context, *v1beta1.CreateOrganizationRequest) (*v1beta1.CreateOrganizationResponse, error)
- func (UnimplementedShieldServiceServer) CreatePolicy(context.Context, *v1beta1.CreatePolicyRequest) (*v1beta1.CreatePolicyResponse, error)
- func (UnimplementedShieldServiceServer) CreateProject(context.Context, *v1beta1.CreateProjectRequest) (*v1beta1.CreateProjectResponse, error)
- func (UnimplementedShieldServiceServer) CreateRelation(context.Context, *v1beta1.CreateRelationRequest) (*v1beta1.CreateRelationResponse, error)
- func (UnimplementedShieldServiceServer) CreateResource(context.Context, *v1beta1.CreateResourceRequest) (*v1beta1.CreateResourceResponse, error)
- func (UnimplementedShieldServiceServer) CreateRole(context.Context, *v1beta1.CreateRoleRequest) (*v1beta1.CreateRoleResponse, error)
- func (UnimplementedShieldServiceServer) CreateUser(context.Context, *v1beta1.CreateUserRequest) (*v1beta1.CreateUserResponse, error)
- func (UnimplementedShieldServiceServer) DeleteRelation(context.Context, *v1beta1.DeleteRelationRequest) (*v1beta1.DeleteRelationResponse, error)
- func (UnimplementedShieldServiceServer) GetAction(context.Context, *v1beta1.GetActionRequest) (*v1beta1.GetActionResponse, error)
- func (UnimplementedShieldServiceServer) GetCurrentUser(context.Context, *v1beta1.GetCurrentUserRequest) (*v1beta1.GetCurrentUserResponse, error)
- func (UnimplementedShieldServiceServer) GetGroup(context.Context, *v1beta1.GetGroupRequest) (*v1beta1.GetGroupResponse, error)
- func (UnimplementedShieldServiceServer) GetNamespace(context.Context, *v1beta1.GetNamespaceRequest) (*v1beta1.GetNamespaceResponse, error)
- func (UnimplementedShieldServiceServer) GetOrganization(context.Context, *v1beta1.GetOrganizationRequest) (*v1beta1.GetOrganizationResponse, error)
- func (UnimplementedShieldServiceServer) GetPolicy(context.Context, *v1beta1.GetPolicyRequest) (*v1beta1.GetPolicyResponse, error)
- func (UnimplementedShieldServiceServer) GetProject(context.Context, *v1beta1.GetProjectRequest) (*v1beta1.GetProjectResponse, error)
- func (UnimplementedShieldServiceServer) GetRelation(context.Context, *v1beta1.GetRelationRequest) (*v1beta1.GetRelationResponse, error)
- func (UnimplementedShieldServiceServer) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error)
- func (UnimplementedShieldServiceServer) GetRole(context.Context, *v1beta1.GetRoleRequest) (*v1beta1.GetRoleResponse, error)
- func (UnimplementedShieldServiceServer) GetUser(context.Context, *v1beta1.GetUserRequest) (*v1beta1.GetUserResponse, error)
- func (UnimplementedShieldServiceServer) ListActions(context.Context, *v1beta1.ListActionsRequest) (*v1beta1.ListActionsResponse, error)
- func (UnimplementedShieldServiceServer) ListGroupRelations(context.Context, *v1beta1.ListGroupRelationsRequest) (*v1beta1.ListGroupRelationsResponse, error)
- func (UnimplementedShieldServiceServer) ListGroups(context.Context, *v1beta1.ListGroupsRequest) (*v1beta1.ListGroupsResponse, error)
- func (UnimplementedShieldServiceServer) ListNamespaces(context.Context, *v1beta1.ListNamespacesRequest) (*v1beta1.ListNamespacesResponse, error)
- func (UnimplementedShieldServiceServer) ListOrganizationAdmins(context.Context, *v1beta1.ListOrganizationAdminsRequest) (*v1beta1.ListOrganizationAdminsResponse, error)
- func (UnimplementedShieldServiceServer) ListOrganizations(context.Context, *v1beta1.ListOrganizationsRequest) (*v1beta1.ListOrganizationsResponse, error)
- func (UnimplementedShieldServiceServer) ListPolicies(context.Context, *v1beta1.ListPoliciesRequest) (*v1beta1.ListPoliciesResponse, error)
- func (UnimplementedShieldServiceServer) ListProjectAdmins(context.Context, *v1beta1.ListProjectAdminsRequest) (*v1beta1.ListProjectAdminsResponse, error)
- func (UnimplementedShieldServiceServer) ListProjects(context.Context, *v1beta1.ListProjectsRequest) (*v1beta1.ListProjectsResponse, error)
- func (UnimplementedShieldServiceServer) ListRelations(context.Context, *v1beta1.ListRelationsRequest) (*v1beta1.ListRelationsResponse, error)
- func (UnimplementedShieldServiceServer) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error)
- func (UnimplementedShieldServiceServer) ListRoles(context.Context, *v1beta1.ListRolesRequest) (*v1beta1.ListRolesResponse, error)
- func (UnimplementedShieldServiceServer) ListUserGroups(context.Context, *v1beta1.ListUserGroupsRequest) (*v1beta1.ListUserGroupsResponse, error)
- func (UnimplementedShieldServiceServer) ListUsers(context.Context, *v1beta1.ListUsersRequest) (*v1beta1.ListUsersResponse, error)
- func (UnimplementedShieldServiceServer) UpdateAction(context.Context, *v1beta1.UpdateActionRequest) (*v1beta1.UpdateActionResponse, error)
- func (UnimplementedShieldServiceServer) UpdateCurrentUser(context.Context, *v1beta1.UpdateCurrentUserRequest) (*v1beta1.UpdateCurrentUserResponse, error)
- func (UnimplementedShieldServiceServer) UpdateGroup(context.Context, *v1beta1.UpdateGroupRequest) (*v1beta1.UpdateGroupResponse, error)
- func (UnimplementedShieldServiceServer) UpdateNamespace(context.Context, *v1beta1.UpdateNamespaceRequest) (*v1beta1.UpdateNamespaceResponse, error)
- func (UnimplementedShieldServiceServer) UpdateOrganization(context.Context, *v1beta1.UpdateOrganizationRequest) (*v1beta1.UpdateOrganizationResponse, error)
- func (UnimplementedShieldServiceServer) UpdatePolicy(context.Context, *v1beta1.UpdatePolicyRequest) (*v1beta1.UpdatePolicyResponse, error)
- func (UnimplementedShieldServiceServer) UpdateProject(context.Context, *v1beta1.UpdateProjectRequest) (*v1beta1.UpdateProjectResponse, error)
- func (UnimplementedShieldServiceServer) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error)
- func (UnimplementedShieldServiceServer) UpdateRole(context.Context, *v1beta1.UpdateRoleRequest) (*v1beta1.UpdateRoleResponse, error)
- func (UnimplementedShieldServiceServer) UpdateUser(context.Context, *v1beta1.UpdateUserRequest) (*v1beta1.UpdateUserResponse, error)
- type UnsafeShieldServiceServer
Constants ¶
const ( ShieldService_ListUsers_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListUsers" ShieldService_CreateUser_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateUser" ShieldService_GetUser_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetUser" ShieldService_ListUserGroups_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListUserGroups" ShieldService_GetCurrentUser_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetCurrentUser" ShieldService_UpdateUser_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateUser" ShieldService_UpdateCurrentUser_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateCurrentUser" ShieldService_CreateMetadataKey_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateMetadataKey" ShieldService_ListGroups_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListGroups" ShieldService_CreateGroup_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateGroup" ShieldService_GetGroup_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetGroup" ShieldService_UpdateGroup_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateGroup" ShieldService_ListGroupRelations_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListGroupRelations" ShieldService_ListRoles_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListRoles" ShieldService_CreateRole_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateRole" ShieldService_GetRole_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetRole" ShieldService_UpdateRole_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateRole" ShieldService_ListOrganizations_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListOrganizations" ShieldService_CreateOrganization_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateOrganization" ShieldService_GetOrganization_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetOrganization" ShieldService_UpdateOrganization_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateOrganization" ShieldService_ListOrganizationAdmins_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListOrganizationAdmins" ShieldService_ListProjects_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListProjects" ShieldService_CreateProject_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateProject" ShieldService_GetProject_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetProject" ShieldService_UpdateProject_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateProject" ShieldService_ListProjectAdmins_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListProjectAdmins" ShieldService_ListActions_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListActions" ShieldService_CreateAction_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateAction" ShieldService_GetAction_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetAction" ShieldService_UpdateAction_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateAction" ShieldService_ListNamespaces_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListNamespaces" ShieldService_CreateNamespace_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateNamespace" ShieldService_GetNamespace_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetNamespace" ShieldService_UpdateNamespace_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateNamespace" ShieldService_ListPolicies_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListPolicies" ShieldService_CreatePolicy_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreatePolicy" ShieldService_GetPolicy_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetPolicy" ShieldService_UpdatePolicy_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdatePolicy" ShieldService_ListRelations_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListRelations" ShieldService_CreateRelation_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateRelation" ShieldService_GetRelation_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetRelation" ShieldService_DeleteRelation_FullMethodName = "/odpf.shield.v1beta1.ShieldService/DeleteRelation" ShieldService_ListResources_FullMethodName = "/odpf.shield.v1beta1.ShieldService/ListResources" ShieldService_CreateResource_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CreateResource" ShieldService_GetResource_FullMethodName = "/odpf.shield.v1beta1.ShieldService/GetResource" ShieldService_UpdateResource_FullMethodName = "/odpf.shield.v1beta1.ShieldService/UpdateResource" ShieldService_CheckResourcePermission_FullMethodName = "/odpf.shield.v1beta1.ShieldService/CheckResourcePermission" )
Variables ¶
var ShieldService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.shield.v1beta1.ShieldService", HandlerType: (*ShieldServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListUsers", Handler: _ShieldService_ListUsers_Handler, }, { MethodName: "CreateUser", Handler: _ShieldService_CreateUser_Handler, }, { MethodName: "GetUser", Handler: _ShieldService_GetUser_Handler, }, { MethodName: "ListUserGroups", Handler: _ShieldService_ListUserGroups_Handler, }, { MethodName: "GetCurrentUser", Handler: _ShieldService_GetCurrentUser_Handler, }, { MethodName: "UpdateUser", Handler: _ShieldService_UpdateUser_Handler, }, { MethodName: "UpdateCurrentUser", Handler: _ShieldService_UpdateCurrentUser_Handler, }, { MethodName: "CreateMetadataKey", Handler: _ShieldService_CreateMetadataKey_Handler, }, { MethodName: "ListGroups", Handler: _ShieldService_ListGroups_Handler, }, { MethodName: "CreateGroup", Handler: _ShieldService_CreateGroup_Handler, }, { MethodName: "GetGroup", Handler: _ShieldService_GetGroup_Handler, }, { MethodName: "UpdateGroup", Handler: _ShieldService_UpdateGroup_Handler, }, { MethodName: "ListGroupRelations", Handler: _ShieldService_ListGroupRelations_Handler, }, { MethodName: "ListRoles", Handler: _ShieldService_ListRoles_Handler, }, { MethodName: "CreateRole", Handler: _ShieldService_CreateRole_Handler, }, { MethodName: "GetRole", Handler: _ShieldService_GetRole_Handler, }, { MethodName: "UpdateRole", Handler: _ShieldService_UpdateRole_Handler, }, { MethodName: "ListOrganizations", Handler: _ShieldService_ListOrganizations_Handler, }, { MethodName: "CreateOrganization", Handler: _ShieldService_CreateOrganization_Handler, }, { MethodName: "GetOrganization", Handler: _ShieldService_GetOrganization_Handler, }, { MethodName: "UpdateOrganization", Handler: _ShieldService_UpdateOrganization_Handler, }, { MethodName: "ListOrganizationAdmins", Handler: _ShieldService_ListOrganizationAdmins_Handler, }, { MethodName: "ListProjects", Handler: _ShieldService_ListProjects_Handler, }, { MethodName: "CreateProject", Handler: _ShieldService_CreateProject_Handler, }, { MethodName: "GetProject", Handler: _ShieldService_GetProject_Handler, }, { MethodName: "UpdateProject", Handler: _ShieldService_UpdateProject_Handler, }, { MethodName: "ListProjectAdmins", Handler: _ShieldService_ListProjectAdmins_Handler, }, { MethodName: "ListActions", Handler: _ShieldService_ListActions_Handler, }, { MethodName: "CreateAction", Handler: _ShieldService_CreateAction_Handler, }, { MethodName: "GetAction", Handler: _ShieldService_GetAction_Handler, }, { MethodName: "UpdateAction", Handler: _ShieldService_UpdateAction_Handler, }, { MethodName: "ListNamespaces", Handler: _ShieldService_ListNamespaces_Handler, }, { MethodName: "CreateNamespace", Handler: _ShieldService_CreateNamespace_Handler, }, { MethodName: "GetNamespace", Handler: _ShieldService_GetNamespace_Handler, }, { MethodName: "UpdateNamespace", Handler: _ShieldService_UpdateNamespace_Handler, }, { MethodName: "ListPolicies", Handler: _ShieldService_ListPolicies_Handler, }, { MethodName: "CreatePolicy", Handler: _ShieldService_CreatePolicy_Handler, }, { MethodName: "GetPolicy", Handler: _ShieldService_GetPolicy_Handler, }, { MethodName: "UpdatePolicy", Handler: _ShieldService_UpdatePolicy_Handler, }, { MethodName: "ListRelations", Handler: _ShieldService_ListRelations_Handler, }, { MethodName: "CreateRelation", Handler: _ShieldService_CreateRelation_Handler, }, { MethodName: "GetRelation", Handler: _ShieldService_GetRelation_Handler, }, { MethodName: "DeleteRelation", Handler: _ShieldService_DeleteRelation_Handler, }, { MethodName: "ListResources", Handler: _ShieldService_ListResources_Handler, }, { MethodName: "CreateResource", Handler: _ShieldService_CreateResource_Handler, }, { MethodName: "GetResource", Handler: _ShieldService_GetResource_Handler, }, { MethodName: "UpdateResource", Handler: _ShieldService_UpdateResource_Handler, }, { MethodName: "CheckResourcePermission", Handler: _ShieldService_CheckResourcePermission_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "odpf/shield/v1beta1/shield.proto", }
ShieldService_ServiceDesc is the grpc.ServiceDesc for ShieldService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterShieldServiceServer ¶
func RegisterShieldServiceServer(s grpc.ServiceRegistrar, srv ShieldServiceServer)
Types ¶
type ShieldServiceClient ¶
type ShieldServiceClient interface { ListUsers(ctx context.Context, in *v1beta1.ListUsersRequest, opts ...grpc.CallOption) (*v1beta1.ListUsersResponse, error) CreateUser(ctx context.Context, in *v1beta1.CreateUserRequest, opts ...grpc.CallOption) (*v1beta1.CreateUserResponse, error) GetUser(ctx context.Context, in *v1beta1.GetUserRequest, opts ...grpc.CallOption) (*v1beta1.GetUserResponse, error) ListUserGroups(ctx context.Context, in *v1beta1.ListUserGroupsRequest, opts ...grpc.CallOption) (*v1beta1.ListUserGroupsResponse, error) GetCurrentUser(ctx context.Context, in *v1beta1.GetCurrentUserRequest, opts ...grpc.CallOption) (*v1beta1.GetCurrentUserResponse, error) UpdateUser(ctx context.Context, in *v1beta1.UpdateUserRequest, opts ...grpc.CallOption) (*v1beta1.UpdateUserResponse, error) UpdateCurrentUser(ctx context.Context, in *v1beta1.UpdateCurrentUserRequest, opts ...grpc.CallOption) (*v1beta1.UpdateCurrentUserResponse, error) CreateMetadataKey(ctx context.Context, in *v1beta1.CreateMetadataKeyRequest, opts ...grpc.CallOption) (*v1beta1.CreateMetadataKeyResponse, error) ListGroups(ctx context.Context, in *v1beta1.ListGroupsRequest, opts ...grpc.CallOption) (*v1beta1.ListGroupsResponse, error) CreateGroup(ctx context.Context, in *v1beta1.CreateGroupRequest, opts ...grpc.CallOption) (*v1beta1.CreateGroupResponse, error) GetGroup(ctx context.Context, in *v1beta1.GetGroupRequest, opts ...grpc.CallOption) (*v1beta1.GetGroupResponse, error) UpdateGroup(ctx context.Context, in *v1beta1.UpdateGroupRequest, opts ...grpc.CallOption) (*v1beta1.UpdateGroupResponse, error) ListGroupRelations(ctx context.Context, in *v1beta1.ListGroupRelationsRequest, opts ...grpc.CallOption) (*v1beta1.ListGroupRelationsResponse, error) ListRoles(ctx context.Context, in *v1beta1.ListRolesRequest, opts ...grpc.CallOption) (*v1beta1.ListRolesResponse, error) CreateRole(ctx context.Context, in *v1beta1.CreateRoleRequest, opts ...grpc.CallOption) (*v1beta1.CreateRoleResponse, error) GetRole(ctx context.Context, in *v1beta1.GetRoleRequest, opts ...grpc.CallOption) (*v1beta1.GetRoleResponse, error) UpdateRole(ctx context.Context, in *v1beta1.UpdateRoleRequest, opts ...grpc.CallOption) (*v1beta1.UpdateRoleResponse, error) ListOrganizations(ctx context.Context, in *v1beta1.ListOrganizationsRequest, opts ...grpc.CallOption) (*v1beta1.ListOrganizationsResponse, error) CreateOrganization(ctx context.Context, in *v1beta1.CreateOrganizationRequest, opts ...grpc.CallOption) (*v1beta1.CreateOrganizationResponse, error) GetOrganization(ctx context.Context, in *v1beta1.GetOrganizationRequest, opts ...grpc.CallOption) (*v1beta1.GetOrganizationResponse, error) UpdateOrganization(ctx context.Context, in *v1beta1.UpdateOrganizationRequest, opts ...grpc.CallOption) (*v1beta1.UpdateOrganizationResponse, error) ListOrganizationAdmins(ctx context.Context, in *v1beta1.ListOrganizationAdminsRequest, opts ...grpc.CallOption) (*v1beta1.ListOrganizationAdminsResponse, error) ListProjects(ctx context.Context, in *v1beta1.ListProjectsRequest, opts ...grpc.CallOption) (*v1beta1.ListProjectsResponse, error) CreateProject(ctx context.Context, in *v1beta1.CreateProjectRequest, opts ...grpc.CallOption) (*v1beta1.CreateProjectResponse, error) GetProject(ctx context.Context, in *v1beta1.GetProjectRequest, opts ...grpc.CallOption) (*v1beta1.GetProjectResponse, error) UpdateProject(ctx context.Context, in *v1beta1.UpdateProjectRequest, opts ...grpc.CallOption) (*v1beta1.UpdateProjectResponse, error) ListProjectAdmins(ctx context.Context, in *v1beta1.ListProjectAdminsRequest, opts ...grpc.CallOption) (*v1beta1.ListProjectAdminsResponse, error) ListActions(ctx context.Context, in *v1beta1.ListActionsRequest, opts ...grpc.CallOption) (*v1beta1.ListActionsResponse, error) CreateAction(ctx context.Context, in *v1beta1.CreateActionRequest, opts ...grpc.CallOption) (*v1beta1.CreateActionResponse, error) GetAction(ctx context.Context, in *v1beta1.GetActionRequest, opts ...grpc.CallOption) (*v1beta1.GetActionResponse, error) UpdateAction(ctx context.Context, in *v1beta1.UpdateActionRequest, opts ...grpc.CallOption) (*v1beta1.UpdateActionResponse, error) ListNamespaces(ctx context.Context, in *v1beta1.ListNamespacesRequest, opts ...grpc.CallOption) (*v1beta1.ListNamespacesResponse, error) CreateNamespace(ctx context.Context, in *v1beta1.CreateNamespaceRequest, opts ...grpc.CallOption) (*v1beta1.CreateNamespaceResponse, error) GetNamespace(ctx context.Context, in *v1beta1.GetNamespaceRequest, opts ...grpc.CallOption) (*v1beta1.GetNamespaceResponse, error) UpdateNamespace(ctx context.Context, in *v1beta1.UpdateNamespaceRequest, opts ...grpc.CallOption) (*v1beta1.UpdateNamespaceResponse, error) ListPolicies(ctx context.Context, in *v1beta1.ListPoliciesRequest, opts ...grpc.CallOption) (*v1beta1.ListPoliciesResponse, error) CreatePolicy(ctx context.Context, in *v1beta1.CreatePolicyRequest, opts ...grpc.CallOption) (*v1beta1.CreatePolicyResponse, error) GetPolicy(ctx context.Context, in *v1beta1.GetPolicyRequest, opts ...grpc.CallOption) (*v1beta1.GetPolicyResponse, error) UpdatePolicy(ctx context.Context, in *v1beta1.UpdatePolicyRequest, opts ...grpc.CallOption) (*v1beta1.UpdatePolicyResponse, error) ListRelations(ctx context.Context, in *v1beta1.ListRelationsRequest, opts ...grpc.CallOption) (*v1beta1.ListRelationsResponse, error) CreateRelation(ctx context.Context, in *v1beta1.CreateRelationRequest, opts ...grpc.CallOption) (*v1beta1.CreateRelationResponse, error) GetRelation(ctx context.Context, in *v1beta1.GetRelationRequest, opts ...grpc.CallOption) (*v1beta1.GetRelationResponse, error) DeleteRelation(ctx context.Context, in *v1beta1.DeleteRelationRequest, opts ...grpc.CallOption) (*v1beta1.DeleteRelationResponse, error) ListResources(ctx context.Context, in *v1beta1.ListResourcesRequest, opts ...grpc.CallOption) (*v1beta1.ListResourcesResponse, error) CreateResource(ctx context.Context, in *v1beta1.CreateResourceRequest, opts ...grpc.CallOption) (*v1beta1.CreateResourceResponse, 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) CheckResourcePermission(ctx context.Context, in *v1beta1.CheckResourcePermissionRequest, opts ...grpc.CallOption) (*v1beta1.CheckResourcePermissionResponse, error) }
ShieldServiceClient is the client API for ShieldService 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 NewShieldServiceClient ¶
func NewShieldServiceClient(cc grpc.ClientConnInterface) ShieldServiceClient
type ShieldServiceServer ¶
type ShieldServiceServer interface { ListUsers(context.Context, *v1beta1.ListUsersRequest) (*v1beta1.ListUsersResponse, error) CreateUser(context.Context, *v1beta1.CreateUserRequest) (*v1beta1.CreateUserResponse, error) GetUser(context.Context, *v1beta1.GetUserRequest) (*v1beta1.GetUserResponse, error) ListUserGroups(context.Context, *v1beta1.ListUserGroupsRequest) (*v1beta1.ListUserGroupsResponse, error) GetCurrentUser(context.Context, *v1beta1.GetCurrentUserRequest) (*v1beta1.GetCurrentUserResponse, error) UpdateUser(context.Context, *v1beta1.UpdateUserRequest) (*v1beta1.UpdateUserResponse, error) UpdateCurrentUser(context.Context, *v1beta1.UpdateCurrentUserRequest) (*v1beta1.UpdateCurrentUserResponse, error) CreateMetadataKey(context.Context, *v1beta1.CreateMetadataKeyRequest) (*v1beta1.CreateMetadataKeyResponse, error) ListGroups(context.Context, *v1beta1.ListGroupsRequest) (*v1beta1.ListGroupsResponse, error) CreateGroup(context.Context, *v1beta1.CreateGroupRequest) (*v1beta1.CreateGroupResponse, error) GetGroup(context.Context, *v1beta1.GetGroupRequest) (*v1beta1.GetGroupResponse, error) UpdateGroup(context.Context, *v1beta1.UpdateGroupRequest) (*v1beta1.UpdateGroupResponse, error) ListGroupRelations(context.Context, *v1beta1.ListGroupRelationsRequest) (*v1beta1.ListGroupRelationsResponse, error) ListRoles(context.Context, *v1beta1.ListRolesRequest) (*v1beta1.ListRolesResponse, error) CreateRole(context.Context, *v1beta1.CreateRoleRequest) (*v1beta1.CreateRoleResponse, error) GetRole(context.Context, *v1beta1.GetRoleRequest) (*v1beta1.GetRoleResponse, error) UpdateRole(context.Context, *v1beta1.UpdateRoleRequest) (*v1beta1.UpdateRoleResponse, error) ListOrganizations(context.Context, *v1beta1.ListOrganizationsRequest) (*v1beta1.ListOrganizationsResponse, error) CreateOrganization(context.Context, *v1beta1.CreateOrganizationRequest) (*v1beta1.CreateOrganizationResponse, error) GetOrganization(context.Context, *v1beta1.GetOrganizationRequest) (*v1beta1.GetOrganizationResponse, error) UpdateOrganization(context.Context, *v1beta1.UpdateOrganizationRequest) (*v1beta1.UpdateOrganizationResponse, error) ListOrganizationAdmins(context.Context, *v1beta1.ListOrganizationAdminsRequest) (*v1beta1.ListOrganizationAdminsResponse, error) ListProjects(context.Context, *v1beta1.ListProjectsRequest) (*v1beta1.ListProjectsResponse, error) CreateProject(context.Context, *v1beta1.CreateProjectRequest) (*v1beta1.CreateProjectResponse, error) GetProject(context.Context, *v1beta1.GetProjectRequest) (*v1beta1.GetProjectResponse, error) UpdateProject(context.Context, *v1beta1.UpdateProjectRequest) (*v1beta1.UpdateProjectResponse, error) ListProjectAdmins(context.Context, *v1beta1.ListProjectAdminsRequest) (*v1beta1.ListProjectAdminsResponse, error) ListActions(context.Context, *v1beta1.ListActionsRequest) (*v1beta1.ListActionsResponse, error) CreateAction(context.Context, *v1beta1.CreateActionRequest) (*v1beta1.CreateActionResponse, error) GetAction(context.Context, *v1beta1.GetActionRequest) (*v1beta1.GetActionResponse, error) UpdateAction(context.Context, *v1beta1.UpdateActionRequest) (*v1beta1.UpdateActionResponse, error) ListNamespaces(context.Context, *v1beta1.ListNamespacesRequest) (*v1beta1.ListNamespacesResponse, error) CreateNamespace(context.Context, *v1beta1.CreateNamespaceRequest) (*v1beta1.CreateNamespaceResponse, error) GetNamespace(context.Context, *v1beta1.GetNamespaceRequest) (*v1beta1.GetNamespaceResponse, error) UpdateNamespace(context.Context, *v1beta1.UpdateNamespaceRequest) (*v1beta1.UpdateNamespaceResponse, error) ListPolicies(context.Context, *v1beta1.ListPoliciesRequest) (*v1beta1.ListPoliciesResponse, error) CreatePolicy(context.Context, *v1beta1.CreatePolicyRequest) (*v1beta1.CreatePolicyResponse, error) GetPolicy(context.Context, *v1beta1.GetPolicyRequest) (*v1beta1.GetPolicyResponse, error) UpdatePolicy(context.Context, *v1beta1.UpdatePolicyRequest) (*v1beta1.UpdatePolicyResponse, error) ListRelations(context.Context, *v1beta1.ListRelationsRequest) (*v1beta1.ListRelationsResponse, error) CreateRelation(context.Context, *v1beta1.CreateRelationRequest) (*v1beta1.CreateRelationResponse, error) GetRelation(context.Context, *v1beta1.GetRelationRequest) (*v1beta1.GetRelationResponse, error) DeleteRelation(context.Context, *v1beta1.DeleteRelationRequest) (*v1beta1.DeleteRelationResponse, error) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error) CreateResource(context.Context, *v1beta1.CreateResourceRequest) (*v1beta1.CreateResourceResponse, error) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error) CheckResourcePermission(context.Context, *v1beta1.CheckResourcePermissionRequest) (*v1beta1.CheckResourcePermissionResponse, error) }
ShieldServiceServer is the server API for ShieldService service. All implementations should embed UnimplementedShieldServiceServer for forward compatibility
type UnimplementedShieldServiceServer ¶
type UnimplementedShieldServiceServer struct { }
UnimplementedShieldServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedShieldServiceServer) CheckResourcePermission ¶
func (UnimplementedShieldServiceServer) CheckResourcePermission(context.Context, *v1beta1.CheckResourcePermissionRequest) (*v1beta1.CheckResourcePermissionResponse, error)
func (UnimplementedShieldServiceServer) CreateAction ¶
func (UnimplementedShieldServiceServer) CreateAction(context.Context, *v1beta1.CreateActionRequest) (*v1beta1.CreateActionResponse, error)
func (UnimplementedShieldServiceServer) CreateGroup ¶
func (UnimplementedShieldServiceServer) CreateGroup(context.Context, *v1beta1.CreateGroupRequest) (*v1beta1.CreateGroupResponse, error)
func (UnimplementedShieldServiceServer) CreateMetadataKey ¶
func (UnimplementedShieldServiceServer) CreateMetadataKey(context.Context, *v1beta1.CreateMetadataKeyRequest) (*v1beta1.CreateMetadataKeyResponse, error)
func (UnimplementedShieldServiceServer) CreateNamespace ¶
func (UnimplementedShieldServiceServer) CreateNamespace(context.Context, *v1beta1.CreateNamespaceRequest) (*v1beta1.CreateNamespaceResponse, error)
func (UnimplementedShieldServiceServer) CreateOrganization ¶
func (UnimplementedShieldServiceServer) CreateOrganization(context.Context, *v1beta1.CreateOrganizationRequest) (*v1beta1.CreateOrganizationResponse, error)
func (UnimplementedShieldServiceServer) CreatePolicy ¶
func (UnimplementedShieldServiceServer) CreatePolicy(context.Context, *v1beta1.CreatePolicyRequest) (*v1beta1.CreatePolicyResponse, error)
func (UnimplementedShieldServiceServer) CreateProject ¶
func (UnimplementedShieldServiceServer) CreateProject(context.Context, *v1beta1.CreateProjectRequest) (*v1beta1.CreateProjectResponse, error)
func (UnimplementedShieldServiceServer) CreateRelation ¶
func (UnimplementedShieldServiceServer) CreateRelation(context.Context, *v1beta1.CreateRelationRequest) (*v1beta1.CreateRelationResponse, error)
func (UnimplementedShieldServiceServer) CreateResource ¶
func (UnimplementedShieldServiceServer) CreateResource(context.Context, *v1beta1.CreateResourceRequest) (*v1beta1.CreateResourceResponse, error)
func (UnimplementedShieldServiceServer) CreateRole ¶
func (UnimplementedShieldServiceServer) CreateRole(context.Context, *v1beta1.CreateRoleRequest) (*v1beta1.CreateRoleResponse, error)
func (UnimplementedShieldServiceServer) CreateUser ¶
func (UnimplementedShieldServiceServer) CreateUser(context.Context, *v1beta1.CreateUserRequest) (*v1beta1.CreateUserResponse, error)
func (UnimplementedShieldServiceServer) DeleteRelation ¶
func (UnimplementedShieldServiceServer) DeleteRelation(context.Context, *v1beta1.DeleteRelationRequest) (*v1beta1.DeleteRelationResponse, error)
func (UnimplementedShieldServiceServer) GetAction ¶
func (UnimplementedShieldServiceServer) GetAction(context.Context, *v1beta1.GetActionRequest) (*v1beta1.GetActionResponse, error)
func (UnimplementedShieldServiceServer) GetCurrentUser ¶
func (UnimplementedShieldServiceServer) GetCurrentUser(context.Context, *v1beta1.GetCurrentUserRequest) (*v1beta1.GetCurrentUserResponse, error)
func (UnimplementedShieldServiceServer) GetGroup ¶
func (UnimplementedShieldServiceServer) GetGroup(context.Context, *v1beta1.GetGroupRequest) (*v1beta1.GetGroupResponse, error)
func (UnimplementedShieldServiceServer) GetNamespace ¶
func (UnimplementedShieldServiceServer) GetNamespace(context.Context, *v1beta1.GetNamespaceRequest) (*v1beta1.GetNamespaceResponse, error)
func (UnimplementedShieldServiceServer) GetOrganization ¶
func (UnimplementedShieldServiceServer) GetOrganization(context.Context, *v1beta1.GetOrganizationRequest) (*v1beta1.GetOrganizationResponse, error)
func (UnimplementedShieldServiceServer) GetPolicy ¶
func (UnimplementedShieldServiceServer) GetPolicy(context.Context, *v1beta1.GetPolicyRequest) (*v1beta1.GetPolicyResponse, error)
func (UnimplementedShieldServiceServer) GetProject ¶
func (UnimplementedShieldServiceServer) GetProject(context.Context, *v1beta1.GetProjectRequest) (*v1beta1.GetProjectResponse, error)
func (UnimplementedShieldServiceServer) GetRelation ¶
func (UnimplementedShieldServiceServer) GetRelation(context.Context, *v1beta1.GetRelationRequest) (*v1beta1.GetRelationResponse, error)
func (UnimplementedShieldServiceServer) GetResource ¶
func (UnimplementedShieldServiceServer) GetResource(context.Context, *v1beta1.GetResourceRequest) (*v1beta1.GetResourceResponse, error)
func (UnimplementedShieldServiceServer) GetRole ¶
func (UnimplementedShieldServiceServer) GetRole(context.Context, *v1beta1.GetRoleRequest) (*v1beta1.GetRoleResponse, error)
func (UnimplementedShieldServiceServer) GetUser ¶
func (UnimplementedShieldServiceServer) GetUser(context.Context, *v1beta1.GetUserRequest) (*v1beta1.GetUserResponse, error)
func (UnimplementedShieldServiceServer) ListActions ¶
func (UnimplementedShieldServiceServer) ListActions(context.Context, *v1beta1.ListActionsRequest) (*v1beta1.ListActionsResponse, error)
func (UnimplementedShieldServiceServer) ListGroupRelations ¶
func (UnimplementedShieldServiceServer) ListGroupRelations(context.Context, *v1beta1.ListGroupRelationsRequest) (*v1beta1.ListGroupRelationsResponse, error)
func (UnimplementedShieldServiceServer) ListGroups ¶
func (UnimplementedShieldServiceServer) ListGroups(context.Context, *v1beta1.ListGroupsRequest) (*v1beta1.ListGroupsResponse, error)
func (UnimplementedShieldServiceServer) ListNamespaces ¶
func (UnimplementedShieldServiceServer) ListNamespaces(context.Context, *v1beta1.ListNamespacesRequest) (*v1beta1.ListNamespacesResponse, error)
func (UnimplementedShieldServiceServer) ListOrganizationAdmins ¶
func (UnimplementedShieldServiceServer) ListOrganizationAdmins(context.Context, *v1beta1.ListOrganizationAdminsRequest) (*v1beta1.ListOrganizationAdminsResponse, error)
func (UnimplementedShieldServiceServer) ListOrganizations ¶
func (UnimplementedShieldServiceServer) ListOrganizations(context.Context, *v1beta1.ListOrganizationsRequest) (*v1beta1.ListOrganizationsResponse, error)
func (UnimplementedShieldServiceServer) ListPolicies ¶
func (UnimplementedShieldServiceServer) ListPolicies(context.Context, *v1beta1.ListPoliciesRequest) (*v1beta1.ListPoliciesResponse, error)
func (UnimplementedShieldServiceServer) ListProjectAdmins ¶
func (UnimplementedShieldServiceServer) ListProjectAdmins(context.Context, *v1beta1.ListProjectAdminsRequest) (*v1beta1.ListProjectAdminsResponse, error)
func (UnimplementedShieldServiceServer) ListProjects ¶
func (UnimplementedShieldServiceServer) ListProjects(context.Context, *v1beta1.ListProjectsRequest) (*v1beta1.ListProjectsResponse, error)
func (UnimplementedShieldServiceServer) ListRelations ¶
func (UnimplementedShieldServiceServer) ListRelations(context.Context, *v1beta1.ListRelationsRequest) (*v1beta1.ListRelationsResponse, error)
func (UnimplementedShieldServiceServer) ListResources ¶
func (UnimplementedShieldServiceServer) ListResources(context.Context, *v1beta1.ListResourcesRequest) (*v1beta1.ListResourcesResponse, error)
func (UnimplementedShieldServiceServer) ListRoles ¶
func (UnimplementedShieldServiceServer) ListRoles(context.Context, *v1beta1.ListRolesRequest) (*v1beta1.ListRolesResponse, error)
func (UnimplementedShieldServiceServer) ListUserGroups ¶
func (UnimplementedShieldServiceServer) ListUserGroups(context.Context, *v1beta1.ListUserGroupsRequest) (*v1beta1.ListUserGroupsResponse, error)
func (UnimplementedShieldServiceServer) ListUsers ¶
func (UnimplementedShieldServiceServer) ListUsers(context.Context, *v1beta1.ListUsersRequest) (*v1beta1.ListUsersResponse, error)
func (UnimplementedShieldServiceServer) UpdateAction ¶
func (UnimplementedShieldServiceServer) UpdateAction(context.Context, *v1beta1.UpdateActionRequest) (*v1beta1.UpdateActionResponse, error)
func (UnimplementedShieldServiceServer) UpdateCurrentUser ¶
func (UnimplementedShieldServiceServer) UpdateCurrentUser(context.Context, *v1beta1.UpdateCurrentUserRequest) (*v1beta1.UpdateCurrentUserResponse, error)
func (UnimplementedShieldServiceServer) UpdateGroup ¶
func (UnimplementedShieldServiceServer) UpdateGroup(context.Context, *v1beta1.UpdateGroupRequest) (*v1beta1.UpdateGroupResponse, error)
func (UnimplementedShieldServiceServer) UpdateNamespace ¶
func (UnimplementedShieldServiceServer) UpdateNamespace(context.Context, *v1beta1.UpdateNamespaceRequest) (*v1beta1.UpdateNamespaceResponse, error)
func (UnimplementedShieldServiceServer) UpdateOrganization ¶
func (UnimplementedShieldServiceServer) UpdateOrganization(context.Context, *v1beta1.UpdateOrganizationRequest) (*v1beta1.UpdateOrganizationResponse, error)
func (UnimplementedShieldServiceServer) UpdatePolicy ¶
func (UnimplementedShieldServiceServer) UpdatePolicy(context.Context, *v1beta1.UpdatePolicyRequest) (*v1beta1.UpdatePolicyResponse, error)
func (UnimplementedShieldServiceServer) UpdateProject ¶
func (UnimplementedShieldServiceServer) UpdateProject(context.Context, *v1beta1.UpdateProjectRequest) (*v1beta1.UpdateProjectResponse, error)
func (UnimplementedShieldServiceServer) UpdateResource ¶
func (UnimplementedShieldServiceServer) UpdateResource(context.Context, *v1beta1.UpdateResourceRequest) (*v1beta1.UpdateResourceResponse, error)
func (UnimplementedShieldServiceServer) UpdateRole ¶
func (UnimplementedShieldServiceServer) UpdateRole(context.Context, *v1beta1.UpdateRoleRequest) (*v1beta1.UpdateRoleResponse, error)
func (UnimplementedShieldServiceServer) UpdateUser ¶
func (UnimplementedShieldServiceServer) UpdateUser(context.Context, *v1beta1.UpdateUserRequest) (*v1beta1.UpdateUserResponse, error)
type UnsafeShieldServiceServer ¶
type UnsafeShieldServiceServer interface {
// contains filtered or unexported methods
}
UnsafeShieldServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShieldServiceServer will result in compilation errors.