admin

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Package admin provides the admin gRPC server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	v1.UnimplementedAdminServer
	// contains filtered or unexported fields
}

Server is the webmesh Admin service.

func NewServer added in v0.14.12

func NewServer(storage storage.Provider, rbac rbac.Evaluator) *Server

New creates a new admin server.

func (*Server) DeleteEdge

func (s *Server) DeleteEdge(ctx context.Context, edge *v1.MeshEdge) (*emptypb.Empty, error)

func (*Server) DeleteGroup

func (s *Server) DeleteGroup(ctx context.Context, group *v1.Group) (*emptypb.Empty, error)

func (*Server) DeleteNetworkACL

func (s *Server) DeleteNetworkACL(ctx context.Context, acl *v1.NetworkACL) (*emptypb.Empty, error)

func (*Server) DeleteRole

func (s *Server) DeleteRole(ctx context.Context, role *v1.Role) (*emptypb.Empty, error)

func (*Server) DeleteRoleBinding

func (s *Server) DeleteRoleBinding(ctx context.Context, rb *v1.RoleBinding) (*emptypb.Empty, error)

func (*Server) DeleteRoute

func (s *Server) DeleteRoute(ctx context.Context, route *v1.Route) (*emptypb.Empty, error)

func (*Server) GetEdge

func (s *Server) GetEdge(ctx context.Context, edge *v1.MeshEdge) (*v1.MeshEdge, error)

func (*Server) GetGroup

func (s *Server) GetGroup(ctx context.Context, group *v1.Group) (*v1.Group, error)

func (*Server) GetNetworkACL

func (s *Server) GetNetworkACL(ctx context.Context, acl *v1.NetworkACL) (*v1.NetworkACL, error)

func (*Server) GetRole

func (s *Server) GetRole(ctx context.Context, role *v1.Role) (*v1.Role, error)

func (*Server) GetRoleBinding

func (s *Server) GetRoleBinding(ctx context.Context, rb *v1.RoleBinding) (*v1.RoleBinding, error)

func (*Server) GetRoute

func (s *Server) GetRoute(ctx context.Context, route *v1.Route) (*v1.Route, error)

func (*Server) ListEdges

func (s *Server) ListEdges(ctx context.Context, _ *emptypb.Empty) (*v1.MeshEdges, error)

func (*Server) ListGroups

func (s *Server) ListGroups(ctx context.Context, _ *emptypb.Empty) (*v1.Groups, error)

func (*Server) ListNetworkACLs

func (s *Server) ListNetworkACLs(ctx context.Context, _ *emptypb.Empty) (*v1.NetworkACLs, error)

func (*Server) ListRoleBindings

func (s *Server) ListRoleBindings(ctx context.Context, _ *emptypb.Empty) (*v1.RoleBindings, error)

func (*Server) ListRoles

func (s *Server) ListRoles(ctx context.Context, _ *emptypb.Empty) (*v1.Roles, error)

func (*Server) ListRoutes

func (s *Server) ListRoutes(ctx context.Context, _ *emptypb.Empty) (*v1.Routes, error)

func (*Server) PutEdge

func (s *Server) PutEdge(ctx context.Context, edge *v1.MeshEdge) (*emptypb.Empty, error)

func (*Server) PutGroup

func (s *Server) PutGroup(ctx context.Context, group *v1.Group) (*emptypb.Empty, error)

func (*Server) PutNetworkACL

func (s *Server) PutNetworkACL(ctx context.Context, acl *v1.NetworkACL) (*emptypb.Empty, error)

func (*Server) PutRole

func (s *Server) PutRole(ctx context.Context, role *v1.Role) (*emptypb.Empty, error)

func (*Server) PutRoleBinding

func (s *Server) PutRoleBinding(ctx context.Context, rb *v1.RoleBinding) (*emptypb.Empty, error)

func (*Server) PutRoute

func (s *Server) PutRoute(ctx context.Context, route *v1.Route) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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