Documentation ¶
Index ¶
- type AuthService
- func (s *AuthService) GetAuthURL() string
- func (s *AuthService) GetPublicKeys() ([]*rsa.PublicKey, error)
- func (s *AuthService) GetUser(ctx context.Context) (*auth.User, error)
- func (s *AuthService) NewSaClient() (*authclient.Client, error)
- func (s *AuthService) ResolveSaToken(ctx context.Context, target string) (username, accessToken string, err error)
- func (s *AuthService) ResolveUserToken(ctx context.Context, target, userToken string) (user, accessToken string, err error)
- type ClusterService
- func (s *ClusterService) GetCluster(ctx context.Context, target string) (cluster.Cluster, error)
- func (s *ClusterService) GetClusters(ctx context.Context) []cluster.Cluster
- func (s *ClusterService) GetUserClusterForType(ctx context.Context, user *auth.User) (cluster.ForType, error)
- func (s *ClusterService) Start() error
- func (s *ClusterService) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct { TenantID uuid.UUID OpenShiftUsername string OpenShiftUserToken string ClusterURL string }
func (*AuthService) GetAuthURL ¶
func (s *AuthService) GetAuthURL() string
func (*AuthService) GetPublicKeys ¶
func (s *AuthService) GetPublicKeys() ([]*rsa.PublicKey, error)
func (*AuthService) NewSaClient ¶
func (s *AuthService) NewSaClient() (*authclient.Client, error)
func (*AuthService) ResolveSaToken ¶
func (*AuthService) ResolveUserToken ¶
type ClusterService ¶
func (*ClusterService) GetCluster ¶
func (*ClusterService) GetClusters ¶
func (s *ClusterService) GetClusters(ctx context.Context) []cluster.Cluster
func (*ClusterService) GetUserClusterForType ¶
func (*ClusterService) Start ¶
func (s *ClusterService) Start() error
func (*ClusterService) Stop ¶
func (s *ClusterService) Stop()
Click to show internal directories.
Click to hide internal directories.