discoveryd

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

Documentation

Index

Constants

View Source
const AAFsoFind = fsoauthz.AAFsoFind

Variables

View Source
var ErrForeignRoot = errors.New("unknown root")

`ErrForeignRoot` is used to communicate internally that the view is not responsible for a root.

View Source
var ErrStdtoolsDisabled = errors.New("Rule Stdtools2017 disabled")

Functions

This section is empty.

Types

type Config

type Config struct {
	Registries           []string
	Prefixes             []string
	Hosts                []string
	StdtoolsProjectsRoot string
	Authenticator        auth.Authenticator
	Authorizer           auth.Authorizer
	SysRPCCreds          credentials.PerRPCCredentials
}

type Logger

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

type Op

type Op int
const (
	OpUnspecified Op = iota
	OpInit
	OpWatch
)

type Server

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

func New

func New(lg Logger, conn *grpc.ClientConn, cfg *Config) *Server

`conn` is connected to a `nogfso.Registry` service.

func (*Server) FindUntracked

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

func (*Server) Watch

func (srv *Server) Watch(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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