Documentation ¶
Index ¶
- Constants
- func BRCreate(key, value, configType string) error
- func BRGetMethodList(resourceId string, unpublished bool) ([]string, []string, error)
- func BRGetPluginGroupList(unpublished bool) ([]string, []string, error)
- func BRGetResourceList(unpublished bool) ([]string, []string, error)
- func BRUpdate(key, value string) error
- func BizBatchCreateResourceMethod(resourceId string, methods []fc.Method, unpublished bool) error
- func BizCreateCluster(res *fc.Cluster) error
- func BizCreateListener(res *fc.Listener) error
- func BizDeleteCluster(id string) error
- func BizDeleteListener(name string) error
- func BizDeleteMethodInfo(resourceId string, methodId string, unpublished bool) error
- func BizDeleteResourceInfo(id string, unpublished bool) error
- func BizGetBaseInfo() (*config.BaseInfo, error)
- func BizGetCluster(id string) (string, error)
- func BizGetClusters() ([]fc.Cluster, error)
- func BizGetListener(name string) (string, error)
- func BizGetListeners() ([]fc.Listener, error)
- func BizGetMethodDetail(resourceId string, methodId string, unpublished bool) (string, error)
- func BizGetMethodList(resourceId string, unpublished bool) ([]fc.Method, error)
- func BizGetResourceDetail(id string, unpublished bool) (string, error)
- func BizGetResourceList(unpublished bool) ([]fc.Resource, error)
- func BizSetBaseInfo(info *config.BaseInfo, created bool) error
- func BizSetResourceInfo(res *fc.Resource, created, unpublished bool) error
- func BizSetResourceMethod(resourceId string, method *fc.Method, created, unpublished bool) error
- func BizUpdateCluster(res *fc.Cluster) error
- func BizUpdateListener(res *fc.Listener) error
Constants ¶
const ( Base = "base" Resources = "resources" Method = "method" ResourceID = "resourceId" ClusterID = "clusterId" Listener = "listener" MethodID = "methodId" PluginGroup = "pluginGroup" Plugin = "plugin" Filter = "filter" Ratelimit = "ratelimit" Clusters = "clusters" Listeners = "listeners" Unpublished = "unpublished" ErrID = -1 )
Variables ¶
This section is empty.
Functions ¶
func BRGetMethodList ¶
BRGetMethodList GetMethodList
func BRGetPluginGroupList ¶
BRGetPluginGroupList GetPluginGroupList
func BRGetResourceList ¶
BRGetResourceList GetResourceList
func BizBatchCreateResourceMethod ¶
BizBatchCreateResourceMethod batch create method below one resource
func BizCreateCluster ¶
BizCreateCluster create cluster
func BizCreateListener ¶
BizCreateListener create Listener
func BizDeleteListener ¶
BizDeleteListener delete Listener
func BizDeleteMethodInfo ¶
BizDeleteMethodInfo delete method
func BizDeleteResourceInfo ¶
BizDeleteResourceInfo delete resource
func BizGetMethodDetail ¶
BizGetMethodDetail get method detail
func BizGetMethodList ¶
BizGetMethodList get method list
func BizGetResourceDetail ¶
BizGetResourceDetail get resource detail
func BizGetResourceList ¶
BizGetResourceList get resource list
func BizSetBaseInfo ¶
BizSetBaseInfo create or modify base info
func BizSetResourceInfo ¶
BizSetResourceInfo create resource
func BizSetResourceMethod ¶
BizSetResourceMethod create or update method below specific path
func BizUpdateCluster ¶
BizUpdateCluster create cluster
func BizUpdateListener ¶
BizUpdateListener create Listener
Types ¶
This section is empty.