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