Documentation ¶
Overview ¶
Package admin contains the TrillianAdminServer implementation.
Index ¶
- type Server
- func (s *Server) CreateTree(ctx context.Context, request *trillian.CreateTreeRequest) (*trillian.Tree, error)
- func (s *Server) DeleteTree(context.Context, *trillian.DeleteTreeRequest) (*empty.Empty, error)
- func (s *Server) GetTree(ctx context.Context, request *trillian.GetTreeRequest) (*trillian.Tree, error)
- func (s *Server) ListTrees(ctx context.Context, req *trillian.ListTreesRequest) (*trillian.ListTreesResponse, error)
- func (s *Server) UpdateTree(ctx context.Context, req *trillian.UpdateTreeRequest) (*trillian.Tree, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an implementation of trillian.TrillianAdminServer.
func (*Server) CreateTree ¶
func (s *Server) CreateTree(ctx context.Context, request *trillian.CreateTreeRequest) (*trillian.Tree, error)
CreateTree implements trillian.TrillianAdminServer.CreateTree.
func (*Server) DeleteTree ¶
DeleteTree implements trillian.TrillianAdminServer.DeleteTree.
func (*Server) GetTree ¶
func (s *Server) GetTree(ctx context.Context, request *trillian.GetTreeRequest) (*trillian.Tree, error)
GetTree implements trillian.TrillianAdminServer.GetTree.
func (*Server) ListTrees ¶
func (s *Server) ListTrees(ctx context.Context, req *trillian.ListTreesRequest) (*trillian.ListTreesResponse, error)
ListTrees implements trillian.TrillianAdminServer.ListTrees.
func (*Server) UpdateTree ¶
func (s *Server) UpdateTree(ctx context.Context, req *trillian.UpdateTreeRequest) (*trillian.Tree, error)
UpdateTree implements trillian.TrillianAdminServer.UpdateTree.
Click to show internal directories.
Click to hide internal directories.