Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Default binary version. DefaultBinaryVersion = "1.21.0" // Default download timeout. DefaultDownloadTimeout = 30 * time.Second )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Version string // Location where the binary will be downloaded. Dir string Logger telemetry.Logger ProxyConfig *bootstrapv3.Bootstrap }
Config holds the configuration object for running auth_server.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a run.Service implementation that runs auth_server.
func New ¶
New returns a new run.Service that wraps auth_server binary. Setting the cfg to nil, expecting setting the auth_server's --filter_config from a file.
func (*Service) GracefulStop ¶
func (s *Service) GracefulStop()
GracefulStop stops the underlying process by sending interrupt.
Click to show internal directories.
Click to hide internal directories.