swift

package
Version: v0.0.0-...-52ad18b Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSwiftEnabled

func IsSwiftEnabled(listers *regopclient.Listers) bool

IsSwiftEnabled checks if Swift service is available for OpenStack platform

func NewDriver

NewDriver creates new Swift driver for the Image Registry

Types

type Swift

type Swift struct {
	AuthURL            string
	Username           string
	Password           string
	Tenant             string
	TenantID           string
	Domain             string
	DomainID           string
	RegionName         string
	IdentityAPIVersion string
}

func GetConfig

func GetConfig(listers *regopclient.Listers) (*Swift, error)

GetConfig reads credentials

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL