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)
Click to show internal directories.
Click to hide internal directories.