mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOnpremRegistrationInfo

type IOnpremRegistrationInfo struct {
	mock.Mock
}

IOnpremRegistrationInfo is an autogenerated mock type for the IOnpremRegistrationInfo type

func NewIOnpremRegistrationInfo

func NewIOnpremRegistrationInfo(t testing.TB) *IOnpremRegistrationInfo

NewIOnpremRegistrationInfo creates a new instance of IOnpremRegistrationInfo. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*IOnpremRegistrationInfo) Fingerprint

func (_m *IOnpremRegistrationInfo) Fingerprint(_a0 log.T) (string, error)

Fingerprint provides a mock function with given fields: _a0

func (*IOnpremRegistrationInfo) GenerateKeyPair

func (_m *IOnpremRegistrationInfo) GenerateKeyPair() (string, string, string, error)

GenerateKeyPair provides a mock function with given fields:

func (*IOnpremRegistrationInfo) GeneratePublicKey

func (_m *IOnpremRegistrationInfo) GeneratePublicKey(_a0 string) (string, error)

GeneratePublicKey provides a mock function with given fields: _a0

func (*IOnpremRegistrationInfo) HasManagedInstancesCredentials

func (_m *IOnpremRegistrationInfo) HasManagedInstancesCredentials(_a0 log.T, _a1 string, _a2 string) bool

HasManagedInstancesCredentials provides a mock function with given fields: _a0, _a1, _a2

func (*IOnpremRegistrationInfo) InstanceID

func (_m *IOnpremRegistrationInfo) InstanceID(_a0 log.T, _a1 string, _a2 string) string

InstanceID provides a mock function with given fields: _a0, _a1, _a2

func (*IOnpremRegistrationInfo) PrivateKey

func (_m *IOnpremRegistrationInfo) PrivateKey(_a0 log.T, _a1 string, _a2 string) string

PrivateKey provides a mock function with given fields: _a0, _a1, _a2

func (*IOnpremRegistrationInfo) PrivateKeyType

func (_m *IOnpremRegistrationInfo) PrivateKeyType(_a0 log.T, _a1 string, _a2 string) string

PrivateKeyType provides a mock function with given fields: _a0, _a1, _a2

func (*IOnpremRegistrationInfo) Region

func (_m *IOnpremRegistrationInfo) Region(_a0 log.T, _a1 string, _a2 string) string

Region provides a mock function with given fields: _a0, _a1, _a2

func (*IOnpremRegistrationInfo) ReloadInstanceInfo

func (_m *IOnpremRegistrationInfo) ReloadInstanceInfo(_a0 log.T, _a1 string, _a2 string)

ReloadInstanceInfo provides a mock function with given fields: _a0, _a1, _a2

func (*IOnpremRegistrationInfo) ShouldRotatePrivateKey

func (_m *IOnpremRegistrationInfo) ShouldRotatePrivateKey(_a0 log.T, _a1 string, _a2 int, _a3 bool, _a4 string, _a5 string) (bool, error)

ShouldRotatePrivateKey provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5

func (*IOnpremRegistrationInfo) UpdatePrivateKey

func (_m *IOnpremRegistrationInfo) UpdatePrivateKey(_a0 log.T, _a1 string, _a2 string, _a3 string, _a4 string) error

UpdatePrivateKey provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

Jump to

Keyboard shortcuts

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