Documentation
¶
Overview ¶
Package mock_instancemetadata is a generated GoMock package.
Index ¶
- type MockInstanceMetadata
- func (m *MockInstanceMetadata) EXPECT() *MockInstanceMetadataMockRecorder
- func (m *MockInstanceMetadata) Environment() *azureclient.AROEnvironment
- func (m *MockInstanceMetadata) Hostname() string
- func (m *MockInstanceMetadata) Location() string
- func (m *MockInstanceMetadata) ResourceGroup() string
- func (m *MockInstanceMetadata) SubscriptionID() string
- func (m *MockInstanceMetadata) TenantID() string
- type MockInstanceMetadataMockRecorder
- func (mr *MockInstanceMetadataMockRecorder) Environment() *gomock.Call
- func (mr *MockInstanceMetadataMockRecorder) Hostname() *gomock.Call
- func (mr *MockInstanceMetadataMockRecorder) Location() *gomock.Call
- func (mr *MockInstanceMetadataMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockInstanceMetadataMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockInstanceMetadataMockRecorder) TenantID() *gomock.Call
- type MockServicePrincipalToken
- type MockServicePrincipalTokenMockRecorder
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 ¶
func (m *MockInstanceMetadata) EXPECT() *MockInstanceMetadataMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstanceMetadata) Environment ¶
func (m *MockInstanceMetadata) Environment() *azureclient.AROEnvironment
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 ¶
func (mr *MockInstanceMetadataMockRecorder) Hostname() *gomock.Call
Hostname indicates an expected call of Hostname.
func (*MockInstanceMetadataMockRecorder) Location ¶
func (mr *MockInstanceMetadataMockRecorder) Location() *gomock.Call
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 ¶
func (mr *MockInstanceMetadataMockRecorder) TenantID() *gomock.Call
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 ¶
func (m *MockServicePrincipalToken) EXPECT() *MockServicePrincipalTokenMockRecorder
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 ¶
func (mr *MockServicePrincipalTokenMockRecorder) OAuthToken() *gomock.Call
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.