ha

package
v0.0.0-...-7b41efc Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HtmlPage = `` /* 915-byte string literal not displayed */

Functions

This section is empty.

Types

type HighAvailability

type HighAvailability struct {
	KubeClient         *kubernetes.KubeClient
	Pods               []string
	Namespace          string
	LabelSelector      string
	AnnotationSelector string
}

func (HighAvailability) Execute

type PodAvailability

type PodAvailability struct {
	Namespace       string
	Name            string
	Owner           string
	Type            string
	Replicas        int32
	PodAntiAffinity string
	RolloutStrategy string
	PVC             string
	Rank            int32
}

type PodAvailabilityList

type PodAvailabilityList struct {
	Items []PodAvailability
}

PodAvailabilityList implements PrintableList

func (PodAvailabilityList) ToHtml

func (p PodAvailabilityList) ToHtml() string

func (PodAvailabilityList) ToJson

func (p PodAvailabilityList) ToJson() string

func (PodAvailabilityList) ToTable

func (p PodAvailabilityList) ToTable() string

Jump to

Keyboard shortcuts

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