statdsd

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: 23 Imported by: 0

Documentation

Index

Constants

View Source
const AAFsoFind = fsoauthz.AAFsoFind
View Source
const AAFsoInitRepo = fsoauthz.AAFsoInitRepo
View Source
const AAFsoReadRepo = fsoauthz.AAFsoReadRepo
View Source
const AAFsoRefreshRepo = fsoauthz.AAFsoRefreshRepo
View Source
const AAFsoSession = fsoauthz.AAFsoSession
View Source
const AAFsoTestUdo = fsoauthz.AAFsoTestUdo
View Source
const AAFsoTestUdoAs = fsoauthz.AAFsoTestUdoAs
View Source
const AAFsoWriteRepo = fsoauthz.AAFsoWriteRepo

Variables

View Source
var ErrNoForward = errors.New("refusing to forward wildcard authorization")

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Infow(msg string, kv ...interface{})
	Warnw(msg string, kv ...interface{})
	Errorw(msg string, kv ...interface{})
}

type Server

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

func New

func New(
	lg Logger,
	advertiseAddr string,
	tls credentials.TransportCredentials,
	authn auth.Authenticator,
	authz auth.Authorizer,
	repos *fsorepos.Repos,
) *Server

func (*Server) Content

func (srv *Server) Content(
	ctx context.Context, i *pb.ContentI,
) (*pb.ContentO, error)

func (*Server) FindUntracked

func (srv *Server) FindUntracked(
	i *pb.FindUntrackedI, ostream pb.Discovery_FindUntrackedServer,
) error

func (*Server) GetTarttconfig

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

func (*Server) Head

func (srv *Server) Head(ctx context.Context, i *pb.HeadI) (*pb.HeadO, error)

func (*Server) Hello

func (srv *Server) Hello(
	ctx context.Context, i *pb.StatdsHelloI,
) (*pb.StatdsHelloO, error)

func (*Server) IsInitRepoAllowed

func (srv *Server) IsInitRepoAllowed(
	ctx context.Context,
	repo, host, hostPath string,
	subdirTracking pb.SubdirTracking,
) (reason string, err error)

func (*Server) ListMetaTree

func (srv *Server) ListMetaTree(
	i *pb.ListMetaTreeI, ostream pb.GitNogTree_ListMetaTreeServer,
) error

func (*Server) ListStatTree

func (srv *Server) ListStatTree(
	i *pb.ListStatTreeI, ostream pb.GitNogTree_ListStatTreeServer,
) error

func (*Server) ListTars

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

func (*Server) Meta

func (srv *Server) Meta(ctx context.Context, i *pb.MetaI) (*pb.MetaO, error)

func (*Server) PutMeta

func (srv *Server) PutMeta(
	ctx context.Context, i *pb.PutMetaI,
) (*pb.PutMetaO, error)

func (*Server) PutPathMetadata

func (srv *Server) PutPathMetadata(
	ctx context.Context, i *pb.PutPathMetadataI,
) (*pb.PutPathMetadataO, error)

func (*Server) RefreshContent

func (srv *Server) RefreshContent(
	ctx context.Context, i *pb.RefreshContentI,
) (*pb.RefreshContentO, error)

func (*Server) ReinitSubdirTracking

func (srv *Server) ReinitSubdirTracking(
	ctx context.Context, i *pb.ReinitSubdirTrackingI,
) (*pb.ReinitSubdirTrackingO, error)

func (*Server) Serve

func (srv *Server) Serve(ctx context.Context, lis net.Listener) error

func (*Server) Sha

func (srv *Server) Sha(
	ctx context.Context, i *pb.ShaI,
) (*pb.ShaO, error)

func (*Server) Stat

func (srv *Server) Stat(
	ctx context.Context, i *pb.StatI,
) (*pb.StatO, error)

func (*Server) StatStatus

func (srv *Server) StatStatus(
	i *pb.StatStatusI, ostream pb.Stat_StatStatusServer,
) error

func (*Server) Summary

func (srv *Server) Summary(
	ctx context.Context, i *pb.SummaryI,
) (*pb.SummaryO, error)

func (*Server) TarttHead

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

func (*Server) TestUdo

func (srv *Server) TestUdo(
	ctx context.Context, i *pb.TestUdoI,
) (*pb.TestUdoO, error)

Jump to

Keyboard shortcuts

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