Documentation ¶
Overview ¶
Package mock_privateendpoints is a generated GoMock package.
Index ¶
- type MockScope
- func (m *MockScope) AddPrivateEndpointSpec(arg0 v1beta1.PrivateEndpointSpec)
- func (m *MockScope) Close(ctx context.Context) error
- func (m *MockScope) ContainsPrivateEndpointSpec(arg0 v1beta1.PrivateEndpointSpec) bool
- func (m *MockScope) EXPECT() *MockScopeMockRecorder
- func (m *MockScope) GetClusterName() types.NamespacedName
- func (m *MockScope) GetLocation() string
- func (m *MockScope) GetPrivateEndpointIPAddress(ctx context.Context, privateEndpointName string) (net.IP, error)
- func (m *MockScope) GetPrivateEndpoints() []v1beta1.PrivateEndpointSpec
- func (m *MockScope) GetPrivateEndpointsToWorkloadCluster(workloadClusterSubscriptionID, workloadClusterResourceGroup string) []v1beta1.PrivateEndpointSpec
- func (m *MockScope) GetResourceGroup() string
- func (m *MockScope) GetSubscriptionID() string
- func (m *MockScope) PatchObject(ctx context.Context) error
- func (m *MockScope) RemovePrivateEndpointByName(arg0 string)
- type MockScopeMockRecorder
- func (mr *MockScopeMockRecorder) AddPrivateEndpointSpec(arg0 any) *gomock.Call
- func (mr *MockScopeMockRecorder) Close(ctx any) *gomock.Call
- func (mr *MockScopeMockRecorder) ContainsPrivateEndpointSpec(arg0 any) *gomock.Call
- func (mr *MockScopeMockRecorder) GetClusterName() *gomock.Call
- func (mr *MockScopeMockRecorder) GetLocation() *gomock.Call
- func (mr *MockScopeMockRecorder) GetPrivateEndpointIPAddress(ctx, privateEndpointName any) *gomock.Call
- func (mr *MockScopeMockRecorder) GetPrivateEndpoints() *gomock.Call
- func (mr *MockScopeMockRecorder) GetPrivateEndpointsToWorkloadCluster(workloadClusterSubscriptionID, workloadClusterResourceGroup any) *gomock.Call
- func (mr *MockScopeMockRecorder) GetResourceGroup() *gomock.Call
- func (mr *MockScopeMockRecorder) GetSubscriptionID() *gomock.Call
- func (mr *MockScopeMockRecorder) PatchObject(ctx any) *gomock.Call
- func (mr *MockScopeMockRecorder) RemovePrivateEndpointByName(arg0 any) *gomock.Call
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) 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 ¶
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 ¶
GetResourceGroup mocks base method.
func (*MockScope) GetSubscriptionID ¶
GetSubscriptionID mocks base method.
func (*MockScope) PatchObject ¶
PatchObject mocks base method.
func (*MockScope) RemovePrivateEndpointByName ¶
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.