setup

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(configPath string) config.Config

Config returns global config struct

func Database added in v0.1.5

func Etcd

func Etcd(config config.Config) (*clientv3.Client, error)

Etcd returns etcd client

func IP added in v0.1.2

func Login

func Login(config config.Config) opencpspec.LoginClient

func ObjectStorage added in v0.1.5

func ObjectStorage(config config.Config) opencpspec.ObjectStorageServiceClient

func ObjectStorageCredential added in v0.1.5

func ObjectStorageCredential(config config.Config) opencpspec.ObjectStorageCredentialServiceClient

Types

Jump to

Keyboard shortcuts

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