Help us shape the future of Go! Take the 2026 Go Developer Survey

limitrange

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2016 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 LimitRange

type LimitRange struct {
	ObjectMeta common.ObjectMeta `json:"objectMeta"`
	TypeMeta   common.TypeMeta   `json:"typeMeta"`
}

LimitRange provides the simplified presentation layer view of Kubernetes Limit Range resource.

type LimitRangeCell

type LimitRangeCell api.LimitRange

func (LimitRangeCell) GetProperty

type LimitRangeDetail

type LimitRangeDetail struct {
	ObjectMeta common.ObjectMeta `json:objectMeta`
	TypeMeta   common.TypeMeta   `json:typeMeta`

	LimitRanges limitRanges `json:"limitsRanges,omitempty"`
}

LimitRangeDetail provides the presentation layer view of Kubernetes Limit Ranges resource.

func GetLimitRangeDetail

func GetLimitRangeDetail(client *client.Client, namespace, name string) (*LimitRangeDetail, error)

GetLimitRangeDetail returns returns detailed information about a limit range

type LimitRangeList

type LimitRangeList struct {
	ListMeta common.ListMeta `json:"listMeta"`
	// Unordered list of Limit Ranges
	Items []LimitRange `json:"items"`
}

LimitRangeList contains a list of Limit Ranges in a cluster.

func GetLimitRangeList

func GetLimitRangeList(client *client.Client, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery) (*LimitRangeList, error)

GetLimitRangeList returns a list of all Limit Ranges in the cluster.

func GetLimitRangeListFromChannels

func GetLimitRangeListFromChannels(channels *common.ResourceChannels, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery) (*LimitRangeList, error)

GetLimitRangeListFromChannels returns a list of all Limit Ranges in the cluster reading required resource list once from the channels.

Jump to

Keyboard shortcuts

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