Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_NAMESPACE = "default"
)
View Source
const (
REDIS_PORT_DEFAULT = 6379
)
View Source
const (
SENTINEL_PORT_DEFAULT = 26379
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisRecipient ¶
type RedisRecipient struct {
Name, Namespace, ResourceName string
PortName, SyncName string
ServicePort int
}
func NewRedisRecipient ¶
func NewRedisRecipient(name, namespace, resourceName, portName, syncPortName string, clientPort int) *RedisRecipient
func (*RedisRecipient) GenerateArtifact ¶
func (recipe *RedisRecipient) GenerateArtifact() (*apiv1.Service, error)
type SentinelRecipient ¶
type SentinelRecipient struct {
Name, Namespace string
ResourceName, PortName string
ServicePort int
}
func NewSentinelRecipient ¶
func NewSentinelRecipient(name, namespace, resourceName, portName string, port int) *SentinelRecipient
func (*SentinelRecipient) GenerateArtifact ¶
func (recipe *SentinelRecipient) GenerateArtifact() (*apiv1.Service, error)
type ServiceRecipient ¶
Click to show internal directories.
Click to hide internal directories.