Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(authopts AuthOptions, authzopts AuthzOptions) ([]byte, error)
Types ¶
type AuthOptions ¶
type AuthOptions struct { VerbosityLevel string PkiDir string Namespace string Addr string RunOnMaster bool PrivateRegistry string HttpsProxy string HttpProxy string NoProxy string ProxyCert string AuthProvider providers.AuthProviders Token token.Options Google google.Options Azure azure.Options LDAP ldap.Options Github github.Options Gitlab gitlab.Options // contains filtered or unexported fields }
func NewAuthOptions ¶
func NewAuthOptions() AuthOptions
func (*AuthOptions) AddFlags ¶
func (o *AuthOptions) AddFlags(fs *pflag.FlagSet)
func (*AuthOptions) Validate ¶
func (o *AuthOptions) Validate() []error
type AuthzOptions ¶
type AuthzOptions struct { AuthzProvider authz.AuthzProviders Azure authzOpts.Options }
func NewAuthzOptions ¶
func NewAuthzOptions() AuthzOptions
func (*AuthzOptions) AddFlags ¶
func (o *AuthzOptions) AddFlags(fs *pflag.FlagSet)
func (*AuthzOptions) Validate ¶
func (o *AuthzOptions) Validate(opt *AuthOptions) []error
Click to show internal directories.
Click to hide internal directories.