statefulset

package
v0.0.0-...-c08f8a0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatefulSet

type StatefulSet struct {
	ObjectMeta          types.ObjectMeta `json:"objectMeta"`
	TypeMeta            types.TypeMeta   `json:"typeMeta"`
	Pods                common.PodInfo   `json:"podInfo"`
	ContainerImages     []string         `json:"containerImages"`
	InitContainerImages []string         `json:"initContainerImages"`
}

StatefulSet is a presentation layer view of Kubernetes Stateful Set resource.

type StatefulSetCell

type StatefulSetCell apps.StatefulSet

func (StatefulSetCell) GetProperty

type StatefulSetDetail

type StatefulSetDetail struct {
	// Extends list item structure.
	StatefulSet `json:",inline"`

	// List of non-critical errors, that occurred during resource retrieval.
	Errors []error `json:"errors"`
}

StatefulSetDetail is a presentation layer view of Kubernetes Stateful Set resource. This means it is Stateful

func GetStatefulSetDetail

func GetStatefulSetDetail(client kubernetes.Interface, namespace,
	name string) (*StatefulSetDetail, error)

GetStatefulSetDetail gets Stateful Set details.

type StatefulSetList

type StatefulSetList struct {
	ListMeta types.ListMeta `json:"listMeta"`

	Status       common.ResourceStatus `json:"status"`
	StatefulSets []StatefulSet         `json:"statefulSets"`

	// List of non-critical errors, that occurred during resource retrieval.
	Errors []error `json:"errors"`
}

StatefulSetList contains a list of Stateful Sets in the cluster.

func GetStatefulSetList

func GetStatefulSetList(client kubernetes.Interface, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery) (*StatefulSetList, error)

GetStatefulSetList returns a list of all Stateful Sets in the cluster.

func GetStatefulSetListFromChannels

func GetStatefulSetListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*StatefulSetList, error)

GetStatefulSetListFromChannels returns a list of all Stateful Sets 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