options

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachDetachOptions

type AttachDetachOptions struct {
	PSPName          string
	SubjectKind      string
	SubjectName      string
	SubjectNamespace string
	SubjectAPIGroup  string

	// Same field name as kind in `subjectKindList`
	Group          string
	User           string
	ServiceAccount string
}

func (*AttachDetachOptions) Complete

func (o *AttachDetachOptions) Complete(cmd *cobra.Command, args []string) error

func (*AttachDetachOptions) GenerateSubject

func (o *AttachDetachOptions) GenerateSubject(kubeconfigPath *string) (*rbacv1.Subject, error)

func (*AttachDetachOptions) PreRunE

func (o *AttachDetachOptions) PreRunE(cmd *cobra.Command, args []string) error

func (*AttachDetachOptions) Validate

func (o *AttachDetachOptions) Validate(cmd *cobra.Command, args []string) error

type CleanOptions

type CleanOptions struct {
	PSPName string
}

func (*CleanOptions) Complete

func (o *CleanOptions) Complete(cmd *cobra.Command, args []string) error

func (*CleanOptions) PreRunE

func (o *CleanOptions) PreRunE(cmd *cobra.Command, args []string) error

func (*CleanOptions) Validate

func (o *CleanOptions) Validate(cmd *cobra.Command, args []string) error

type ListOptions added in v1.1.1

type ListOptions struct {
	NoHeader    bool
	ClusterRole bool
	Role        bool
}

func (*ListOptions) Complete added in v1.1.1

func (o *ListOptions) Complete(cmd *cobra.Command, args []string) error

func (*ListOptions) PreRunE added in v1.1.1

func (o *ListOptions) PreRunE(cmd *cobra.Command, args []string) error

func (*ListOptions) Validate added in v1.1.1

func (o *ListOptions) Validate(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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