ds

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Name                   string            `db:"name"`
	Namespace              string            `db:"namespace"`
	CreationTimestamp      time.Time         `db:"creation_ts"`
	Labels                 map[string]string `db:"labels"`
	CurrentNumberScheduled int32             `db:"current_number_scheduled"`
	DesiredNumberScheduled int32             `db:"desired_number_scheduled"`
	NumberAvailable        int32             `db:"number_available"`
	NumberMisscheduled     int32             `db:"number_misscheduled"`
	NumberReady            int32             `db:"number_ready"`
	NumberUnavailable      int32             `db:"number_unavailable"`
}

type InfoList

type InfoList []*Info

func Fetch

func Fetch(ctx context.Context, clientset *kubernetes.Clientset) (InfoList, error)

Jump to

Keyboard shortcuts

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