Versions in this module Expand all Collapse all v0 v0.0.14 Jul 30, 2020 Changes in this version + type MockKubernetesInterface struct + func NewMockKubernetesInterface(ctrl *gomock.Controller) *MockKubernetesInterface + func (m *MockKubernetesInterface) ClusterCrids(podCIDR string) ([]string, error) + func (m *MockKubernetesInterface) CreateService(name, namespace string, port int, labels map[string]string) (*v10.Service, error) + func (m *MockKubernetesInterface) DecreaseRef(namespace, deployment string) (bool, error) + func (m *MockKubernetesInterface) Deployment(name, namespace string) (*v1.Deployment, error) + func (m *MockKubernetesInterface) EXPECT() *MockKubernetesInterfaceMockRecorder + func (m *MockKubernetesInterface) GetDeployment(name, namespace string) (*v1.Deployment, error) + func (m *MockKubernetesInterface) GetOrCreateShadow(name, namespace, image string, labels map[string]string, ...) (string, string, string, *util.SSHCredential, error) + func (m *MockKubernetesInterface) RemoveConfigMap(name, namespace string) error + func (m *MockKubernetesInterface) RemoveDeployment(name, namespace string) error + func (m *MockKubernetesInterface) RemoveService(name, namespace string) error + func (m *MockKubernetesInterface) Scale(deployment *v1.Deployment, replicas *int32) error + func (m *MockKubernetesInterface) ScaleTo(deployment, namespace string, replicas *int32) error + func (m *MockKubernetesInterface) ServiceHosts(namespace string) map[string]string + func (m *MockKubernetesInterface) UpdateDeployment(namespace string, deployment *v1.Deployment) (*v1.Deployment, error) + type MockKubernetesInterfaceMockRecorder struct + func (mr *MockKubernetesInterfaceMockRecorder) ClusterCrids(podCIDR interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) CreateService(name, namespace, port, labels interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) DecreaseRef(namespace, deployment interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) Deployment(name, namespace interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) GetDeployment(name, namespace interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) GetOrCreateShadow(name, namespace, image, labels, debug, reuseShadow interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) RemoveConfigMap(name, namespace interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) RemoveDeployment(name, namespace interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) RemoveService(name, namespace interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) Scale(deployment, replicas interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) ScaleTo(deployment, namespace, replicas interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) ServiceHosts(namespace interface{}) *gomock.Call + func (mr *MockKubernetesInterfaceMockRecorder) UpdateDeployment(namespace, deployment interface{}) *gomock.Call