redis

package
v0.0.0-...-52063fc Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Timeout is the default timeout for list object from apiserver
	Timeout = time.Second * 10
)

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