controller

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUpstreamClusterState

func BuildUpstreamClusterState(ctx context.Context, secretsCache wranglerv1.SecretCache, spec aksv1.AKSClusterConfigSpec) (*aksv1.AKSClusterConfigSpec, error)

BuildUpstreamClusterState creates AKSClusterConfigSpec from existing cluster configuration

func GetClusterKubeConfig

func GetClusterKubeConfig(ctx context.Context, secretsCache wranglerv1.SecretCache, spec aksv1.AKSClusterConfigSpec) (restConfig *rest.Config, err error)

func ParseSecretName

func ParseSecretName(ref string) (namespace string, name string)

Types

type Handler

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

func (*Handler) OnAksConfigChanged

func (h *Handler) OnAksConfigChanged(key string, config *aksv1.AKSClusterConfig) (*aksv1.AKSClusterConfig, error)

func (*Handler) OnAksConfigRemoved

func (h *Handler) OnAksConfigRemoved(key string, config *aksv1.AKSClusterConfig) (*aksv1.AKSClusterConfig, error)

Jump to

Keyboard shortcuts

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