get

package
v0.9.0-nightly.20250111 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClustersCmd = &cobra.Command{
	Use:          "clusters",
	Short:        "Get idp clusters",
	Long:         ``,
	RunE:         list,
	PreRunE:      preClustersE,
	SilenceUsage: true,
}
View Source
var GetCmd = &cobra.Command{
	Use:   "get",
	Short: "get information from the cluster",
	Long:  ``,
	RunE:  exportE,
}
View Source
var SecretsCmd = &cobra.Command{
	Use:          "secrets",
	Short:        "retrieve secrets from the cluster",
	Long:         ``,
	RunE:         getSecretsE,
	SilenceUsage: true,
}

Functions

func GetClientForCluster

func GetClientForCluster(m *ClusterManager, clusterName string) (client.Client, error)

GetClientForCluster returns the client for the specified cluster/context name

Types

type ClusterManager

type ClusterManager struct {
	// contains filtered or unexported fields
}

ClusterManager holds the clients for the different idpbuilder clusters

func CreateKubeClientForEachIDPCluster

func CreateKubeClientForEachIDPCluster(config *api.Config, clusterList []string) (*ClusterManager, error)

Jump to

Keyboard shortcuts

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