access

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrantCommand

func NewGrantCommand(set clientset.ClientSet) *cobra.Command

func NewListCommand

func NewListCommand(set clientset.ClientSet) *cobra.Command

func NewRevokeCommand

func NewRevokeCommand(set clientset.ClientSet) *cobra.Command

Types

type GrantOptions

type GrantOptions struct {
	Cluster   string
	ClusterID string
	User      string
	UserID    string
	Team      string
	TeamID    string
	Role      client.ClusterMemberRole
}

type RevokeOptions

type RevokeOptions struct {
	Cluster   string
	ClusterID string
	User      string
	UserID    string
	Team      string
	TeamID    string
}

type SubjectInfo

type SubjectInfo struct {
	Type string // "user" or "team"
	ID   string
	Name string
}

SubjectInfo contains resolved information about a user or team subject.

type SubjectOptions

type SubjectOptions struct {
	User   string
	UserID string
	Team   string
	TeamID string
}

SubjectOptions contains the user/team options from command flags.

Jump to

Keyboard shortcuts

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