Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGKEClient ¶
type FakeGKEClient struct { MockCreateCluster func(string, computev1alpha1.GKEClusterSpec) (*container.Cluster, error) MockGetCluster func(string, string) (*container.Cluster, error) MockDeleteCluster func(string, string) error }
func NewGKEClient ¶
func NewGKEClient() *FakeGKEClient
func (*FakeGKEClient) CreateCluster ¶
func (f *FakeGKEClient) CreateCluster(name string, spec computev1alpha1.GKEClusterSpec) (*container.Cluster, error)
func (*FakeGKEClient) DeleteCluster ¶
func (f *FakeGKEClient) DeleteCluster(zone, name string) error
func (*FakeGKEClient) GetCluster ¶
func (f *FakeGKEClient) GetCluster(zone, name string) (*container.Cluster, error)
Click to show internal directories.
Click to hide internal directories.