mocks

package
v0.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAadClient

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

MockAadClient is a mock of AadClient interface.

func NewMockAadClient

func NewMockAadClient(ctrl *gomock.Controller) *MockAadClient

NewMockAadClient creates a new mock instance.

func (*MockAadClient) EXPECT

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

func (*MockAadClient) GetAadToken

func (m *MockAadClient) GetAadToken(arg0, arg1, arg2 string, arg3 []string) (string, error)

GetAadToken mocks base method.

type MockAadClientMockRecorder

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

MockAadClientMockRecorder is the mock recorder for MockAadClient.

func (*MockAadClientMockRecorder) GetAadToken

func (mr *MockAadClientMockRecorder) GetAadToken(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetAadToken indicates an expected call of GetAadToken.

type MockImdsClient

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

MockImdsClient is a mock of ImdsClient interface.

func NewMockImdsClient

func NewMockImdsClient(ctrl *gomock.Controller) *MockImdsClient

NewMockImdsClient creates a new mock instance.

func (*MockImdsClient) EXPECT

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

func (*MockImdsClient) GetAttestedData

func (m *MockImdsClient) GetAttestedData(arg0 string) (*datamodel.VmssAttestedData, error)

GetAttestedData mocks base method.

func (*MockImdsClient) GetInstanceData

func (m *MockImdsClient) GetInstanceData() (*datamodel.VmssInstanceData, error)

GetInstanceData mocks base method.

func (*MockImdsClient) GetMSIToken

func (m *MockImdsClient) GetMSIToken(arg0 string) (*datamodel.TokenResponseJSON, error)

GetMSIToken mocks base method.

func (*MockImdsClient) SetImdsURL

func (m *MockImdsClient) SetImdsURL(arg0 string)

SetImdsURL mocks base method.

type MockImdsClientMockRecorder

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

MockImdsClientMockRecorder is the mock recorder for MockImdsClient.

func (*MockImdsClientMockRecorder) GetAttestedData

func (mr *MockImdsClientMockRecorder) GetAttestedData(arg0 interface{}) *gomock.Call

GetAttestedData indicates an expected call of GetAttestedData.

func (*MockImdsClientMockRecorder) GetInstanceData

func (mr *MockImdsClientMockRecorder) GetInstanceData() *gomock.Call

GetInstanceData indicates an expected call of GetInstanceData.

func (*MockImdsClientMockRecorder) GetMSIToken

func (mr *MockImdsClientMockRecorder) GetMSIToken(arg0 interface{}) *gomock.Call

GetMSIToken indicates an expected call of GetMSIToken.

func (*MockImdsClientMockRecorder) SetImdsURL

func (mr *MockImdsClientMockRecorder) SetImdsURL(arg0 interface{}) *gomock.Call

SetImdsURL indicates an expected call of SetImdsURL.

Jump to

Keyboard shortcuts

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