Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AlwaysDeny = "AlwaysDeny" AlwaysAllow = "AlwaysAllow" RBAC = "RBAC" )
Functions ¶
This section is empty.
Types ¶
type AuthorizationOptions ¶
type AuthorizationOptions struct {
Mode string `json:"mode" yaml:"mode"`
}
func NewAuthorizationOptions ¶
func NewAuthorizationOptions() *AuthorizationOptions
func (*AuthorizationOptions) AddFlags ¶
func (o *AuthorizationOptions) AddFlags(fs *pflag.FlagSet, s *AuthorizationOptions)
func (AuthorizationOptions) Validate ¶
func (o AuthorizationOptions) Validate() []error
Click to show internal directories.
Click to hide internal directories.