model

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	ID             string
	Name           string `json:"name"`
	Description    string
	Servers        int    `json:"servers"`
	Agents         int    `json:"agents"`
	Nodes          []Node `json:"nodes"`
	Port           int
	PortBinding    map[string]string `json:"portBinding"`
	KubeConfig     string            `json:"kubeconfig"`
	Kind           string
	K8sVersion     string
	CreatedTime    time.Time
	LastUpdateTime time.Time
}

type Node

type Node struct {
	Name   string `json:"name"`
	Role   string `json:"role"`
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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