Documentation ¶
Index ¶
Constants ¶
View Source
const ( HealthPoolName string = "health" HealthBindAddress string = "127.0.0.1:22333" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { generators.BaseOptionsV2 Spec saasv1alpha1.TwemproxyConfigSpec // contains filtered or unexported fields }
Generator configures the generators for Sentinel
func NewGenerator ¶
func NewGenerator(ctx context.Context, instance *saasv1alpha1.TwemproxyConfig, cl client.Client, pool *server.ServerPool, log logr.Logger) (Generator, error)
NewGenerator returns a new Options struct
func (*Generator) GetTargets ¶
func (*Generator) GrafanaDashboard ¶
func (gen *Generator) GrafanaDashboard() *resource.Template[*grafanav1beta1.GrafanaDashboard]
Click to show internal directories.
Click to hide internal directories.