service

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelNamespace

func DelNamespace(name string, cfg *models.CCConfig) error

DelNamespace delete namespace

func ListNamespace added in v1.0.1

func ListNamespace(cfg *models.CCConfig) ([]string, error)

ListNamespace return names of all namespace

func ModifyNamespace

func ModifyNamespace(namespace *models.Namespace, cfg *models.CCConfig) (err error)

ModifyNamespace create or modify namespace

func ProxyConfigFingerprint

func ProxyConfigFingerprint(cfg *models.CCConfig) (r map[string]string, err error)

ProxyConfigFingerprint return fingerprints of all proxy

func QueryNamespace

func QueryNamespace(names []string, cfg *models.CCConfig) (data []*models.Namespace, err error)

QueryNamespace return information of namespace specified by names

func SQLFingerprint

func SQLFingerprint(name string, cfg *models.CCConfig) (slowSQLs, errSQLs map[string]string, err error)

SQLFingerprint return sql fingerprints of all proxy

Types

This section is empty.

Jump to

Keyboard shortcuts

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