installer

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL