cluster

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: Apache-2.0 Imports: 24 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

func New

func New(config Config, cl *spec.NatsCluster, stopC <-chan struct{}, wg *sync.WaitGroup) *Cluster

func (*Cluster) Delete

func (c *Cluster) Delete()

func (*Cluster) Update

func (c *Cluster) Update(cl *spec.NatsCluster)

type Config

type Config struct {
	ServiceAccount string
	KubeCli        corev1client.CoreV1Interface
	OperatorCli    natsalphav2client.PkgSpecInterface
}

type Status

type Status struct {
	CurrentVersion string `json:"currentVersion"`
	TargetVersion  string `json:"targetVersion"`
}

Jump to

Keyboard shortcuts

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