// Code generated by MockGen. DO NOT EDIT. // Source: pkg/awsiamauth/installer.go // Package awsiamauth_test is a generated GoMock package. package awsiamauth_test import ( context "context" reflect "reflect" types "github.com/aws/eks-anywhere/pkg/types" gomock "github.com/golang/mock/gomock" ) // MockKubernetesClient is a mock of KubernetesClient interface. type MockKubernetesClient struct { ctrl *gomock.Controller recorder *MockKubernetesClientMockRecorder } // MockKubernetesClientMockRecorder is the mock recorder for MockKubernetesClient. type MockKubernetesClientMockRecorder struct { mock *MockKubernetesClient } // NewMockKubernetesClient creates a new mock instance. func NewMockKubernetesClient(ctrl *gomock.Controller) *MockKubernetesClient { mock := &MockKubernetesClient{ctrl: ctrl} mock.recorder = &MockKubernetesClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockKubernetesClient) EXPECT() *MockKubernetesClientMockRecorder { return m.recorder } // Apply mocks base method. func (m *MockKubernetesClient) Apply(ctx context.Context, cluster *types.Cluster, data []byte) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Apply", ctx, cluster, data) ret0, _ := ret[0].(error) return ret0 } // Apply indicates an expected call of Apply. func (mr *MockKubernetesClientMockRecorder) Apply(ctx, cluster, data interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Apply", reflect.TypeOf((*MockKubernetesClient)(nil).Apply), ctx, cluster, data) } // GetAPIServerURL mocks base method. func (m *MockKubernetesClient) GetAPIServerURL(ctx context.Context, cluster *types.Cluster) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetAPIServerURL", ctx, cluster) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetAPIServerURL indicates an expected call of GetAPIServerURL. func (mr *MockKubernetesClientMockRecorder) GetAPIServerURL(ctx, cluster interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAPIServerURL", reflect.TypeOf((*MockKubernetesClient)(nil).GetAPIServerURL), ctx, cluster) } // GetClusterCACert mocks base method. func (m *MockKubernetesClient) GetClusterCACert(ctx context.Context, cluster *types.Cluster, clusterName string) ([]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetClusterCACert", ctx, cluster, clusterName) ret0, _ := ret[0].([]byte) ret1, _ := ret[1].(error) return ret0, ret1 } // GetClusterCACert indicates an expected call of GetClusterCACert. func (mr *MockKubernetesClientMockRecorder) GetClusterCACert(ctx, cluster, clusterName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterCACert", reflect.TypeOf((*MockKubernetesClient)(nil).GetClusterCACert), ctx, cluster, clusterName) }