Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerAuthServer ¶
type DockerAuthServer struct { AppPort string Audience string Authenticator authenticator.Interface AuthenticatorBackend string AuthenticatorConfigFile string Authorizer authorizer.Interface AuthorizerBackend string AuthorizerConfigFile string Issuer string PublicKey []byte PublicKeyFile string SigningKey []byte SigningKeyFile string Verbose bool }
DockerAuthServer encapsulates all of the parameters necessary for starting up the web hooks server. These can either be set via command line or directly.
func NewDockerAuthServer ¶
func NewDockerAuthServer() *DockerAuthServer
NewDockerAuthServer will create a new DockerAuthServer with default values.
func (*DockerAuthServer) AddFlags ¶
func (s *DockerAuthServer) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific DockerAuthServer to the specified FlagSet
func (*DockerAuthServer) GenerateToken ¶
GenerateToken generates the json web token
func (*DockerAuthServer) Run ¶
func (s *DockerAuthServer) Run() error
Run runs the specified DockerAuthServer.
Click to show internal directories.
Click to hide internal directories.