Documentation
¶
Index ¶
- func ClusterNameFromObject(obj ctrlruntimeclient.Object) logicalcluster.Name
- func ClusterPathFromObject(obj ctrlruntimeclient.Object) logicalcluster.Path
- func RetargetRestConfig(cfg *rest.Config, cluster logicalcluster.Name) *rest.Config
- func StripCluster(cfg *rest.Config) *rest.Config
- type ClusterClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterNameFromObject ¶
func ClusterNameFromObject(obj ctrlruntimeclient.Object) logicalcluster.Name
func ClusterPathFromObject ¶
func ClusterPathFromObject(obj ctrlruntimeclient.Object) logicalcluster.Path
func RetargetRestConfig ¶
Types ¶
type ClusterClient ¶
type ClusterClient interface {
Cluster(cluster logicalcluster.Name, scheme *runtime.Scheme) (ctrlruntimeclient.Client, error)
ClusterConfig(cluster logicalcluster.Name) *rest.Config
}
func NewClusterClient ¶
func NewClusterClient(cfg *rest.Config) ClusterClient
Click to show internal directories.
Click to hide internal directories.