deploy

package
v0.0.0-...-fc21188 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SENTINEL_PORT_DEFAULT = 26379
	DEFAULT_NAMESPACE     = "default"
	DEFAULT_IMAGE         = "docker.io/redis:4.0-alpine"
	DEFAULT_QUORUM        = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SentinelRecipient

type SentinelRecipient struct {
	Name, Namespace          string
	ProvisioningName         string
	Image, PortName          string
	Replications, ClientPort int
	Quorum                   uint8
}

func NewSentinelRecipient

func NewSentinelRecipient(name, namespace, resourceProvision string, quorum int) *SentinelRecipient

func (*SentinelRecipient) GenerateArtifact

func (recipe *SentinelRecipient) GenerateArtifact() (*v1beta2.Deployment, error)

Jump to

Keyboard shortcuts

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