requests

package
v0.0.0-...-b1f728d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Image   string   `json:"image"`
	Name    string   `json:"name"`
	Command []string `json:"command,omitempty"`
	Ports   []Port   `json:"ports,omitempty"`
}

Container object

type CreateApp

type CreateApp struct {
	Name     string `json:"name"`
	Replicas int32  `json:"replicas"`

	Containers []Container `json:"containers"`
}

CreateApp request

type CreateProject

type CreateProject struct {
	Name string `json:"name"`
}

CreateProject request

type CreateUser

type CreateUser struct {
	Name     string `json:"name"`
	Password string `json:"password"`
	Role     string `json:"role"`
}

CreateUser request

type LoginUser

type LoginUser struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

LoginUser request

type Port

type Port struct {
	Number           int32  `json:"number"`
	Protocol         string `json:"protocol"`
	ExposeExternally bool   `json:"exposeExternally"`
}

Port object

type UpdateApp

type UpdateApp struct {
	Replicas int32 `json:"replicas"`

	Containers []Container `json:"containers"`
}

UpdateApp request

Jump to

Keyboard shortcuts

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