Documentation
¶
Index ¶
- Variables
- func RegisterShieldServiceServer(s grpc.ServiceRegistrar, srv ShieldServiceServer)
- type ShieldServiceClient
- type ShieldServiceServer
- type UnimplementedShieldServiceServer
- func (UnimplementedShieldServiceServer) AddGroupAdmin(context.Context, *v1beta1.AddGroupAdminRequest) (*v1beta1.AddGroupAdminResponse, error)
- func (UnimplementedShieldServiceServer) AddGroupUser(context.Context, *v1beta1.AddGroupUserRequest) (*v1beta1.AddGroupUserResponse, error)
- func (UnimplementedShieldServiceServer) AddOrganizationAdmin(context.Context, *v1beta1.AddOrganizationAdminRequest) (*v1beta1.AddOrganizationAdminResponse, error)
- func (UnimplementedShieldServiceServer) AddProjectAdmin(context.Context, *v1beta1.AddProjectAdminRequest) (*v1beta1.AddProjectAdminResponse, error)
- 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) 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) ListGroupAdmins(context.Context, *v1beta1.ListGroupAdminsRequest) (*v1beta1.ListGroupAdminsResponse, error)
- func (UnimplementedShieldServiceServer) ListGroupUsers(context.Context, *v1beta1.ListGroupUsersRequest) (*v1beta1.ListGroupUsersResponse, 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) RemoveGroupAdmin(context.Context, *v1beta1.RemoveGroupAdminRequest) (*v1beta1.RemoveGroupAdminResponse, error)
- func (UnimplementedShieldServiceServer) RemoveGroupUser(context.Context, *v1beta1.RemoveGroupUserRequest) (*v1beta1.RemoveGroupUserResponse, error)
- func (UnimplementedShieldServiceServer) RemoveOrganizationAdmin(context.Context, *v1beta1.RemoveOrganizationAdminRequest) (*v1beta1.RemoveOrganizationAdminResponse, error)
- func (UnimplementedShieldServiceServer) RemoveProjectAdmin(context.Context, *v1beta1.RemoveProjectAdminRequest) (*v1beta1.RemoveProjectAdminResponse, 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 ¶
This section is empty.
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: "ListGroupUsers", Handler: _ShieldService_ListGroupUsers_Handler, }, { MethodName: "AddGroupUser", Handler: _ShieldService_AddGroupUser_Handler, }, { MethodName: "RemoveGroupUser", Handler: _ShieldService_RemoveGroupUser_Handler, }, { MethodName: "ListGroupAdmins", Handler: _ShieldService_ListGroupAdmins_Handler, }, { MethodName: "AddGroupAdmin", Handler: _ShieldService_AddGroupAdmin_Handler, }, { MethodName: "RemoveGroupAdmin", Handler: _ShieldService_RemoveGroupAdmin_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: "AddOrganizationAdmin", Handler: _ShieldService_AddOrganizationAdmin_Handler, }, { MethodName: "RemoveOrganizationAdmin", Handler: _ShieldService_RemoveOrganizationAdmin_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: "AddProjectAdmin", Handler: _ShieldService_AddProjectAdmin_Handler, }, { MethodName: "RemoveProjectAdmin", Handler: _ShieldService_RemoveProjectAdmin_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: "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) ListGroupUsers(ctx context.Context, in *v1beta1.ListGroupUsersRequest, opts ...grpc.CallOption) (*v1beta1.ListGroupUsersResponse, error) AddGroupUser(ctx context.Context, in *v1beta1.AddGroupUserRequest, opts ...grpc.CallOption) (*v1beta1.AddGroupUserResponse, error) RemoveGroupUser(ctx context.Context, in *v1beta1.RemoveGroupUserRequest, opts ...grpc.CallOption) (*v1beta1.RemoveGroupUserResponse, error) ListGroupAdmins(ctx context.Context, in *v1beta1.ListGroupAdminsRequest, opts ...grpc.CallOption) (*v1beta1.ListGroupAdminsResponse, error) AddGroupAdmin(ctx context.Context, in *v1beta1.AddGroupAdminRequest, opts ...grpc.CallOption) (*v1beta1.AddGroupAdminResponse, error) RemoveGroupAdmin(ctx context.Context, in *v1beta1.RemoveGroupAdminRequest, opts ...grpc.CallOption) (*v1beta1.RemoveGroupAdminResponse, 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) AddOrganizationAdmin(ctx context.Context, in *v1beta1.AddOrganizationAdminRequest, opts ...grpc.CallOption) (*v1beta1.AddOrganizationAdminResponse, error) RemoveOrganizationAdmin(ctx context.Context, in *v1beta1.RemoveOrganizationAdminRequest, opts ...grpc.CallOption) (*v1beta1.RemoveOrganizationAdminResponse, 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) AddProjectAdmin(ctx context.Context, in *v1beta1.AddProjectAdminRequest, opts ...grpc.CallOption) (*v1beta1.AddProjectAdminResponse, error) RemoveProjectAdmin(ctx context.Context, in *v1beta1.RemoveProjectAdminRequest, opts ...grpc.CallOption) (*v1beta1.RemoveProjectAdminResponse, 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) 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) ListGroupUsers(context.Context, *v1beta1.ListGroupUsersRequest) (*v1beta1.ListGroupUsersResponse, error) AddGroupUser(context.Context, *v1beta1.AddGroupUserRequest) (*v1beta1.AddGroupUserResponse, error) RemoveGroupUser(context.Context, *v1beta1.RemoveGroupUserRequest) (*v1beta1.RemoveGroupUserResponse, error) ListGroupAdmins(context.Context, *v1beta1.ListGroupAdminsRequest) (*v1beta1.ListGroupAdminsResponse, error) AddGroupAdmin(context.Context, *v1beta1.AddGroupAdminRequest) (*v1beta1.AddGroupAdminResponse, error) RemoveGroupAdmin(context.Context, *v1beta1.RemoveGroupAdminRequest) (*v1beta1.RemoveGroupAdminResponse, 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) AddOrganizationAdmin(context.Context, *v1beta1.AddOrganizationAdminRequest) (*v1beta1.AddOrganizationAdminResponse, error) RemoveOrganizationAdmin(context.Context, *v1beta1.RemoveOrganizationAdminRequest) (*v1beta1.RemoveOrganizationAdminResponse, 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) AddProjectAdmin(context.Context, *v1beta1.AddProjectAdminRequest) (*v1beta1.AddProjectAdminResponse, error) RemoveProjectAdmin(context.Context, *v1beta1.RemoveProjectAdminRequest) (*v1beta1.RemoveProjectAdminResponse, 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) 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) AddGroupAdmin ¶
func (UnimplementedShieldServiceServer) AddGroupAdmin(context.Context, *v1beta1.AddGroupAdminRequest) (*v1beta1.AddGroupAdminResponse, error)
func (UnimplementedShieldServiceServer) AddGroupUser ¶
func (UnimplementedShieldServiceServer) AddGroupUser(context.Context, *v1beta1.AddGroupUserRequest) (*v1beta1.AddGroupUserResponse, error)
func (UnimplementedShieldServiceServer) AddOrganizationAdmin ¶
func (UnimplementedShieldServiceServer) AddOrganizationAdmin(context.Context, *v1beta1.AddOrganizationAdminRequest) (*v1beta1.AddOrganizationAdminResponse, error)
func (UnimplementedShieldServiceServer) AddProjectAdmin ¶
func (UnimplementedShieldServiceServer) AddProjectAdmin(context.Context, *v1beta1.AddProjectAdminRequest) (*v1beta1.AddProjectAdminResponse, error)
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) 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) ListGroupAdmins ¶
func (UnimplementedShieldServiceServer) ListGroupAdmins(context.Context, *v1beta1.ListGroupAdminsRequest) (*v1beta1.ListGroupAdminsResponse, error)
func (UnimplementedShieldServiceServer) ListGroupUsers ¶
func (UnimplementedShieldServiceServer) ListGroupUsers(context.Context, *v1beta1.ListGroupUsersRequest) (*v1beta1.ListGroupUsersResponse, 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) RemoveGroupAdmin ¶
func (UnimplementedShieldServiceServer) RemoveGroupAdmin(context.Context, *v1beta1.RemoveGroupAdminRequest) (*v1beta1.RemoveGroupAdminResponse, error)
func (UnimplementedShieldServiceServer) RemoveGroupUser ¶
func (UnimplementedShieldServiceServer) RemoveGroupUser(context.Context, *v1beta1.RemoveGroupUserRequest) (*v1beta1.RemoveGroupUserResponse, error)
func (UnimplementedShieldServiceServer) RemoveOrganizationAdmin ¶
func (UnimplementedShieldServiceServer) RemoveOrganizationAdmin(context.Context, *v1beta1.RemoveOrganizationAdminRequest) (*v1beta1.RemoveOrganizationAdminResponse, error)
func (UnimplementedShieldServiceServer) RemoveProjectAdmin ¶
func (UnimplementedShieldServiceServer) RemoveProjectAdmin(context.Context, *v1beta1.RemoveProjectAdminRequest) (*v1beta1.RemoveProjectAdminResponse, 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.