Documentation ¶
Overview ¶
Package connect is a generated GoMock package.
Index ¶
- type MockShadowInterface
- func (m *MockShadowInterface) EXPECT() *MockShadowInterfaceMockRecorder
- func (m *MockShadowInterface) Inbound(exposePort, podName, remoteIP string, credential *util.SSHCredential) error
- func (m *MockShadowInterface) Outbound(name, podIP string, credential *util.SSHCredential, cidrs []string, ...) error
- type MockShadowInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockShadowInterface ¶
type MockShadowInterface struct {
// contains filtered or unexported fields
}
MockShadowInterface is a mock of ShadowInterface interface
func NewMockShadowInterface ¶
func NewMockShadowInterface(ctrl *gomock.Controller) *MockShadowInterface
NewMockShadowInterface creates a new mock instance
func (*MockShadowInterface) EXPECT ¶
func (m *MockShadowInterface) EXPECT() *MockShadowInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockShadowInterface) Inbound ¶
func (m *MockShadowInterface) Inbound(exposePort, podName, remoteIP string, credential *util.SSHCredential) error
Inbound mocks base method
func (*MockShadowInterface) Outbound ¶
func (m *MockShadowInterface) Outbound(name, podIP string, credential *util.SSHCredential, cidrs []string, exec exec.CliInterface) error
Outbound mocks base method
type MockShadowInterfaceMockRecorder ¶
type MockShadowInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockShadowInterfaceMockRecorder is the mock recorder for MockShadowInterface
func (*MockShadowInterfaceMockRecorder) Inbound ¶
func (mr *MockShadowInterfaceMockRecorder) Inbound(exposePort, podName, remoteIP, credential interface{}) *gomock.Call
Inbound indicates an expected call of Inbound
func (*MockShadowInterfaceMockRecorder) Outbound ¶
func (mr *MockShadowInterfaceMockRecorder) Outbound(name, podIP, credential, cidrs, exec interface{}) *gomock.Call
Outbound indicates an expected call of Outbound
Click to show internal directories.
Click to hide internal directories.