proxy

package
v0.0.0-...-5e97683 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 Configuration struct {
	HttpProxy  string
	HttpsProxy string
	NoProxy    string
	TrustedCA  string
}

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProxyAPI) Setup

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL