clireq

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//ResourceTypeDevices = "devices"
	//ResourceTypeServices = "services"
	ResourceTypeResources  = "resources"
	ResourceTypeClusters   = "clusters"
	ResourceTypeBindings   = "bindings"
	ResourceTypeStrategies = "strategies"

	ListAll    = "true"
	DeleteAll  = "true"
	IsRunning  = "running"
	MoreDetail = "more_detail"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientRequest

type ClientRequest struct {
	ResourceType string   `json:"version"`
	ListAll      string   `json:"list_all"`
	DeleteAll    string   `json:"delete_all"`
	IsRunning    string   `json:"running"`
	MoreDetail   string   `json:"details"`
	Guids        []string `json:"guids"`
	Names        []string `json:"names"`
	Slave        string   `json:"slave"`
	Master       string   `json:"master"`
	Data         string   `json:"data"`
}

type ClientResponse

type ClientResponse struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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