 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	DefaultRPCEndpoint = "https://grpc.cirrus-ci.com:443"
)
    Variables ¶
      View Source
      
  
var ( ErrWorker = errors.New("worker failed") ErrShutdown = errors.New("worker is shutting down") )
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Worker)
func WithLabels ¶
func WithRPCEndpoint ¶
func WithRegistrationToken ¶
type Worker ¶
type Worker struct {
	// contains filtered or unexported fields
}
    func (*Worker) GetRequestMetadata ¶
func (worker *Worker) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)
PerRPCCredentials interface implementation.
func (*Worker) RequireTransportSecurity ¶
PerRPCCredentials interface implementation.
 Click to show internal directories. 
   Click to hide internal directories.