shieldv1beta1grpc

package
v1.3.0-20230223111553-... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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_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_ListGroupUsers_FullMethodName          = "/odpf.shield.v1beta1.ShieldService/ListGroupUsers"
	ShieldService_AddGroupUser_FullMethodName            = "/odpf.shield.v1beta1.ShieldService/AddGroupUser"
	ShieldService_RemoveGroupUser_FullMethodName         = "/odpf.shield.v1beta1.ShieldService/RemoveGroupUser"
	ShieldService_ListGroupAdmins_FullMethodName         = "/odpf.shield.v1beta1.ShieldService/ListGroupAdmins"
	ShieldService_AddGroupAdmin_FullMethodName           = "/odpf.shield.v1beta1.ShieldService/AddGroupAdmin"
	ShieldService_RemoveGroupAdmin_FullMethodName        = "/odpf.shield.v1beta1.ShieldService/RemoveGroupAdmin"
	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_AddOrganizationAdmin_FullMethodName    = "/odpf.shield.v1beta1.ShieldService/AddOrganizationAdmin"
	ShieldService_RemoveOrganizationAdmin_FullMethodName = "/odpf.shield.v1beta1.ShieldService/RemoveOrganizationAdmin"
	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_AddProjectAdmin_FullMethodName         = "/odpf.shield.v1beta1.ShieldService/AddProjectAdmin"
	ShieldService_RemoveProjectAdmin_FullMethodName      = "/odpf.shield.v1beta1.ShieldService/RemoveProjectAdmin"
	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_UpdateRelation_FullMethodName          = "/odpf.shield.v1beta1.ShieldService/UpdateRelation"
	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

View Source
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: "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: "UpdateRelation",
			Handler:    _ShieldService_UpdateRelation_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)
	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)
	UpdateRelation(ctx context.Context, in *v1beta1.UpdateRelationRequest, opts ...grpc.CallOption) (*v1beta1.UpdateRelationResponse, 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.ResourceActionAuthzRequest, opts ...grpc.CallOption) (*v1beta1.ResourceActionAuthzResponse, 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)
	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)
	UpdateRelation(context.Context, *v1beta1.UpdateRelationRequest) (*v1beta1.UpdateRelationResponse, 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.ResourceActionAuthzRequest) (*v1beta1.ResourceActionAuthzResponse, 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) AddGroupUser

func (UnimplementedShieldServiceServer) AddOrganizationAdmin

func (UnimplementedShieldServiceServer) AddProjectAdmin

func (UnimplementedShieldServiceServer) CheckResourcePermission

func (UnimplementedShieldServiceServer) CreateAction

func (UnimplementedShieldServiceServer) CreateGroup

func (UnimplementedShieldServiceServer) CreateNamespace

func (UnimplementedShieldServiceServer) CreateOrganization

func (UnimplementedShieldServiceServer) CreatePolicy

func (UnimplementedShieldServiceServer) CreateProject

func (UnimplementedShieldServiceServer) CreateRelation

func (UnimplementedShieldServiceServer) CreateResource

func (UnimplementedShieldServiceServer) CreateRole

func (UnimplementedShieldServiceServer) CreateUser

func (UnimplementedShieldServiceServer) GetAction

func (UnimplementedShieldServiceServer) GetCurrentUser

func (UnimplementedShieldServiceServer) GetGroup

func (UnimplementedShieldServiceServer) GetNamespace

func (UnimplementedShieldServiceServer) GetOrganization

func (UnimplementedShieldServiceServer) GetPolicy

func (UnimplementedShieldServiceServer) GetProject

func (UnimplementedShieldServiceServer) GetRelation

func (UnimplementedShieldServiceServer) GetResource

func (UnimplementedShieldServiceServer) GetRole

func (UnimplementedShieldServiceServer) GetUser

func (UnimplementedShieldServiceServer) ListActions

func (UnimplementedShieldServiceServer) ListGroupAdmins

func (UnimplementedShieldServiceServer) ListGroupUsers

func (UnimplementedShieldServiceServer) ListGroups

func (UnimplementedShieldServiceServer) ListNamespaces

func (UnimplementedShieldServiceServer) ListOrganizationAdmins

func (UnimplementedShieldServiceServer) ListOrganizations

func (UnimplementedShieldServiceServer) ListPolicies

func (UnimplementedShieldServiceServer) ListProjectAdmins

func (UnimplementedShieldServiceServer) ListProjects

func (UnimplementedShieldServiceServer) ListRelations

func (UnimplementedShieldServiceServer) ListResources

func (UnimplementedShieldServiceServer) ListRoles

func (UnimplementedShieldServiceServer) ListUserGroups

func (UnimplementedShieldServiceServer) ListUsers

func (UnimplementedShieldServiceServer) RemoveGroupAdmin

func (UnimplementedShieldServiceServer) RemoveGroupUser

func (UnimplementedShieldServiceServer) RemoveOrganizationAdmin

func (UnimplementedShieldServiceServer) RemoveProjectAdmin

func (UnimplementedShieldServiceServer) UpdateAction

func (UnimplementedShieldServiceServer) UpdateCurrentUser

func (UnimplementedShieldServiceServer) UpdateGroup

func (UnimplementedShieldServiceServer) UpdateNamespace

func (UnimplementedShieldServiceServer) UpdateOrganization

func (UnimplementedShieldServiceServer) UpdatePolicy

func (UnimplementedShieldServiceServer) UpdateProject

func (UnimplementedShieldServiceServer) UpdateRelation

func (UnimplementedShieldServiceServer) UpdateResource

func (UnimplementedShieldServiceServer) UpdateRole

func (UnimplementedShieldServiceServer) UpdateUser

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL