Documentation ¶
Overview ¶
Package genericmutator is a generated GoMock package.
Index ¶
- type MockEnsurer
- func (m *MockEnsurer) EXPECT() *MockEnsurerMockRecorder
- func (m *MockEnsurer) EnsureETCDStatefulSet(arg0 context.Context, arg1 *v1.StatefulSet, arg2 *controller.Cluster) error
- func (m *MockEnsurer) EnsureKubeAPIServerDeployment(arg0 context.Context, arg1 *v1.Deployment) error
- func (m *MockEnsurer) EnsureKubeAPIServerService(arg0 context.Context, arg1 *v10.Service) error
- func (m *MockEnsurer) EnsureKubeControllerManagerDeployment(arg0 context.Context, arg1 *v1.Deployment) error
- func (m *MockEnsurer) EnsureKubeSchedulerDeployment(arg0 context.Context, arg1 *v1.Deployment) error
- func (m *MockEnsurer) EnsureKubeletCloudProviderConfig(arg0 context.Context, arg1 *string, arg2 string) error
- func (m *MockEnsurer) EnsureKubeletConfiguration(arg0 context.Context, arg1 *v1beta1.KubeletConfiguration) error
- func (m *MockEnsurer) EnsureKubeletServiceUnitOptions(arg0 context.Context, arg1 []*unit.UnitOption) ([]*unit.UnitOption, error)
- func (m *MockEnsurer) EnsureKubernetesGeneralConfiguration(arg0 context.Context, arg1 *string) error
- func (m *MockEnsurer) ShouldProvisionKubeletCloudProviderConfig() bool
- type MockEnsurerMockRecorder
- func (mr *MockEnsurerMockRecorder) EnsureETCDStatefulSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubeAPIServerDeployment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubeAPIServerService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubeControllerManagerDeployment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubeSchedulerDeployment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubeletCloudProviderConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubeletConfiguration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubeletServiceUnitOptions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) EnsureKubernetesGeneralConfiguration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnsurerMockRecorder) ShouldProvisionKubeletCloudProviderConfig() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEnsurer ¶
type MockEnsurer struct {
// contains filtered or unexported fields
}
MockEnsurer is a mock of Ensurer interface
func NewMockEnsurer ¶
func NewMockEnsurer(ctrl *gomock.Controller) *MockEnsurer
NewMockEnsurer creates a new mock instance
func (*MockEnsurer) EXPECT ¶
func (m *MockEnsurer) EXPECT() *MockEnsurerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEnsurer) EnsureETCDStatefulSet ¶
func (m *MockEnsurer) EnsureETCDStatefulSet(arg0 context.Context, arg1 *v1.StatefulSet, arg2 *controller.Cluster) error
EnsureETCDStatefulSet mocks base method
func (*MockEnsurer) EnsureKubeAPIServerDeployment ¶
func (m *MockEnsurer) EnsureKubeAPIServerDeployment(arg0 context.Context, arg1 *v1.Deployment) error
EnsureKubeAPIServerDeployment mocks base method
func (*MockEnsurer) EnsureKubeAPIServerService ¶
EnsureKubeAPIServerService mocks base method
func (*MockEnsurer) EnsureKubeControllerManagerDeployment ¶
func (m *MockEnsurer) EnsureKubeControllerManagerDeployment(arg0 context.Context, arg1 *v1.Deployment) error
EnsureKubeControllerManagerDeployment mocks base method
func (*MockEnsurer) EnsureKubeSchedulerDeployment ¶
func (m *MockEnsurer) EnsureKubeSchedulerDeployment(arg0 context.Context, arg1 *v1.Deployment) error
EnsureKubeSchedulerDeployment mocks base method
func (*MockEnsurer) EnsureKubeletCloudProviderConfig ¶
func (m *MockEnsurer) EnsureKubeletCloudProviderConfig(arg0 context.Context, arg1 *string, arg2 string) error
EnsureKubeletCloudProviderConfig mocks base method
func (*MockEnsurer) EnsureKubeletConfiguration ¶
func (m *MockEnsurer) EnsureKubeletConfiguration(arg0 context.Context, arg1 *v1beta1.KubeletConfiguration) error
EnsureKubeletConfiguration mocks base method
func (*MockEnsurer) EnsureKubeletServiceUnitOptions ¶
func (m *MockEnsurer) EnsureKubeletServiceUnitOptions(arg0 context.Context, arg1 []*unit.UnitOption) ([]*unit.UnitOption, error)
EnsureKubeletServiceUnitOptions mocks base method
func (*MockEnsurer) EnsureKubernetesGeneralConfiguration ¶
func (m *MockEnsurer) EnsureKubernetesGeneralConfiguration(arg0 context.Context, arg1 *string) error
EnsureKubernetesGeneralConfiguration mocks base method
func (*MockEnsurer) ShouldProvisionKubeletCloudProviderConfig ¶
func (m *MockEnsurer) ShouldProvisionKubeletCloudProviderConfig() bool
ShouldProvisionKubeletCloudProviderConfig mocks base method
type MockEnsurerMockRecorder ¶
type MockEnsurerMockRecorder struct {
// contains filtered or unexported fields
}
MockEnsurerMockRecorder is the mock recorder for MockEnsurer
func (*MockEnsurerMockRecorder) EnsureETCDStatefulSet ¶
func (mr *MockEnsurerMockRecorder) EnsureETCDStatefulSet(arg0, arg1, arg2 interface{}) *gomock.Call
EnsureETCDStatefulSet indicates an expected call of EnsureETCDStatefulSet
func (*MockEnsurerMockRecorder) EnsureKubeAPIServerDeployment ¶
func (mr *MockEnsurerMockRecorder) EnsureKubeAPIServerDeployment(arg0, arg1 interface{}) *gomock.Call
EnsureKubeAPIServerDeployment indicates an expected call of EnsureKubeAPIServerDeployment
func (*MockEnsurerMockRecorder) EnsureKubeAPIServerService ¶
func (mr *MockEnsurerMockRecorder) EnsureKubeAPIServerService(arg0, arg1 interface{}) *gomock.Call
EnsureKubeAPIServerService indicates an expected call of EnsureKubeAPIServerService
func (*MockEnsurerMockRecorder) EnsureKubeControllerManagerDeployment ¶
func (mr *MockEnsurerMockRecorder) EnsureKubeControllerManagerDeployment(arg0, arg1 interface{}) *gomock.Call
EnsureKubeControllerManagerDeployment indicates an expected call of EnsureKubeControllerManagerDeployment
func (*MockEnsurerMockRecorder) EnsureKubeSchedulerDeployment ¶
func (mr *MockEnsurerMockRecorder) EnsureKubeSchedulerDeployment(arg0, arg1 interface{}) *gomock.Call
EnsureKubeSchedulerDeployment indicates an expected call of EnsureKubeSchedulerDeployment
func (*MockEnsurerMockRecorder) EnsureKubeletCloudProviderConfig ¶
func (mr *MockEnsurerMockRecorder) EnsureKubeletCloudProviderConfig(arg0, arg1, arg2 interface{}) *gomock.Call
EnsureKubeletCloudProviderConfig indicates an expected call of EnsureKubeletCloudProviderConfig
func (*MockEnsurerMockRecorder) EnsureKubeletConfiguration ¶
func (mr *MockEnsurerMockRecorder) EnsureKubeletConfiguration(arg0, arg1 interface{}) *gomock.Call
EnsureKubeletConfiguration indicates an expected call of EnsureKubeletConfiguration
func (*MockEnsurerMockRecorder) EnsureKubeletServiceUnitOptions ¶
func (mr *MockEnsurerMockRecorder) EnsureKubeletServiceUnitOptions(arg0, arg1 interface{}) *gomock.Call
EnsureKubeletServiceUnitOptions indicates an expected call of EnsureKubeletServiceUnitOptions
func (*MockEnsurerMockRecorder) EnsureKubernetesGeneralConfiguration ¶
func (mr *MockEnsurerMockRecorder) EnsureKubernetesGeneralConfiguration(arg0, arg1 interface{}) *gomock.Call
EnsureKubernetesGeneralConfiguration indicates an expected call of EnsureKubernetesGeneralConfiguration
func (*MockEnsurerMockRecorder) ShouldProvisionKubeletCloudProviderConfig ¶
func (mr *MockEnsurerMockRecorder) ShouldProvisionKubeletCloudProviderConfig() *gomock.Call
ShouldProvisionKubeletCloudProviderConfig indicates an expected call of ShouldProvisionKubeletCloudProviderConfig