loadservice

package
v4.3.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(request *msgs.LoadRequest, ns, pgouser string) msgs.LoadResponse

Load ... pgo load --policies=jsonload --selector=name=mycluster --load-config=./sample-load-config.json

func LoadHandler

func LoadHandler(w http.ResponseWriter, r *http.Request)

LoadHandler ... pgo load --selector=name=mycluster --load-config=./sample-load-config.json

Types

type LoadConfig

type LoadConfig struct {
	PGOImagePrefix    string
	PGOImageTag       string
	DbDatabase        string
	DbUser            string
	DbPort            string
	TableToLoad       string
	FilePath          string
	FileType          string
	PVCName           string
	FSGroup           string
	SupplementalGroup string
}
var LoadCfg LoadConfig

Jump to

Keyboard shortcuts

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