mock_instancemetadata

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_instancemetadata is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInstanceMetadata

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

MockInstanceMetadata is a mock of InstanceMetadata interface.

func NewMockInstanceMetadata

func NewMockInstanceMetadata(ctrl *gomock.Controller) *MockInstanceMetadata

NewMockInstanceMetadata creates a new mock instance.

func (*MockInstanceMetadata) EXPECT

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

func (*MockInstanceMetadata) Environment

Environment mocks base method.

func (*MockInstanceMetadata) Hostname

func (m *MockInstanceMetadata) Hostname() string

Hostname mocks base method.

func (*MockInstanceMetadata) Location

func (m *MockInstanceMetadata) Location() string

Location mocks base method.

func (*MockInstanceMetadata) ResourceGroup

func (m *MockInstanceMetadata) ResourceGroup() string

ResourceGroup mocks base method.

func (*MockInstanceMetadata) SubscriptionID

func (m *MockInstanceMetadata) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockInstanceMetadata) TenantID

func (m *MockInstanceMetadata) TenantID() string

TenantID mocks base method.

type MockInstanceMetadataMockRecorder

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

MockInstanceMetadataMockRecorder is the mock recorder for MockInstanceMetadata.

func (*MockInstanceMetadataMockRecorder) Environment

func (mr *MockInstanceMetadataMockRecorder) Environment() *gomock.Call

Environment indicates an expected call of Environment.

func (*MockInstanceMetadataMockRecorder) Hostname

Hostname indicates an expected call of Hostname.

func (*MockInstanceMetadataMockRecorder) Location

Location indicates an expected call of Location.

func (*MockInstanceMetadataMockRecorder) ResourceGroup

func (mr *MockInstanceMetadataMockRecorder) ResourceGroup() *gomock.Call

ResourceGroup indicates an expected call of ResourceGroup.

func (*MockInstanceMetadataMockRecorder) SubscriptionID

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

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockInstanceMetadataMockRecorder) TenantID

TenantID indicates an expected call of TenantID.

type MockServicePrincipalToken

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

MockServicePrincipalToken is a mock of ServicePrincipalToken interface.

func NewMockServicePrincipalToken

func NewMockServicePrincipalToken(ctrl *gomock.Controller) *MockServicePrincipalToken

NewMockServicePrincipalToken creates a new mock instance.

func (*MockServicePrincipalToken) EXPECT

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

func (*MockServicePrincipalToken) OAuthToken

func (m *MockServicePrincipalToken) OAuthToken() string

OAuthToken mocks base method.

func (*MockServicePrincipalToken) RefreshWithContext

func (m *MockServicePrincipalToken) RefreshWithContext(arg0 context.Context) error

RefreshWithContext mocks base method.

type MockServicePrincipalTokenMockRecorder

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

MockServicePrincipalTokenMockRecorder is the mock recorder for MockServicePrincipalToken.

func (*MockServicePrincipalTokenMockRecorder) OAuthToken

OAuthToken indicates an expected call of OAuthToken.

func (*MockServicePrincipalTokenMockRecorder) RefreshWithContext

func (mr *MockServicePrincipalTokenMockRecorder) RefreshWithContext(arg0 interface{}) *gomock.Call

RefreshWithContext indicates an expected call of RefreshWithContext.

Jump to

Keyboard shortcuts

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