Documentation ¶
Overview ¶
Package main implements the post-process for finding tests based on tags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "<unknown>"
Version is the version info of this command. It is filled in during emerge.
Functions ¶
func NewServer ¶
func NewServer(logger *log.Logger, executor func(req *api.InternalTestplan, log *log.Logger) (*api.InternalTestplan, error)) (*grpc.Server, func())
NewServer creates an execution server.
func Server ¶
func Server(executor func(req *api.InternalTestplan, log *log.Logger) (*api.InternalTestplan, error), name string) error
Server starts the generic filter server.
func ServerWithFlagSet ¶
func ServerWithFlagSet(flagSet *flag.FlagSet, executor func(req *api.InternalTestplan, log *log.Logger) (*api.InternalTestplan, error), name string) error
ServerWithFlagSet starts the generic filter server with a custom flagSet extending the default flags.
Types ¶
type GenericFilterServiceServer ¶
type GenericFilterServiceServer struct {
// contains filtered or unexported fields
}
GenericFilterServiceServer ...
func (*GenericFilterServiceServer) Execute ¶
func (s *GenericFilterServiceServer) Execute(ctx context.Context, req *api.InternalTestplan) (*api.InternalTestplan, error)
Execute executes s.executor() with the req. The executor method must be provided on startup to NewServer.
Click to show internal directories.
Click to hide internal directories.