api

package
v0.0.0-...-df1bddf Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const JOB_TIME_FORMAT = "2006-01-02 15:04:05 +0200 CEST"

Variables

This section is empty.

Functions

func GetConfigMap

func GetConfigMap(client kubernetes.Interface, options GetConfigMapOptions) (*v1.ConfigMap, error)

GetConfigMap returns a single k8s ConfigMap resource

func GetConfigMaps

func GetConfigMaps(client kubernetes.Interface, options GetConfigMapsOptions) (*v1.ConfigMapList, error)

GetConfigMaps returns a ConfigMapList

func GetCronjob

func GetCronjob(client kubernetes.Interface, options GetCronjobOptions) (*v1beta1.CronJob, error)

GetCronjob returns a new checkCronjob object

func GetDeployment

func GetDeployment(client kubernetes.Interface, options GetDeploymentOptions) (*v1.Deployment, error)

GetDeployment returns a new checkDeployment object

func GetEndpoints

func GetEndpoints(client kubernetes.Interface, options GetEndpointsOptions) (*v1.Endpoints, error)

GetEndpoints returns a new checkDeployment object

func GetJob

func GetJob(client kubernetes.Interface, options GetJobOptions) (*v1.Job, error)

GetJob returns a new checkJob object

func GetJobsByCronjob

func GetJobsByCronjob(client kubernetes.Interface, options GetJobOptions) (*v1.JobList, error)

GetJobs returns a new checkJob object

func GetPod

func GetPod(client kubernetes.Interface, options GetPodOptions) (*v1.Pod, error)

GetPod returns a new checkDeployment object

func GetPods

func GetPods(client kubernetes.Interface, options GetPodOptions) (*v1.PodList, error)

GetPods returns a new checkDeployment object

func GetSecret

func GetSecret(client kubernetes.Interface, options GetSecretOptions) (*v1.Secret, error)

GetSecret returns a single k8s Secret resource

func GetSecrets

func GetSecrets(client kubernetes.Interface, options GetSecretsOptions) (*v1.SecretList, error)

GetSecrets returns a SecretList

func GetStatefulSet

func GetStatefulSet(client kubernetes.Interface, options GetStatefulSetOptions) (*v1.StatefulSet, error)

GetStatefulSet returns a new checkStatefulSet object

Types

type GetConfigMapOptions

type GetConfigMapOptions struct {
	Name      string
	Namespace string
}

GetConfigMapOptions options to get a deployment

type GetConfigMapsOptions

type GetConfigMapsOptions struct {
	Namespace string
}

GetConfigMapsOptions options to get a deployment

type GetCronjobOptions

type GetCronjobOptions struct {
	Name      string
	Namespace string
}

GetCronjobOptions options to get a cronjob

type GetDeploymentOptions

type GetDeploymentOptions struct {
	Name      string
	Namespace string
}

GetDeploymentOptions options to get a deployment

type GetEndpointsOptions

type GetEndpointsOptions struct {
	Name      string
	Namespace string
}

GetEndpointsOptions options to get a deployment

type GetJobOptions

type GetJobOptions struct {
	Name      string
	Namespace string
}

GetJobOptions options to get a job

type GetPodOptions

type GetPodOptions struct {
	Name          string
	Namespace     string
	LabelSelector *meta_v1.LabelSelector
}

GetPodOptions options to get a deployment

type GetSecretOptions

type GetSecretOptions struct {
	Name      string
	Namespace string
}

GetSecretOptions options to get a deployment

type GetSecretsOptions

type GetSecretsOptions struct {
	Namespace string
}

GetSecretsOptions options to get a deployment

type GetStatefulSetOptions

type GetStatefulSetOptions struct {
	Name      string
	Namespace string
}

GetStatefulSetOptions options to get a StatefulSet

Jump to

Keyboard shortcuts

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