tarttd

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AAFsoReadRepo = fsoauthz.AAFsoReadRepo

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
}

type Processor

type Processor interface {
	GlobalRepoPath(repoId uuid.I) (string, bool)
	TarttHead(ctx context.Context, repoId uuid.I) (*pb.TarttHeadO, error)
	ListTars(
		ctx context.Context,
		repoId uuid.I,
		gitCommit []byte,
		fn shadows.ListTarsFunc,
	) error
	GetTarttconfig(
		ctx context.Context,
		repoId uuid.I,
		gitCommit []byte,
	) ([]byte, error)
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(
	lg Logger,
	authn auth.Authenticator,
	authz auth.Authorizer,
	proc Processor,
) *Server

func (*Server) GetTarttconfig

func (srv *Server) GetTarttconfig(
	ctx context.Context, i *pb.GetTarttconfigI,
) (*pb.GetTarttconfigO, error)

func (*Server) ListTars

func (srv *Server) ListTars(
	ctx context.Context, i *pb.ListTarsI,
) (*pb.ListTarsO, error)

func (*Server) TarttHead

func (srv *Server) TarttHead(
	ctx context.Context, i *pb.TarttHeadI,
) (*pb.TarttHeadO, error)

Jump to

Keyboard shortcuts

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