Documentation ¶
Index ¶
- type MockEKSClient
- func (m *MockEKSClient) ConnectionToken(name string) (string, error)
- func (m *MockEKSClient) Create(name string, spec v1alpha2.EKSClusterSpec) (*eks.Cluster, error)
- func (m *MockEKSClient) CreateWorkerNodes(name string, version string, spec v1alpha2.EKSClusterSpec) (*eks.ClusterWorkers, error)
- func (m *MockEKSClient) Delete(name string) error
- func (m *MockEKSClient) DeleteWorkerNodes(stackID string) error
- func (m *MockEKSClient) Get(name string) (*eks.Cluster, error)
- func (m *MockEKSClient) GetWorkerNodes(stackID string) (*eks.ClusterWorkers, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEKSClient ¶
type MockEKSClient struct { MockCreate func(string, v1alpha2.EKSClusterSpec) (*eks.Cluster, error) MockGet func(string) (*eks.Cluster, error) MockDelete func(name string) error MockConnectionToken func(string) (string, error) MockCreateWorkerNodes func(string, string, v1alpha2.EKSClusterSpec) (*eks.ClusterWorkers, error) MockGetWorkerNodes func(string) (*eks.ClusterWorkers, error) MockDeleteWorkerNodes func(string) error }
MockEKSClient mock client for EKS
func (*MockEKSClient) ConnectionToken ¶
func (m *MockEKSClient) ConnectionToken(name string) (string, error)
ConnectionToken mock
func (*MockEKSClient) Create ¶
func (m *MockEKSClient) Create(name string, spec v1alpha2.EKSClusterSpec) (*eks.Cluster, error)
Create EKS Cluster with provided Specification
func (*MockEKSClient) CreateWorkerNodes ¶
func (m *MockEKSClient) CreateWorkerNodes(name string, version string, spec v1alpha2.EKSClusterSpec) (*eks.ClusterWorkers, error)
CreateWorkerNodes mock
func (*MockEKSClient) Delete ¶
func (m *MockEKSClient) Delete(name string) error
Delete mock EKS Cluster
func (*MockEKSClient) DeleteWorkerNodes ¶
func (m *MockEKSClient) DeleteWorkerNodes(stackID string) error
DeleteWorkerNodes mock
func (*MockEKSClient) Get ¶
func (m *MockEKSClient) Get(name string) (*eks.Cluster, error)
Get mock EKS Cluster by name
func (*MockEKSClient) GetWorkerNodes ¶
func (m *MockEKSClient) GetWorkerNodes(stackID string) (*eks.ClusterWorkers, error)
GetWorkerNodes mock
Click to show internal directories.
Click to hide internal directories.