sts

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 (
	DEFAULT_NAMESPACE  = "default"
	DEFAULT_IMAGE      = "docker.io/redis:4.0-alpine"
	REDIS_PORT_DEFAULT = 6379
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisRecipient

type RedisRecipient struct {
	Name, Namespace               string
	ProvisioningName, ServiceName string
	Image, PortName, SyncName     string
	Replications, ClientPort      int
}

func NewRedisRecipient

func NewRedisRecipient(name, namespace, resourceProvision, serviceName string, slaves int) *RedisRecipient

func (*RedisRecipient) GenerateArtifact

func (recipe *RedisRecipient) GenerateArtifact() (*v1beta2.StatefulSet, error)

Jump to

Keyboard shortcuts

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