team

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtime *core.Runtime) *cobra.Command

func NewWithManager

func NewWithManager(mgr *Manager) *cobra.Command

Types

type InitOptions

type InitOptions struct {
	Slug string
}

InitOptions is kept only so the deprecated team init command can reject with a clear message without preserving the old direct-kubectl implementation.

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(logger *zap.Logger) *Manager

func (*Manager) AddTeamUser

func (m *Manager) AddTeamUser(slug, userID, role string) error

func (*Manager) CreateTeam

func (m *Manager) CreateTeam(slug, name string) error

func (*Manager) CreateTeamUser

func (m *Manager) CreateTeamUser(slug, email, password, role string) error

func (*Manager) InitTeam

func (m *Manager) InitTeam(opts InitOptions) error

func (*Manager) ListTeamUsers

func (m *Manager) ListTeamUsers(slug string) error

func (*Manager) ListTeams

func (m *Manager) ListTeams() error

Jump to

Keyboard shortcuts

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