Documentation ¶
Index ¶
- type Client
- type Session
- func (_m *Session) AuthenticationTest(providerID string, variables map[string]string) error
- func (_m *Session) CredentialList(providerID string) ([]service.CredentialModel, error)
- func (_m *Session) FlavorList(providerID string, region string, credential providers.CredentialOption) ([]providers.Flavor, error)
- func (_m *Session) GetFlavor(providerID string, region string, credential providers.CredentialOption, ...) (*providers.Flavor, error)
- func (_m *Session) GetImage(providerID string, region string, credential providers.CredentialOption, ...) (*providers.AWSImage, error)
- func (_m *Session) ImageList(providerID string, region string, credential providers.CredentialOption) ([]providers.AWSImage, error)
- func (_m *Session) RegionList(providerID string, credential providers.CredentialOption) ([]providers.Region, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
type Session ¶
Session is an autogenerated mock type for the Session type
func NewSession ¶
NewSession creates a new instance of Session. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Session) AuthenticationTest ¶
AuthenticationTest provides a mock function with given fields: providerID, variables
func (*Session) CredentialList ¶
func (_m *Session) CredentialList(providerID string) ([]service.CredentialModel, error)
CredentialList provides a mock function with given fields: providerID
func (*Session) FlavorList ¶
func (_m *Session) FlavorList(providerID string, region string, credential providers.CredentialOption) ([]providers.Flavor, error)
FlavorList provides a mock function with given fields: providerID, region, credential
func (*Session) GetFlavor ¶
func (_m *Session) GetFlavor(providerID string, region string, credential providers.CredentialOption, flavorID string) (*providers.Flavor, error)
GetFlavor provides a mock function with given fields: providerID, region, credential, flavorID
func (*Session) GetImage ¶
func (_m *Session) GetImage(providerID string, region string, credential providers.CredentialOption, imageID string) (*providers.AWSImage, error)
GetImage provides a mock function with given fields: providerID, region, credential, imageID
func (*Session) ImageList ¶
func (_m *Session) ImageList(providerID string, region string, credential providers.CredentialOption) ([]providers.AWSImage, error)
ImageList provides a mock function with given fields: providerID, region, credential
func (*Session) RegionList ¶
func (_m *Session) RegionList(providerID string, credential providers.CredentialOption) ([]providers.Region, error)
RegionList provides a mock function with given fields: providerID, credential