entity

package
v0.9.0-nightly.20241227 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 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 Allocated

type Allocated struct {
	Cpu    string
	Memory string
}

type Capacity

type Capacity struct {
	Memory float64
	Pods   int64
	Cpu    int64
}

type Cluster

type Cluster struct {
	Name         string
	URLKubeApi   string
	KubePort     int32
	TlsCheck     bool
	ExternalPort int32
	Nodes        []Node
}

type Node

type Node struct {
	Name       string
	InternalIP string
	ExternalIP string
	Capacity   Capacity
	Allocated  Allocated
}

type Secret

type Secret struct {
	IsCore    bool
	Name      string            `json:"name"`
	Namespace string            `json:"namespace"`
	Username  string            `json:"username,omitempty"`
	Password  string            `json:"password,omitempty"`
	Token     string            `json:"token,omitempty"`
	Data      map[string]string `json:"data,omitempty"`
}

Jump to

Keyboard shortcuts

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