hubconfig

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

package hubconfig provides common functionalities for hub configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchMemberClusterNamespace

func FetchMemberClusterNamespace() (string, error)

FetchMemberClusterNamespace gets the assigned namespace for the member cluster in the hub.

func PrepareHubConfig

func PrepareHubConfig(tlsClientInsecure bool) (*rest.Config, error)

PrepareHubConfig return the config holding attributes for a Kubernetes client to request hub cluster. Called must make sure all required environment variables are well set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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