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 Image saasv1alpha1.ImageSpec MasterIndex int32 Replicas int32 Command string }
Generator configures the generators for RedisShard
func NewGenerator ¶
func NewGenerator(instance, namespace string, spec saasv1alpha1.RedisShardSpec) Generator
NewGenerator returns a new Options struct
func (*Generator) GetSelector ¶
Override the GetSelector function as it needs to be different in this case because there can be more than one redis-shard instance in the same namespace
func (*Generator) Resources ¶
func (gen *Generator) Resources() []resource.TemplateInterface
Resources returns the list of templates
func (*Generator) ServiceName ¶
Returns the name of the StatefulSet headless Service
Click to show internal directories.
Click to hide internal directories.