Documentation
¶
Index ¶
- Constants
- Variables
- type Logger
- type Server
- func (srv *Server) Content(ctx context.Context, i *pb.ContentI) (*pb.ContentO, error)
- func (srv *Server) FindUntracked(i *pb.FindUntrackedI, ostream pb.Discovery_FindUntrackedServer) error
- func (srv *Server) GetTarttconfig(ctx context.Context, i *pb.GetTarttconfigI) (*pb.GetTarttconfigO, error)
- func (srv *Server) Head(ctx context.Context, i *pb.HeadI) (*pb.HeadO, error)
- func (srv *Server) Hello(ctx context.Context, i *pb.StatdsHelloI) (*pb.StatdsHelloO, error)
- func (srv *Server) IsInitRepoAllowed(ctx context.Context, repo, host, hostPath string, ...) (reason string, err error)
- func (srv *Server) ListMetaTree(i *pb.ListMetaTreeI, ostream pb.GitNogTree_ListMetaTreeServer) error
- func (srv *Server) ListStatTree(i *pb.ListStatTreeI, ostream pb.GitNogTree_ListStatTreeServer) error
- func (srv *Server) ListTars(ctx context.Context, i *pb.ListTarsI) (*pb.ListTarsO, error)
- func (srv *Server) Meta(ctx context.Context, i *pb.MetaI) (*pb.MetaO, error)
- func (srv *Server) PutMeta(ctx context.Context, i *pb.PutMetaI) (*pb.PutMetaO, error)
- func (srv *Server) PutPathMetadata(ctx context.Context, i *pb.PutPathMetadataI) (*pb.PutPathMetadataO, error)
- func (srv *Server) RefreshContent(ctx context.Context, i *pb.RefreshContentI) (*pb.RefreshContentO, error)
- func (srv *Server) ReinitSubdirTracking(ctx context.Context, i *pb.ReinitSubdirTrackingI) (*pb.ReinitSubdirTrackingO, error)
- func (srv *Server) Serve(ctx context.Context, lis net.Listener) error
- func (srv *Server) Sha(ctx context.Context, i *pb.ShaI) (*pb.ShaO, error)
- func (srv *Server) Stat(ctx context.Context, i *pb.StatI) (*pb.StatO, error)
- func (srv *Server) StatStatus(i *pb.StatStatusI, ostream pb.Stat_StatStatusServer) error
- func (srv *Server) Summary(ctx context.Context, i *pb.SummaryI) (*pb.SummaryO, error)
- func (srv *Server) TarttHead(ctx context.Context, i *pb.TarttHeadI) (*pb.TarttHeadO, error)
- func (srv *Server) TestUdo(ctx context.Context, i *pb.TestUdoI) (*pb.TestUdoO, error)
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 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) 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) Hello ¶
func (srv *Server) Hello( ctx context.Context, i *pb.StatdsHelloI, ) (*pb.StatdsHelloO, error)
func (*Server) IsInitRepoAllowed ¶
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) 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) StatStatus ¶
func (srv *Server) StatStatus( i *pb.StatStatusI, ostream pb.Stat_StatStatusServer, ) 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.