options

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

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
	UseNamespaceResourceScopeFormat 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