loadservice

package
v4.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 21 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