swift

package
v0.0.0-...-bc66580 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 26 Imported by: 1

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

NewDriver creates new Swift driver for the Image Registry

Types

type ErrContainerEndpointNotFound

type ErrContainerEndpointNotFound struct {
	// contains filtered or unexported fields
}

func (ErrContainerEndpointNotFound) Error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL