admin

package
v0.0.0-...-f1c747c Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package admin contains the TrillianAdminServer implementation.

Index

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 New

func New(registry extension.Registry) *Server

New returns a trillian.TrillianAdminServer implementation.

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

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.

Jump to

Keyboard shortcuts

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