Documentation ¶
Index ¶
- type Manager
- func (s *Manager) CreateSystemAccount(cluster *v3.Cluster) error
- func (s *Manager) GetOrCreateProjectSystemAccount(projectID string) error
- func (s *Manager) GetOrCreateProjectSystemToken(projectName string) (string, error)
- func (s *Manager) GetOrCreateSystemClusterToken(clusterName string) (string, error)
- func (s *Manager) GetProjectSystemUser(projectName string) (*v3.User, error)
- func (s *Manager) GetSystemUser(cluster *v3.Cluster) (*v3.User, error)
- func (s *Manager) RemoveSystemAccount(userID string) error
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 (*Manager) GetOrCreateProjectSystemAccount ¶
func (*Manager) GetOrCreateProjectSystemToken ¶
func (*Manager) GetOrCreateSystemClusterToken ¶
func (*Manager) GetProjectSystemUser ¶
func (*Manager) GetSystemUser ¶
func (*Manager) RemoveSystemAccount ¶
Click to show internal directories.
Click to hide internal directories.