Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSwiftEnabled ¶
func IsSwiftEnabled(listers *regopclient.StorageListers) (bool, error)
IsSwiftEnabled checks if Swift service is available for OpenStack platform
func NewDriver ¶
func NewDriver(c *imageregistryv1.ImageRegistryConfigStorageSwift, listers *regopclient.StorageListers) *driver
NewDriver creates new Swift driver for the Image Registry
Types ¶
type ErrContainerEndpointNotFound ¶
type ErrContainerEndpointNotFound struct {
// contains filtered or unexported fields
}
func (ErrContainerEndpointNotFound) Error ¶
func (err ErrContainerEndpointNotFound) Error() string
func (ErrContainerEndpointNotFound) Unwrap ¶
func (err ErrContainerEndpointNotFound) Unwrap() error
type Swift ¶
type Swift struct { AuthURL string Username string Password string Tenant string TenantID string Domain string DomainID string RegionName string IdentityAPIVersion string ApplicationCredentialID string ApplicationCredentialName string ApplicationCredentialSecret string }
func GetConfig ¶
func GetConfig(listers *regopclient.StorageListers) (*Swift, error)
GetConfig reads credentials
Click to show internal directories.
Click to hide internal directories.