redis

package
v0.0.0-...-2c1c132 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const Timeout = time.Second * 10

Timeout is the default timeout for listing object from apiserver

Variables

This section is empty.

Functions

func ReplaceClusterPatches

func ReplaceClusterPatches(cluster *clusterv3.Cluster) []*networking.EnvoyFilter_EnvoyConfigObjectPatch

ReplaceClusterPatches create a `replace` operation patch on `cluster`

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator generate redis proxy filter configuration for redis service

func New

func New(cfg *rest.Config, store istiomodel.ConfigStore) *Generator

New Generator

func (*Generator) Generate

func (g *Generator) Generate(filterContext *model.EnvoyFilterContext) (filters []*model.EnvoyFilterWrapper, err error)

Generate redis envoy filter

type HostPort

type HostPort struct {
	Host string
	Port uint32
}

HostPort represents a address with host and port.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL