wrapper

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEphemeralContainerFieldExist added in v1.9.9

func CheckEphemeralContainerFieldExist(podSpec *corev1.PodSpec) bool

func CheckEphemeralContainerStatusFieldExist added in v1.9.9

func CheckEphemeralContainerStatusFieldExist(podStatus *corev1.PodStatus) bool

func ConfigMap

func ConfigMap(w *corev1.ConfigMap) *configMap

func CronJob added in v1.9.9

func CronJob(cj *batchv1.CronJob, cjBeta *v1beta1.CronJob) *cronJob

func Daemenset added in v1.9.9

func Daemenset(d *appsv1.DaemonSet) *daemonset

func Deployment

func Deployment(w *appsv1.Deployment) *deployment

func Event

func Event(w *corev1.Event) *event

func GetIngressHostInfo added in v1.9.9

func GetIngressHostInfo(ing *v1.Ingress) []resource.HostInfo

func Ingress

func Ingress(ing *extensionsv1beta1.Ingress) *ingress

func Job

func Job(w *batchv1.Job) *job

func Namespace

func Namespace(w *corev1.Namespace) *namespace

func Pod

func Pod(w *corev1.Pod) *pod

func Service

func Service(w *corev1.Service) *service

func StatefulSet

func StatefulSet(w *appsv1.StatefulSet) *statefulSet

Types

type CronJobItem added in v1.9.9

type CronJobItem interface {
	GetName() string
	ImageInfos() []string
	GetSchedule() string
	GetSuspend() bool
	GetActive() int
	GetLastSchedule() string
	GetAge() string
	GetCreationTime() time.Time
	GetAnnotations() map[string]string
}

type K8sApiReference added in v1.9.9

type K8sApiReference struct {
	ApiVersion    schema.GroupVersion
	Kind          string
	OpenapiSchema *openapi_v2.Document
}

func (*K8sApiReference) GetApiDocV2 added in v1.9.9

func (k *K8sApiReference) GetApiDocV2(field string) string

Jump to

Keyboard shortcuts

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