Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapDiscovery ¶
ConfigMapDiscovery represents a configmap with the context information
func (ConfigMapDiscovery) GetLabels ¶
func (c ConfigMapDiscovery) GetLabels() map[string]string
GetLabels allows ConfigMapDiscovery to implement the Labeled interface
type CronJobDiscovery ¶
type CronJobDiscovery struct { Context string batchv1beta1.CronJob }
CronJobDiscovery represents a cron job with the context information
func (CronJobDiscovery) GetLabels ¶
func (c CronJobDiscovery) GetLabels() map[string]string
GetLabels allows CronJobDiscovery to implement the Labeled interface
type DeploymentDiscovery ¶
type DeploymentDiscovery struct { Context string v1.Deployment }
DeploymentDiscovery represents a deployment with the context information
func (DeploymentDiscovery) GetLabels ¶
func (c DeploymentDiscovery) GetLabels() map[string]string
GetLabels allows DeploymentDiscovery to implement the Labeled interface
type JobDiscovery ¶
JobDiscovery represents a job with the context information
func (JobDiscovery) GetLabels ¶
func (c JobDiscovery) GetLabels() map[string]string
GetLabels allows JobDiscovery to implement the Labeled interface
type ManifestDetails ¶
type ManifestDetails struct { Metadata struct { Name string `json:"name"` Namespace string `json:"namespace"` } `json:"metadata"` APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Spec struct { ActiveDeadlineSeconds string `json:"activeDeadlineSeconds"` Template template `json:"template"` } `json:"spec"` }
ManifestDetails represents the manifest details of a running adhoc pod to get attributes like the namespace
type PodDiscovery ¶
PodDiscovery represents a pod with the context information
func (PodDiscovery) GetLabels ¶
func (c PodDiscovery) GetLabels() map[string]string
GetLabels allows PodDiscovery to implement the Labeled interface
type ReplicaSetDiscovery ¶
type ReplicaSetDiscovery struct { Context string v1.ReplicaSet }
ReplicaSetDiscovery represents a deployment with the context information
func (ReplicaSetDiscovery) GetLabels ¶
func (c ReplicaSetDiscovery) GetLabels() map[string]string
GetLabels allows ReplicaSetDiscovery to implement the Labeled interface
type RunDetails ¶
type RunDetails struct { Resources resource `json:"resources"` Active bool `json:"active"` Manifest string `json:"manifest"` PreLogin [][]string `json:"pre_login_command,omitempty"` LoginCommand []string `json:"login_command"` }
RunDetails represents the commands and manifest to apply to launch an adhoc pod