kubernetes

package
v0.0.0-...-5f6fd8f Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

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

type ListenerPair struct {
	Name       string
	Protocol   string
	SourcePort int32
	TargetPort int32
}

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

Jump to

Keyboard shortcuts

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