model

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Image     string                 `json:"image"`
	Args      []string               `json:"args"`
	Env       map[string]interface{} `json:"env"`
	Ports     map[string]interface{} `json:"ports"`
	Replicas  int                    `json:"replicas"`
	Status    *Status                `json:"status"`
}

type AppConstructor

type AppConstructor struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Image     string                 `json:"image"`
	Args      []string               `json:"args"`
	Env       map[string]interface{} `json:"env"`
	Ports     map[string]interface{} `json:"ports"`
	Replicas  int                    `json:"replicas"`
}

type AppUpdate

type AppUpdate struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Image     *string                `json:"image"`
	Args      []string               `json:"args"`
	Env       map[string]interface{} `json:"env"`
	Ports     map[string]interface{} `json:"ports"`
	Replicas  *int                   `json:"replicas"`
}

type Log

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

type Namespace

type Namespace struct {
	Namespace string `json:"namespace"`
}

type Namespaces

type Namespaces struct {
	Namespaces []string `json:"namespaces"`
}

type Ref added in v0.0.1

type Ref struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

type Replica

type Replica struct {
	Phase     string `json:"phase"`
	Condition string `json:"condition"`
	Reason    string `json:"reason"`
}

type Status

type Status struct {
	Replicas []*Replica `json:"replicas"`
}

type Task added in v0.0.1

type Task struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Image     string                 `json:"image"`
	Args      []string               `json:"args"`
	Env       map[string]interface{} `json:"env"`
	Schedule  string                 `json:"schedule"`
}

type TaskConstructor added in v0.0.1

type TaskConstructor struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Image     string                 `json:"image"`
	Args      []string               `json:"args"`
	Env       map[string]interface{} `json:"env"`
	Schedule  string                 `json:"schedule"`
}

type TaskUpdate added in v0.0.1

type TaskUpdate struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Image     *string                `json:"image"`
	Args      []string               `json:"args"`
	Env       map[string]interface{} `json:"env"`
	Schedule  *string                `json:"schedule"`
}

Jump to

Keyboard shortcuts

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