systemaccount

package
v2.2.8-ent2-rc3+incomp... Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(management *config.ManagementContext) *Manager

func NewManagerFromScale

func NewManagerFromScale(management *config.ScaledContext) *Manager

func (*Manager) CreateSystemAccount

func (s *Manager) CreateSystemAccount(cluster *v3.Cluster) error

func (*Manager) GetOrCreateProjectSystemAccount

func (s *Manager) GetOrCreateProjectSystemAccount(projectID string) error

func (*Manager) GetOrCreateProjectSystemToken

func (s *Manager) GetOrCreateProjectSystemToken(projectName string) (string, error)

func (*Manager) GetOrCreateSystemClusterToken

func (s *Manager) GetOrCreateSystemClusterToken(clusterName string) (string, error)

func (*Manager) GetProjectSystemUser

func (s *Manager) GetProjectSystemUser(projectName string) (*v3.User, error)

func (*Manager) GetSystemUser

func (s *Manager) GetSystemUser(clusterName string) (*v3.User, error)

func (*Manager) RemoveSystemAccount

func (s *Manager) RemoveSystemAccount(userID string) error

Jump to

Keyboard shortcuts

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