Documentation ¶
Index ¶
- Variables
- func GetRealConciergeClientset(clientConfig clientcmd.ClientConfig, apiGroupSuffix string) (conciergeclientset.Interface, error)
- func GetRealConciergeClientsetFromConfig(restConfig *rest.Config, apiGroupSuffix string) (conciergeclientset.Interface, error)
- func NewWhoamiCommand(getClientset getConciergeClientsetFunc) *cobra.Command
- func RunGetKubeconfig(ctx context.Context, out io.Writer, deps KubeconfigDeps, ...) error
- func SetLogLevel(lookupEnv func(string) (string, bool)) (*plog.PLogger, error)
- type GetKubeconfigParams
- type KubeconfigDeps
- type SupervisorDiscoveryResponseV1Alpha1
Constants ¶
This section is empty.
Variables ¶
View Source
var LoginCmd = &cobra.Command{ Use: "login", Short: "Login to a Undistro Cluster", Long: "Login to a Undistro Cluster", SilenceUsage: true, }
nolint: gochecknoglobals
Functions ¶
func GetRealConciergeClientset ¶
func GetRealConciergeClientset(clientConfig clientcmd.ClientConfig, apiGroupSuffix string) (conciergeclientset.Interface, error)
getRealConciergeClientset returns a real implementation of a conciergeclientset.Interface.
func GetRealConciergeClientsetFromConfig ¶ added in v0.34.8
func NewWhoamiCommand ¶
func RunGetKubeconfig ¶
func RunGetKubeconfig(ctx context.Context, out io.Writer, deps KubeconfigDeps, flags GetKubeconfigParams) error
Types ¶
type GetKubeconfigParams ¶
type GetKubeconfigParams struct { KubeconfigBytes []byte // contains filtered or unexported fields }
func SetupPinnipedCommand ¶
func SetupPinnipedCommand(cmd *cobra.Command) (*cobra.Command, GetKubeconfigParams)
type KubeconfigDeps ¶
type KubeconfigDeps struct {
// contains filtered or unexported fields
}
func KubeconfigRealDeps ¶
func KubeconfigRealDeps() KubeconfigDeps
type SupervisorDiscoveryResponseV1Alpha1 ¶
type SupervisorDiscoveryResponseV1Alpha1 struct {
PinnipedIDPsEndpoint string `json:"pinniped_identity_providers_endpoint"`
}
Click to show internal directories.
Click to hide internal directories.