Documentation ¶
Index ¶
- Constants
- func GetConfigMap(client kubernetes.Interface, options GetConfigMapOptions) (*v1.ConfigMap, error)
- func GetConfigMaps(client kubernetes.Interface, options GetConfigMapsOptions) (*v1.ConfigMapList, error)
- func GetCronjob(client kubernetes.Interface, options GetCronjobOptions) (*v1beta1.CronJob, error)
- func GetDeployment(client kubernetes.Interface, options GetDeploymentOptions) (*v1.Deployment, error)
- func GetEndpoints(client kubernetes.Interface, options GetEndpointsOptions) (*v1.Endpoints, error)
- func GetJob(client kubernetes.Interface, options GetJobOptions) (*v1.Job, error)
- func GetJobsByCronjob(client kubernetes.Interface, options GetJobOptions) (*v1.JobList, error)
- func GetPod(client kubernetes.Interface, options GetPodOptions) (*v1.Pod, error)
- func GetPods(client kubernetes.Interface, options GetPodOptions) (*v1.PodList, error)
- func GetSecret(client kubernetes.Interface, options GetSecretOptions) (*v1.Secret, error)
- func GetSecrets(client kubernetes.Interface, options GetSecretsOptions) (*v1.SecretList, error)
- type GetConfigMapOptions
- type GetConfigMapsOptions
- type GetCronjobOptions
- type GetDeploymentOptions
- type GetEndpointsOptions
- type GetJobOptions
- type GetPodOptions
- type GetSecretOptions
- type GetSecretsOptions
Constants ¶
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
Types ¶
type GetConfigMapOptions ¶
GetConfigMapOptions options to get a deployment
type GetConfigMapsOptions ¶
type GetConfigMapsOptions struct {
Namespace string
}
GetConfigMapsOptions options to get a deployment
type GetCronjobOptions ¶
GetCronjobOptions options to get a cronjob
type GetDeploymentOptions ¶
GetDeploymentOptions options to get a deployment
type GetEndpointsOptions ¶
GetEndpointsOptions options to get a deployment
type GetJobOptions ¶
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 ¶
GetSecretOptions options to get a deployment
type GetSecretsOptions ¶
type GetSecretsOptions struct {
Namespace string
}
GetSecretsOptions options to get a deployment