cli

package
v4.15.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: GPL-3.0, GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIFrontendAutocertCache

func GetAPIFrontendAutocertCache(c *etcd.Client) autocert.Cache

func GetAPIFrontendAutocertInfo

func GetAPIFrontendAutocertInfo(c *etcd.Client) (hostname string, email string, err error)

func GetAPIFrontendAutocertTLS

func GetAPIFrontendAutocertTLS(c *etcd.Client) (*tls.Config, error)

func GetAPIFrontendCertSrc

func GetAPIFrontendCertSrc(c *etcd.Client) (source string, err error)

func GetAPIFrontendHardcoded

func GetAPIFrontendHardcoded(c *etcd.Client) (cert []byte, key []byte, err error)

func NewFrontendModule

func NewFrontendModule(c *etcd.Client) admincli.CLIModule

Types

type EtcdCache

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

func (*EtcdCache) Delete

func (ec *EtcdCache) Delete(ctx context.Context, key string) error

func (*EtcdCache) Get

func (ec *EtcdCache) Get(ctx context.Context, key string) ([]byte, error)

func (*EtcdCache) Put

func (ec *EtcdCache) Put(ctx context.Context, key string, val []byte) error

Jump to

Keyboard shortcuts

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