Documentation ¶
Index ¶
- type AKSClient
- func (c AKSClient) DeleteManagedCluster(ctx context.Context, ac *v1alpha3.AKSCluster) error
- func (c AKSClient) EnsureManagedCluster(ctx context.Context, ac *v1alpha3.AKSCluster, secret string) error
- func (c AKSClient) GetKubeConfig(ctx context.Context, ac *v1alpha3.AKSCluster) ([]byte, error)
- func (c AKSClient) GetManagedCluster(ctx context.Context, ac *v1alpha3.AKSCluster) (containerservice.ManagedCluster, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AKSClient ¶
type AKSClient struct { MockGetManagedCluster func(ctx context.Context, ac *v1alpha3.AKSCluster) (containerservice.ManagedCluster, error) MockEnsureManagedCluster func(ctx context.Context, ac *v1alpha3.AKSCluster, secret string) error MockDeleteManagedCluster func(ctx context.Context, ac *v1alpha3.AKSCluster) error MockGetKubeConfig func(ctx context.Context, ac *v1alpha3.AKSCluster) ([]byte, error) }
AKSClient is a fake AKS client.
func (AKSClient) DeleteManagedCluster ¶
DeleteManagedCluster calls DeleteManagedCluster.
func (AKSClient) EnsureManagedCluster ¶
func (c AKSClient) EnsureManagedCluster(ctx context.Context, ac *v1alpha3.AKSCluster, secret string) error
EnsureManagedCluster calls MockEnsureManagedCluster.
func (AKSClient) GetKubeConfig ¶
GetKubeConfig calls GetKubeConfig.
func (AKSClient) GetManagedCluster ¶
func (c AKSClient) GetManagedCluster(ctx context.Context, ac *v1alpha3.AKSCluster) (containerservice.ManagedCluster, error)
GetManagedCluster calls MockGetManagedCluster.
Click to show internal directories.
Click to hide internal directories.