options

package
v0.8.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AKSAuthzMode = "aks"
	ARCAuthzMode = "arc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	AuthzMode                      string
	ResourceId                     string
	AKSAuthzTokenURL               string
	ARMCallLimit                   int
	SkipAuthzCheck                 []string
	SkipAuthzForNonAADUsers        bool
	AllowNonResDiscoveryPathAccess bool
}

func NewOptions

func NewOptions() Options

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (Options) Apply

func (o Options) Apply(d *apps.Deployment) (extraObjs []runtime.Object, err error)

func (*Options) Validate

func (o *Options) Validate(azure azure.Options) []error

Jump to

Keyboard shortcuts

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