package starter

import "github.com/coreos/etcd/migrate/starter"

Index

Functions

func StartDesiredVersion

func StartDesiredVersion(args []string)

Types

type TLSInfo

type TLSInfo struct {
	CertFile string `json:"CertFile"`
	KeyFile  string `json:"KeyFile"`
	CAFile   string `json:"CAFile"`
}

TLSInfo holds the SSL certificates paths.

func (TLSInfo) ClientConfig

func (info TLSInfo) ClientConfig() (*tls.Config, error)

Generates a tls.Config object for a client from the given files.

func (TLSInfo) Scheme

func (info TLSInfo) Scheme() string

func (TLSInfo) ServerConfig

func (info TLSInfo) ServerConfig() (*tls.Config, error)

Generates a tls.Config object for a server from the given files.

Source Files

starter.go tls_info.go

Version
v2.0.2+incompatible
Published
Feb 12, 2015
Platform
js/wasm
Imports
23 packages
Last checked
40 minutes ago

Tools for package owners.