etcdv3

package
v3.9.0-0.dev+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingValue = fmt.Errorf("missing etcd KV")
)

Functions

func NewEtcdV3Client

func NewEtcdV3Client(config *apiconfig.EtcdConfig) (api.Client, error)

Types

type TlsInlineCertKey

type TlsInlineCertKey struct {
	Cert   string
	Key    string
	CACert string
}

This struct is used to store the inline cert, key and CA cert data

func (TlsInlineCertKey) ClientConfigInlineCertKey

func (info TlsInlineCertKey) ClientConfigInlineCertKey() (*tls.Config, error)

ClientConfigInlineCertKey() returns a pointer to tls.Config struct object with certificate data for client creation using only the inline certificate, key and CA certificate data.

Jump to

Keyboard shortcuts

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