Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { generators.BaseOptionsV2 Spec saasv1alpha1.SentinelSpec Options pod.Options }
Generator configures the generators for Sentinel
func NewGenerator ¶
func NewGenerator(instance, namespace string, spec saasv1alpha1.SentinelSpec) Generator
NewGenerator returns a new Options struct
func (*Generator) ClusterTopology ¶
func (*Generator) PodServiceName ¶
PodServiceName generates the name of the pod specific Service
func (*Generator) Resources ¶
func (gen *Generator) Resources() []resource.TemplateInterface
Resources returns a list of templates
func (*Generator) SentinelURIs ¶
SentinelEndpoints returns the list of redis URLs of all the sentinels These URLs point to the Pod specific Service of each sentinel Pod
Click to show internal directories.
Click to hide internal directories.