Documentation
¶
Index ¶
- func BuildUpstreamClusterState(ctx context.Context, secretsCache wranglerv1.SecretCache, ...) (*aksv1.AKSClusterConfigSpec, error)
- func GetClusterKubeConfig(ctx context.Context, secretsCache wranglerv1.SecretCache, ...) (restConfig *rest.Config, err error)
- func ParseSecretName(ref string) (namespace string, name string)
- func Register(ctx context.Context, secrets wranglerv1.SecretController, ...)
- type Handler
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 Register ¶
func Register( ctx context.Context, secrets wranglerv1.SecretController, aks v10.AKSClusterConfigController)
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)
Click to show internal directories.
Click to hide internal directories.