rest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultDatabaseNamePrefix       string = "default-k8s-deploy"
	DefaultRepositoryStorageFolder  string = "/var/k8s-deploy/repository"
	DefaultSchedulerStorageFolder   string = "/var/k8s-deploy/scheduler"
	DefaultExecutorStorageFolder    string = "/var/k8s-deploy/scheduler"
	DefaultConfigFolder             string = "/etc/k8s-deploy"
	DefaultLogFileFolder            string = "/var/log/k8s-deploy"
	DefaultLogFileLevel             string = "DEBUG"
	DefaultRepositoryRestServerPort int    = 8089
	DefaultSchedulerRestServerPort  int    = 8090
	DefaultExecutorRestServerPort   int    = 8091
	DefaultIpAddress                       = "0.0.0.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteItem

type DeleteItem struct {
	Name string `yaml:"name" json:"name" xml:"name"`
}

type DeleteListItem

type DeleteListItem struct {
	Name  string `yaml:"name" json:"name" xml:"name"`
	Index int    `yaml:"index" json:"index" xml:"index"`
}

type DeleteRequest

type DeleteRequest struct {
	ListData   []DeleteListItem `yaml:"listItems,omitempty" json:"listItems,omitempty" xml:"list-item,omitempty"`
	RecordData []DeleteItem     `yaml:"items,omitempty" json:"items,omitempty" xml:"item,omitempty"`
	Request    model.Request    `yaml:"request" json:"request" xml:"request"`
}

type TemplateDataType

type TemplateDataType struct {
	Method  string      `yaml:"method" json:"method" xml:"method"`
	Header  []string    `yaml:"header" json:"header" xml:"header"`
	Query   []string    `yaml:"query" json:"query" xml:"query"`
	Request interface{} `yaml:"request" json:"request" xml:"request"`
}

type TemplateResponse

type TemplateResponse struct {
	Templates []TemplateDataType `yaml:"template" json:"template" xml:"template"`
}

type UpdateItem

type UpdateItem struct {
	Name  string `yaml:"name" json:"name" xml:"name"`
	Value string `yaml:"value" json:"value" xml:"value"`
}

type UpdateListItem

type UpdateListItem struct {
	Name  string `yaml:"name" json:"name" xml:"name"`
	Value string `yaml:"value" json:"value" xml:"value"`
	Index int    `yaml:"index" json:"index" xml:"index"`
}

type UpdateRequest

type UpdateRequest struct {
	ListData   []UpdateListItem `yaml:"listItems,omitempty" json:"listItems,omitempty" xml:"list-item,omitempty"`
	RecordData []UpdateItem     `yaml:"items,omitempty" json:"items,omitempty" xml:"item,omitempty"`
	Request    model.Request    `yaml:"request" json:"request" xml:"request"`
}

Jump to

Keyboard shortcuts

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