Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an interface for interacting with the provider openstack microservice. Implementations of this interface should encapsulate information necessary to interact with the microservice, such as Nats and Stan connection information.
func New ¶
func New(queryConn messaging2.QueryConnection, eventConn messaging2.EventConnection) Client
New creates a new provider openstack microservice client.
type CredentialListFilter ¶
CredentialListFilter is a set of filter options for listing credentials
type Session ¶
type Session interface { CreateApplicationCredential(providerID string, credential providers.CredentialOption, namePostfix string, scope providers.ProjectScope) (string, error) ApplicationCredentialList(providerID string, credential providers.CredentialOption) ([]providers.ApplicationCredential, error) GetApplicationCredential(providerID string, credential providers.CredentialOption, applicationCredentialID string) (*providers.ApplicationCredential, error) DeleteApplicationCredential(providerID string, credentialID string) error AuthenticationTest(providerID string, variables map[string]string) error CredentialList(providerID string, filter CredentialListFilter) ([]service.CredentialModel, error) RegionList(providerID string, credential providers.CredentialOption) ([]providers.Region, error) ImageList(providerID string, credential providers.CredentialOption, region string) ([]providers.OpenStackImage, error) GetImage(providerID string, credential providers.CredentialOption, region string, imageID string) (*providers.OpenStackImage, error) FlavorList(providerID string, credential providers.CredentialOption, region string) ([]providers.Flavor, error) GetFlavor(providerID string, credential providers.CredentialOption, region string, flavorID string) (*providers.Flavor, error) ProjectList(providerID string, credential providers.CredentialOption) ([]providers.Project, error) GetProject(providerID string, credential providers.CredentialOption, projectID string) (*providers.Project, error) ZoneList(providerID string, credential providers.CredentialOption) ([]providers.DNSZone, error) RecordsetList(providerID string, credential providers.CredentialOption, zoneID string) ([]providers.DNSRecordset, error) }
Session is an interface for interacting with the provider openstack microservice on behalf of a user. The purpose of having a session is to consolidate parameters that are common in all or most requests, but are not known at configuration time.
Click to show internal directories.
Click to hide internal directories.