Documentation
¶
Overview ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- func AddDeployment(userId string, deployment *models.Deployment) (*models.Deployment, error)
- func DeleteDeployment(userId string, deploymentId string) error
- func DeleteRuleChain(userId string, chainId string) error
- func GetDeployment(userId string, deploymentId string) (*models.Deployment, error)
- func GetRuleChain(userId string, chainId string) (*models.RuleChain, error)
- func GetRuleChainMetadata(userId string, chainId string) ([]byte, error)
- func ListDeployments(query models.Query) ([]*models.Deployment, error)
- func ListRuleChains(query models.Query) ([]*models.RuleChain, error)
- func SaveRuleChain(userId string, chain *models.RuleChain) error
- func SaveRuleChainMetadata(userId string, chainId string, metadata []byte) error
- func SetDeploymentStatus(userId string, deploymentId string, status string) error
- func UpdateDeployment(userId string, deployment *models.Deployment) error
- type Controller
Constants ¶
const (
SERVICE_NAME = "controller-manager"
)
Variables ¶
This section is empty.
Functions ¶
func AddDeployment ¶
func AddDeployment(userId string, deployment *models.Deployment) (*models.Deployment, error)
AddDeployment create a new deployment
func DeleteDeployment ¶
DeleteDeployment delete an existed deployment and notify peer nodes
func DeleteRuleChain ¶
Delete will delete a specified rule chain
func GetDeployment ¶
func GetDeployment(userId string, deploymentId string) (*models.Deployment, error)
GetDeploynent return a specified deployment
func GetRuleChain ¶
GetRuleChain return a specified rule chain
func GetRuleChainMetadata ¶
GetRuleChainMetadata return a chain's metadata
func ListDeployments ¶
func ListDeployments(query models.Query) ([]*models.Deployment, error)
ListDeployments return all deployments
func ListRuleChains ¶
ListRuleChains return a user's rule chains
func SaveRuleChain ¶
SaveRuleChain update an existed rule chain
func SaveRuleChainMetadata ¶
SaveRuleChainMetadata will save a rule chain's metadata
func SetDeploymentStatus ¶
SetDeploymentStatus set a deployment status according to user's request
func UpdateDeployment ¶
func UpdateDeployment(userId string, deployment *models.Deployment) error
UpdateDeployment update an existed deployment
Types ¶
type Controller ¶
Directories
¶
Path | Synopsis |
---|---|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. |
inproc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. |
rabbitmq
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. |
raft
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. |