strategy

package
v0.0.0-...-542bf9e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const PatternExcludePartition = "```EXCLUDE```"

PatternExcludePartition to separate pattern and exclude

Variables

This section is empty.

Functions

func GetAll

func GetAll() map[int64]*scheme.Strategy

GetAll to get all strategy

func GetAllStrategies

func GetAllStrategies() ([]*scheme.Strategy, error)

如果有folder,将屏蔽单个配置文件

func GetByID

func GetByID(id int64) (*scheme.Strategy, error)

GetByID to get strategy by id

func GetDeepCopyAll

func GetDeepCopyAll() map[int64]*scheme.Strategy

GetDeepCopyAll to get all strategy deep copy

func GetListAll

func GetListAll() []*scheme.Strategy

GetListAll to get all strategy

func Update

func Update() error

Update to update strategy

func UpdateGlobalStrategy

func UpdateGlobalStrategy(sts []*scheme.Strategy) error

UpdateGlobalStrategy to update strategy

Types

This section is empty.

Jump to

Keyboard shortcuts

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