Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAccess ¶
type ClusterAccess struct {
// contains filtered or unexported fields
}
ClusterAccess holds information needed to access user namespaces in a member cluster for the specific user via impersonation
func NewClusterAccess ¶
func NewClusterAccess(apiURL url.URL, impersonatorToken, username string) *ClusterAccess
func (*ClusterAccess) APIURL ¶
func (a *ClusterAccess) APIURL() url.URL
func (*ClusterAccess) ImpersonatorToken ¶
func (a *ClusterAccess) ImpersonatorToken() string
func (*ClusterAccess) Username ¶
func (a *ClusterAccess) Username() string
Click to show internal directories.
Click to hide internal directories.