Documentation ¶
Index ¶
- func BuildControllerContext(ctx context.Context, options *context2.VirtualClusterOptions, ...) (*context2.ControllerContext, error)
- func BuildRoot() *cobra.Command
- func CreateVClusterKubeConfig(config *api.Config, options *context2.VirtualClusterOptions) (*api.Config, error)
- func EnsureServiceCIDR(ctx context.Context, ...) error
- func ExecuteCerts(ctx context.Context, options *CertsCmd) error
- func ExecuteStart(ctx context.Context, options *context2.VirtualClusterOptions) error
- func FindOwner(ctx *context2.ControllerContext) error
- func NewCertsCommand() *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewStartCommand() *cobra.Command
- func RegisterOrDeregisterAPIService(ctx *context2.ControllerContext)
- func StartControllers(controllerContext *context2.ControllerContext) error
- func StartLeaderElection(ctx *context2.ControllerContext, startLeading func() error) error
- func StartProxy(ctx *context2.ControllerContext) error
- func SyncKubernetesService(ctx *context2.ControllerContext) error
- func WaitForClientConfig(ctx context.Context, options *context2.VirtualClusterOptions) (clientcmd.ClientConfig, error)
- func WriteKubeConfigToSecret(ctx context.Context, currentNamespace string, ...) error
- type CertsCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildControllerContext ¶ added in v0.15.1
func BuildControllerContext(ctx context.Context, options *context2.VirtualClusterOptions, currentNamespace string, inClusterConfig *rest.Config) (*context2.ControllerContext, error)
func CreateVClusterKubeConfig ¶ added in v0.15.1
func EnsureServiceCIDR ¶ added in v0.15.1
func ExecuteStart ¶
func ExecuteStart(ctx context.Context, options *context2.VirtualClusterOptions) error
func FindOwner ¶ added in v0.15.1
func FindOwner(ctx *context2.ControllerContext) error
func NewCertsCommand ¶
func NewStartCommand ¶
func RegisterOrDeregisterAPIService ¶ added in v0.15.1
func RegisterOrDeregisterAPIService(ctx *context2.ControllerContext)
func StartControllers ¶ added in v0.15.1
func StartControllers(controllerContext *context2.ControllerContext) error
func StartLeaderElection ¶ added in v0.15.1
func StartLeaderElection(ctx *context2.ControllerContext, startLeading func() error) error
func StartProxy ¶ added in v0.15.1
func StartProxy(ctx *context2.ControllerContext) error
func SyncKubernetesService ¶ added in v0.15.1
func SyncKubernetesService(ctx *context2.ControllerContext) error
func WaitForClientConfig ¶ added in v0.15.1
func WaitForClientConfig(ctx context.Context, options *context2.VirtualClusterOptions) (clientcmd.ClientConfig, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.