Documentation
¶
Overview ¶
Package riaas ...
Package riaas ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BaseURL string AccountID string Username string APIKey string ResourceGroup string Password string ContextID string DebugWriter io.Writer HTTPClient *http.Client Context context.Context APIVersion string APIGeneration int }
Config for the Session
type DefaultRegionalAPIClientProvider ¶
type DefaultRegionalAPIClientProvider struct { }
DefaultRegionalAPIClientProvider declares a basic client provider that delegates to New(). Can be used for dependency injection.
func (DefaultRegionalAPIClientProvider) New ¶
func (d DefaultRegionalAPIClientProvider) New(config Config) (RegionalAPI, error)
New creates a new Session volume, using the supplied config
type RegionalAPI ¶
RegionalAPI is the main interface for the RIAAS API client. From here, service objects for the individual parts of the API can be obtained
type RegionalAPIClientProvider ¶
type RegionalAPIClientProvider interface {
New(config Config) (RegionalAPI, error)
}
RegionalAPIClientProvider declares an interface for a provider that can supply a new RegionalAPI client session
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session is a base implementation of the RegionalAPI interface
func (*Session) FileShareService ¶
func (s *Session) FileShareService() vpcfilevolume.FileShareManager
VolumeFileService returns the Volume service for managing file volumes