Documentation ¶
Index ¶
- type Client
- type Session
- func (_m *Session) ApplicationCredentialList(providerID string, credential providers.CredentialOption) ([]providers.ApplicationCredential, error)
- func (_m *Session) AuthenticationTest(providerID string, variables map[string]string) error
- func (_m *Session) CreateApplicationCredential(providerID string, credential providers.CredentialOption, namePostfix string, ...) (string, error)
- func (_m *Session) CredentialList(providerID string, filter openstackprovider.CredentialListFilter) ([]service.CredentialModel, error)
- func (_m *Session) DeleteApplicationCredential(providerID string, credentialID string) error
- func (_m *Session) FlavorList(providerID string, credential providers.CredentialOption, region string) ([]providers.Flavor, error)
- func (_m *Session) GetApplicationCredential(providerID string, credential providers.CredentialOption, ...) (*providers.ApplicationCredential, error)
- func (_m *Session) GetFlavor(providerID string, credential providers.CredentialOption, region string, ...) (*providers.Flavor, error)
- func (_m *Session) GetImage(providerID string, credential providers.CredentialOption, region string, ...) (*providers.OpenStackImage, error)
- func (_m *Session) GetProject(providerID string, credential providers.CredentialOption, projectID string) (*providers.Project, error)
- func (_m *Session) ImageList(providerID string, credential providers.CredentialOption, region string) ([]providers.OpenStackImage, error)
- func (_m *Session) ProjectList(providerID string, credential providers.CredentialOption) ([]providers.Project, error)
- func (_m *Session) RecordsetList(providerID string, credential providers.CredentialOption, zoneID string) ([]providers.DNSRecordset, error)
- func (_m *Session) RegionList(providerID string, credential providers.CredentialOption) ([]providers.Region, error)
- func (_m *Session) ZoneList(providerID string, credential providers.CredentialOption) ([]providers.DNSZone, 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) ApplicationCredentialList ¶
func (_m *Session) ApplicationCredentialList(providerID string, credential providers.CredentialOption) ([]providers.ApplicationCredential, error)
ApplicationCredentialList provides a mock function with given fields: providerID, credential
func (*Session) AuthenticationTest ¶
AuthenticationTest provides a mock function with given fields: providerID, variables
func (*Session) CreateApplicationCredential ¶
func (_m *Session) CreateApplicationCredential(providerID string, credential providers.CredentialOption, namePostfix string, scope providers.ProjectScope) (string, error)
CreateApplicationCredential provides a mock function with given fields: providerID, credential, namePostfix, scope
func (*Session) CredentialList ¶
func (_m *Session) CredentialList(providerID string, filter openstackprovider.CredentialListFilter) ([]service.CredentialModel, error)
CredentialList provides a mock function with given fields: providerID, filter
func (*Session) DeleteApplicationCredential ¶
DeleteApplicationCredential provides a mock function with given fields: providerID, credentialID
func (*Session) FlavorList ¶
func (_m *Session) FlavorList(providerID string, credential providers.CredentialOption, region string) ([]providers.Flavor, error)
FlavorList provides a mock function with given fields: providerID, credential, region
func (*Session) GetApplicationCredential ¶
func (_m *Session) GetApplicationCredential(providerID string, credential providers.CredentialOption, applicationCredentialID string) (*providers.ApplicationCredential, error)
GetApplicationCredential provides a mock function with given fields: providerID, credential, applicationCredentialID
func (*Session) GetFlavor ¶
func (_m *Session) GetFlavor(providerID string, credential providers.CredentialOption, region string, flavorID string) (*providers.Flavor, error)
GetFlavor provides a mock function with given fields: providerID, credential, region, flavorID
func (*Session) GetImage ¶
func (_m *Session) GetImage(providerID string, credential providers.CredentialOption, region string, imageID string) (*providers.OpenStackImage, error)
GetImage provides a mock function with given fields: providerID, credential, region, imageID
func (*Session) GetProject ¶
func (_m *Session) GetProject(providerID string, credential providers.CredentialOption, projectID string) (*providers.Project, error)
GetProject provides a mock function with given fields: providerID, credential, projectID
func (*Session) ImageList ¶
func (_m *Session) ImageList(providerID string, credential providers.CredentialOption, region string) ([]providers.OpenStackImage, error)
ImageList provides a mock function with given fields: providerID, credential, region
func (*Session) ProjectList ¶
func (_m *Session) ProjectList(providerID string, credential providers.CredentialOption) ([]providers.Project, error)
ProjectList provides a mock function with given fields: providerID, credential
func (*Session) RecordsetList ¶
func (_m *Session) RecordsetList(providerID string, credential providers.CredentialOption, zoneID string) ([]providers.DNSRecordset, error)
RecordsetList provides a mock function with given fields: providerID, credential, zoneID
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