etcdctl

package
v1.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoRequest

func DoRequest(opt EtcdRequestOption) (string, error)

func EtcdctlToolApi

func EtcdctlToolApi(args []string)

func GenerateQuery

func GenerateQuery(key string) (query string)

func GetKeys

func GetKeys(content string, silent bool) (map[string]string, error)

func GetVersion

func GetVersion(endpoint string) (string, string, error)

Only v3 version is supported,lower version support comments reserved.

Types

type EtcdRequestOption

type EtcdRequestOption struct {
	Endpoint  string
	Api       string
	PostData  string
	TlsConfig *tls.Config
	Method    string
	Silent    bool
}

Jump to

Keyboard shortcuts

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