mock_privateendpoints

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_privateendpoints is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScope

type MockScope struct {
	// contains filtered or unexported fields
}

MockScope is a mock of Scope interface.

func NewMockScope

func NewMockScope(ctrl *gomock.Controller) *MockScope

NewMockScope creates a new mock instance.

func (*MockScope) AddPrivateEndpointSpec

func (m *MockScope) AddPrivateEndpointSpec(arg0 v1beta1.PrivateEndpointSpec)

AddPrivateEndpointSpec mocks base method.

func (*MockScope) Close

func (m *MockScope) Close(ctx context.Context) error

Close mocks base method.

func (*MockScope) ContainsPrivateEndpointSpec

func (m *MockScope) ContainsPrivateEndpointSpec(arg0 v1beta1.PrivateEndpointSpec) bool

ContainsPrivateEndpointSpec mocks base method.

func (*MockScope) EXPECT

func (m *MockScope) EXPECT() *MockScopeMockRecorder

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

func (*MockScope) GetClusterName

func (m *MockScope) GetClusterName() types.NamespacedName

GetClusterName mocks base method.

func (*MockScope) GetLocation

func (m *MockScope) GetLocation() string

GetLocation mocks base method.

func (*MockScope) GetPrivateEndpointIPAddress

func (m *MockScope) GetPrivateEndpointIPAddress(ctx context.Context, privateEndpointName string) (net.IP, error)

GetPrivateEndpointIPAddress mocks base method.

func (*MockScope) GetPrivateEndpoints

func (m *MockScope) GetPrivateEndpoints() []v1beta1.PrivateEndpointSpec

GetPrivateEndpoints mocks base method.

func (*MockScope) GetPrivateEndpointsToWorkloadCluster

func (m *MockScope) GetPrivateEndpointsToWorkloadCluster(workloadClusterSubscriptionID, workloadClusterResourceGroup string) []v1beta1.PrivateEndpointSpec

GetPrivateEndpointsToWorkloadCluster mocks base method.

func (*MockScope) GetResourceGroup

func (m *MockScope) GetResourceGroup() string

GetResourceGroup mocks base method.

func (*MockScope) GetSubscriptionID

func (m *MockScope) GetSubscriptionID() string

GetSubscriptionID mocks base method.

func (*MockScope) PatchObject

func (m *MockScope) PatchObject(ctx context.Context) error

PatchObject mocks base method.

func (*MockScope) RemovePrivateEndpointByName

func (m *MockScope) RemovePrivateEndpointByName(arg0 string)

RemovePrivateEndpointByName mocks base method.

type MockScopeMockRecorder

type MockScopeMockRecorder struct {
	// contains filtered or unexported fields
}

MockScopeMockRecorder is the mock recorder for MockScope.

func (*MockScopeMockRecorder) AddPrivateEndpointSpec

func (mr *MockScopeMockRecorder) AddPrivateEndpointSpec(arg0 any) *gomock.Call

AddPrivateEndpointSpec indicates an expected call of AddPrivateEndpointSpec.

func (*MockScopeMockRecorder) Close

func (mr *MockScopeMockRecorder) Close(ctx any) *gomock.Call

Close indicates an expected call of Close.

func (*MockScopeMockRecorder) ContainsPrivateEndpointSpec

func (mr *MockScopeMockRecorder) ContainsPrivateEndpointSpec(arg0 any) *gomock.Call

ContainsPrivateEndpointSpec indicates an expected call of ContainsPrivateEndpointSpec.

func (*MockScopeMockRecorder) GetClusterName

func (mr *MockScopeMockRecorder) GetClusterName() *gomock.Call

GetClusterName indicates an expected call of GetClusterName.

func (*MockScopeMockRecorder) GetLocation

func (mr *MockScopeMockRecorder) GetLocation() *gomock.Call

GetLocation indicates an expected call of GetLocation.

func (*MockScopeMockRecorder) GetPrivateEndpointIPAddress

func (mr *MockScopeMockRecorder) GetPrivateEndpointIPAddress(ctx, privateEndpointName any) *gomock.Call

GetPrivateEndpointIPAddress indicates an expected call of GetPrivateEndpointIPAddress.

func (*MockScopeMockRecorder) GetPrivateEndpoints

func (mr *MockScopeMockRecorder) GetPrivateEndpoints() *gomock.Call

GetPrivateEndpoints indicates an expected call of GetPrivateEndpoints.

func (*MockScopeMockRecorder) GetPrivateEndpointsToWorkloadCluster

func (mr *MockScopeMockRecorder) GetPrivateEndpointsToWorkloadCluster(workloadClusterSubscriptionID, workloadClusterResourceGroup any) *gomock.Call

GetPrivateEndpointsToWorkloadCluster indicates an expected call of GetPrivateEndpointsToWorkloadCluster.

func (*MockScopeMockRecorder) GetResourceGroup

func (mr *MockScopeMockRecorder) GetResourceGroup() *gomock.Call

GetResourceGroup indicates an expected call of GetResourceGroup.

func (*MockScopeMockRecorder) GetSubscriptionID

func (mr *MockScopeMockRecorder) GetSubscriptionID() *gomock.Call

GetSubscriptionID indicates an expected call of GetSubscriptionID.

func (*MockScopeMockRecorder) PatchObject

func (mr *MockScopeMockRecorder) PatchObject(ctx any) *gomock.Call

PatchObject indicates an expected call of PatchObject.

func (*MockScopeMockRecorder) RemovePrivateEndpointByName

func (mr *MockScopeMockRecorder) RemovePrivateEndpointByName(arg0 any) *gomock.Call

RemovePrivateEndpointByName indicates an expected call of RemovePrivateEndpointByName.

Jump to

Keyboard shortcuts

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