Documentation ¶
Index ¶
- type Kubernetes
- func (x *Kubernetes) CreateNamespaceIfNotExists(namespace string, coreInterface corev1.CoreV1Interface) error
- func (x *Kubernetes) Description() string
- func (x *Kubernetes) GenDeploymentName(slugName string, serviceName string) string
- func (x *Kubernetes) GenNamespaceName(suggestedEnvironment string, projectSlug string) string
- func (x *Kubernetes) GenOneShotServiceName(slugName string, serviceName string) string
- func (x *Kubernetes) GetTempDir() (string, error)
- func (x *Kubernetes) Process(e transistor.Event) error
- func (x *Kubernetes) ProcessDeployment(e transistor.Event)
- func (x *Kubernetes) ProcessLoadBalancer(e transistor.Event)
- func (x *Kubernetes) SampleConfig() string
- func (x *Kubernetes) SetupKubeConfig(e transistor.Event) (string, error)
- func (x *Kubernetes) Start(e chan transistor.Event) error
- func (x *Kubernetes) Stop()
- func (x *Kubernetes) Subscribe() []string
- type ListenerPair
- type ProbeDefaults
- type SimplePodSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kubernetes ¶
type Kubernetes struct {
// contains filtered or unexported fields
}
Kubernetes
func (*Kubernetes) CreateNamespaceIfNotExists ¶
func (x *Kubernetes) CreateNamespaceIfNotExists(namespace string, coreInterface corev1.CoreV1Interface) error
func (*Kubernetes) Description ¶
func (x *Kubernetes) Description() string
func (*Kubernetes) GenDeploymentName ¶
func (x *Kubernetes) GenDeploymentName(slugName string, serviceName string) string
func (*Kubernetes) GenNamespaceName ¶
func (x *Kubernetes) GenNamespaceName(suggestedEnvironment string, projectSlug string) string
func (*Kubernetes) GenOneShotServiceName ¶
func (x *Kubernetes) GenOneShotServiceName(slugName string, serviceName string) string
func (*Kubernetes) GetTempDir ¶
func (x *Kubernetes) GetTempDir() (string, error)
func (*Kubernetes) Process ¶
func (x *Kubernetes) Process(e transistor.Event) error
func (*Kubernetes) ProcessDeployment ¶
func (x *Kubernetes) ProcessDeployment(e transistor.Event)
func (*Kubernetes) ProcessLoadBalancer ¶
func (x *Kubernetes) ProcessLoadBalancer(e transistor.Event)
func (*Kubernetes) SampleConfig ¶
func (x *Kubernetes) SampleConfig() string
func (*Kubernetes) SetupKubeConfig ¶
func (x *Kubernetes) SetupKubeConfig(e transistor.Event) (string, error)
func (*Kubernetes) Start ¶
func (x *Kubernetes) Start(e chan transistor.Event) error
func (*Kubernetes) Stop ¶
func (x *Kubernetes) Stop()
func (*Kubernetes) Subscribe ¶
func (x *Kubernetes) Subscribe() []string
type ListenerPair ¶
Load Balancer
type ProbeDefaults ¶
type ProbeDefaults struct { InitialDelaySeconds int32 PeriodSeconds int32 SuccessThreshold int32 FailureThreshold int32 TimeoutSeconds int32 }
ProbeDefaults
type SimplePodSpec ¶
type SimplePodSpec struct { Name string DeployPorts []v1.ContainerPort ReadinessProbe v1.Probe LivenessProbe v1.Probe PreStopHook v1.Handler RestartPolicy v1.RestartPolicy NodeSelector map[string]string Args []string Service plugins.Service Image string Env []v1.EnvVar VolumeMounts []v1.VolumeMount Volumes []v1.Volume }
Deployments
Click to show internal directories.
Click to hide internal directories.