access

package
v0.0.0-...-c12a3d9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

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