client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DockerSocket = util.StrOr(os.Getenv("DOCKER_SOCKET"), "unix:///var/run/docker.sock")

DockerSocket TODO: add to Helm chart

View Source
var (
	HealthNameCastToPod = "CAST_TO_POD"
)
View Source
var HealthNameDockerPull = "DOCKER_PULL"

Functions

func ConnectToDocker added in v0.9.3

func ConnectToDocker() func(next string)

func FileStrOrPanic added in v0.9.3

func FileStrOrPanic(path string) (str string)

Types

type K8sClient

type K8sClient struct {
	// contains filtered or unexported fields
}

func ConnectToKubernetesAPI added in v0.9.3

func ConnectToKubernetesAPI() *K8sClient

func (*K8sClient) WatchImages

func (cl *K8sClient) WatchImages(namespaces chan string, nsIgnore []string) chan string

type PubSub

type PubSub struct {
	// contains filtered or unexported fields
}

func ConnectToNATs added in v0.9.3

func ConnectToNATs() *PubSub

func (*PubSub) Close

func (p *PubSub) Close()

func (*PubSub) Publish

func (p *PubSub) Publish(image string)

func (*PubSub) Subscribe

func (p *PubSub) Subscribe(handler func(image string))

Jump to

Keyboard shortcuts

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