mock_resourcehealth

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: ../client.go

Generated by this command:

mockgen -destination client_mock.go -package mock_resourcehealth -source ../client.go Client

Package mock_resourcehealth is a generated GoMock package.

Run go generate to regenerate this mock.

Code generated by MockGen. DO NOT EDIT. Source: ../resourcehealth.go

Generated by this command:

mockgen -destination resourcehealth_mock.go -package mock_resourcehealth -source ../resourcehealth.go ResourceHealthScope,AvailabilityStatusFilterer

Package mock_resourcehealth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAvailabilityStatusFilterer

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

MockAvailabilityStatusFilterer is a mock of AvailabilityStatusFilterer interface.

func NewMockAvailabilityStatusFilterer

func NewMockAvailabilityStatusFilterer(ctrl *gomock.Controller) *MockAvailabilityStatusFilterer

NewMockAvailabilityStatusFilterer creates a new mock instance.

func (*MockAvailabilityStatusFilterer) AvailabilityStatusFilter

func (m *MockAvailabilityStatusFilterer) AvailabilityStatusFilter(cond *v1beta1.Condition) *v1beta1.Condition

AvailabilityStatusFilter mocks base method.

func (*MockAvailabilityStatusFilterer) EXPECT

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

type MockAvailabilityStatusFiltererMockRecorder

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

MockAvailabilityStatusFiltererMockRecorder is the mock recorder for MockAvailabilityStatusFilterer.

func (*MockAvailabilityStatusFiltererMockRecorder) AvailabilityStatusFilter

func (mr *MockAvailabilityStatusFiltererMockRecorder) AvailabilityStatusFilter(cond any) *gomock.Call

AvailabilityStatusFilter indicates an expected call of AvailabilityStatusFilter.

type MockResourceHealthScope

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

MockResourceHealthScope is a mock of ResourceHealthScope interface.

func NewMockResourceHealthScope

func NewMockResourceHealthScope(ctrl *gomock.Controller) *MockResourceHealthScope

NewMockResourceHealthScope creates a new mock instance.

func (*MockResourceHealthScope) AvailabilityStatusResource

func (m *MockResourceHealthScope) AvailabilityStatusResource() conditions.Setter

AvailabilityStatusResource mocks base method.

func (*MockResourceHealthScope) AvailabilityStatusResourceURI

func (m *MockResourceHealthScope) AvailabilityStatusResourceURI() string

AvailabilityStatusResourceURI mocks base method.

func (*MockResourceHealthScope) BaseURI

func (m *MockResourceHealthScope) BaseURI() string

BaseURI mocks base method.

func (*MockResourceHealthScope) ClientID

func (m *MockResourceHealthScope) ClientID() string

ClientID mocks base method.

func (*MockResourceHealthScope) ClientSecret

func (m *MockResourceHealthScope) ClientSecret() string

ClientSecret mocks base method.

func (*MockResourceHealthScope) CloudEnvironment

func (m *MockResourceHealthScope) CloudEnvironment() string

CloudEnvironment mocks base method.

func (*MockResourceHealthScope) EXPECT

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

func (*MockResourceHealthScope) HashKey

func (m *MockResourceHealthScope) HashKey() string

HashKey mocks base method.

func (*MockResourceHealthScope) SubscriptionID

func (m *MockResourceHealthScope) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockResourceHealthScope) TenantID

func (m *MockResourceHealthScope) TenantID() string

TenantID mocks base method.

func (*MockResourceHealthScope) Token added in v1.11.0

Token mocks base method.

type MockResourceHealthScopeMockRecorder

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

MockResourceHealthScopeMockRecorder is the mock recorder for MockResourceHealthScope.

func (*MockResourceHealthScopeMockRecorder) AvailabilityStatusResource

func (mr *MockResourceHealthScopeMockRecorder) AvailabilityStatusResource() *gomock.Call

AvailabilityStatusResource indicates an expected call of AvailabilityStatusResource.

func (*MockResourceHealthScopeMockRecorder) AvailabilityStatusResourceURI

func (mr *MockResourceHealthScopeMockRecorder) AvailabilityStatusResourceURI() *gomock.Call

AvailabilityStatusResourceURI indicates an expected call of AvailabilityStatusResourceURI.

func (*MockResourceHealthScopeMockRecorder) BaseURI

BaseURI indicates an expected call of BaseURI.

func (*MockResourceHealthScopeMockRecorder) ClientID

ClientID indicates an expected call of ClientID.

func (*MockResourceHealthScopeMockRecorder) ClientSecret

func (mr *MockResourceHealthScopeMockRecorder) ClientSecret() *gomock.Call

ClientSecret indicates an expected call of ClientSecret.

func (*MockResourceHealthScopeMockRecorder) CloudEnvironment

func (mr *MockResourceHealthScopeMockRecorder) CloudEnvironment() *gomock.Call

CloudEnvironment indicates an expected call of CloudEnvironment.

func (*MockResourceHealthScopeMockRecorder) HashKey

HashKey indicates an expected call of HashKey.

func (*MockResourceHealthScopeMockRecorder) SubscriptionID

func (mr *MockResourceHealthScopeMockRecorder) SubscriptionID() *gomock.Call

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockResourceHealthScopeMockRecorder) TenantID

TenantID indicates an expected call of TenantID.

func (*MockResourceHealthScopeMockRecorder) Token added in v1.11.0

Token indicates an expected call of Token.

type Mockclient

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

Mockclient is a mock of client interface.

func NewMockclient

func NewMockclient(ctrl *gomock.Controller) *Mockclient

NewMockclient creates a new mock instance.

func (*Mockclient) EXPECT

func (m *Mockclient) EXPECT() *MockclientMockRecorder

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

func (*Mockclient) GetByResource

func (m *Mockclient) GetByResource(arg0 context.Context, arg1 string) (armresourcehealth.AvailabilityStatus, error)

GetByResource mocks base method.

type MockclientMockRecorder

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

MockclientMockRecorder is the mock recorder for Mockclient.

func (*MockclientMockRecorder) GetByResource

func (mr *MockclientMockRecorder) GetByResource(arg0, arg1 any) *gomock.Call

GetByResource indicates an expected call of GetByResource.

Jump to

Keyboard shortcuts

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