controllers

package
v0.0.0-...-4ca9e16 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePipelineController

func GeneratePipelineController(k8sConfig *rest.Config, namespace string, pachydermAddress string) (controller.Controller, error)

func GenerateReplicationController

func GenerateReplicationController(k8sConfig *rest.Config, adargaclient *adargaclients.Clientset, namespace string) (controller.Controller, error)

func MergeController

func MergeController(adargaClient *adargaclients.Clientset, replicationController *corev1.ReplicationController, namespace string, k8scli kubernetes.Clientset, logger *zap.Logger) (bool, error)

matches a PachydermPipeline pipeline object to a replicationController. returns true if the controller has an owner. If it doesnt, it will find one and join, then return true. if none is found.. most probably a manually deployed pipe, so returns false but no error raised.

Types

This section is empty.

Jump to

Keyboard shortcuts

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