wrapper

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEphemeralContainerFieldExist

func CheckEphemeralContainerFieldExist(podSpec *corev1.PodSpec) bool

func CheckEphemeralContainerStatusFieldExist

func CheckEphemeralContainerStatusFieldExist(podStatus *corev1.PodStatus) bool

func ConfigMap

func ConfigMap(w *corev1.ConfigMap) *configMap

func CronJob

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

func Daemenset

func Daemenset(d *appsv1.DaemonSet) *daemonset

func Deployment

func Deployment(w *appsv1.Deployment) *deployment

func Event

func Event(w *corev1.Event) *event

func GetIngressHostInfo

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

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

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

func (*K8sApiReference) GetApiDocV2

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