Documentation ¶
Overview ¶
Package proxy is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type MockProxyAPI ¶
type MockProxyAPI struct {
// contains filtered or unexported fields
}
MockProxyAPI is a mock of ProxyAPI interface.
func NewMockProxyAPI ¶
func NewMockProxyAPI(ctrl *gomock.Controller) *MockProxyAPI
NewMockProxyAPI creates a new mock instance.
func (*MockProxyAPI) ClusterConfiguration ¶
func (m *MockProxyAPI) ClusterConfiguration(ctx context.Context) (Configuration, error)
ClusterConfiguration mocks base method.
func (*MockProxyAPI) EXPECT ¶
func (m *MockProxyAPI) EXPECT() *MockProxyAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProxyAPI) Setup ¶
func (m *MockProxyAPI) Setup(ctx context.Context, obj *unstructured.Unstructured) error
Setup mocks base method.
type MockProxyAPIMockRecorder ¶
type MockProxyAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockProxyAPIMockRecorder is the mock recorder for MockProxyAPI.
func (*MockProxyAPIMockRecorder) ClusterConfiguration ¶
func (mr *MockProxyAPIMockRecorder) ClusterConfiguration(ctx interface{}) *gomock.Call
ClusterConfiguration indicates an expected call of ClusterConfiguration.
func (*MockProxyAPIMockRecorder) Setup ¶
func (mr *MockProxyAPIMockRecorder) Setup(ctx, obj interface{}) *gomock.Call
Setup indicates an expected call of Setup.
type ProxyAPI ¶
type ProxyAPI interface { Setup(ctx context.Context, obj *unstructured.Unstructured) error ClusterConfiguration(ctx context.Context) (Configuration, error) }
func NewProxyAPI ¶
func NewProxyAPI(kubeClient clients.ClientsInterface) ProxyAPI
Click to show internal directories.
Click to hide internal directories.