Documentation ¶
Index ¶
Constants ¶
View Source
const AAFsoReadRepo = fsoauthz.AAFsoReadRepo
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) TarttHead ¶
func (srv *Server) TarttHead( ctx context.Context, i *pb.TarttHeadI, ) (*pb.TarttHeadO, error)
Click to show internal directories.
Click to hide internal directories.