response

package
v0.0.0-...-b35005d Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LimitRange

type LimitRange struct {
	Name   string                  `json:"name"`
	Limits []coreV1.LimitRangeItem `json:"limits"`
}

type NamespaceBrief

type NamespaceBrief struct {
	Name              string            `json:"name"`
	Labels            map[string]string `json:"labels"`
	CreationTimestamp metaV1.Time       `json:"creationTimestamp"`
	Status            string            `json:"status"`
}

type NamespaceDetail

type NamespaceDetail struct {
	Metadata       k8s.ObjectMeta  `json:"metadata"`
	Status         string          `json:"status"`
	ResourceQuotas []ResourceQuota `json:"resourceQuotas"`
	LimitRanges    []LimitRange    `json:"limitRanges"`
}

type NodeBrief

type NodeBrief struct {
	Name              string    `json:"name,omitempty"`
	InternalIP        string    `json:"internalIP,omitempty"`
	Roles             []string  `json:"role,omitempty"`
	Status            string    `json:"status,omitempty"`
	Cpu               string    `json:"cpu,omitempty"`
	Memory            string    `json:"memory,omitempty"`
	CreationTimestamp time.Time `json:"creationTimestamp,omitempty"`
}

type ResourceQuota

type ResourceQuota struct {
	Name string              `json:"name"`
	Hard coreV1.ResourceList `json:"hard"`
	Used coreV1.ResourceList `json:"used"`
}

Jump to

Keyboard shortcuts

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