rulechain

package
v0.0.0-...-7077701 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

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.

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.

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

This section is empty.

Variables

This section is empty.

Functions

func DumpAllAdaptors

func DumpAllAdaptors()

DumpAllAdaptors dump all adaptors

func GetFactories

func GetFactories() []string

GetFactories return all adaptor factories name

func NewAdaptor

func NewAdaptor(adaptorOptions *adaptors.AdaptorOptions) (adaptors.Adaptor, error)

NewAdaptor create a new adaptor with specified options

func RegisterAdaptor

func RegisterAdaptor(name string, factory adaptors.AdaptorFactory)

RegisterAdaptor register new adaptor facotory

Types

type RuleChainService

type RuleChainService struct {
	// contains filtered or unexported fields
}

RuleChainService implement all rulechain interface

func NewRuleChainService

func NewRuleChainService(servingOptions *options.ServingOptions) *RuleChainService

NewRuleChainService return rulechain service object

func (*RuleChainService) CheckRuleChain

func (s *RuleChainService) CheckRuleChain(ctx context.Context, in *pb.CheckRuleChainRequest) (*pb.CheckRuleChainResponse, error)

CheckRuleChain check wether the rule chain is valid

func (*RuleChainService) CreateRuleChain

func (s *RuleChainService) CreateRuleChain(ctx context.Context, in *pb.CreateRuleChainRequest) (*pb.CreateRuleChainResponse, error)

CreateRuleChain add a new rulechain into repository

func (*RuleChainService) DeleteRuleChain

func (s *RuleChainService) DeleteRuleChain(ctx context.Context, in *pb.DeleteRuleChainRequest) (*pb.DeleteRuleChainResponse, error)

DeleteRuleChain remove a rulechain from rulechain service In the cluster environmnent, the peer nodes should be notified

func (*RuleChainService) GetNodeConfigs

func (s *RuleChainService) GetNodeConfigs(ctx context.Context, in *pb.GetNodeConfigsRequest) (*pb.GetNodeConfigsResponse, error)

GetNodeConfigs return all nodes' configs

func (*RuleChainService) GetRuleChain

func (s *RuleChainService) GetRuleChain(ctx context.Context, in *pb.GetRuleChainRequest) (*pb.GetRuleChainResponse, error)

GetRuleChian return specified rulechain

func (*RuleChainService) GetRuleChains

func (s *RuleChainService) GetRuleChains(ctx context.Context, in *pb.GetRuleChainsRequest) (*pb.GetRuleChainsResponse, error)

GetRuleChains returns user's all rulechain informations

func (*RuleChainService) StartRuleChain

func (s *RuleChainService) StartRuleChain(ctx context.Context, in *pb.StartRuleChainRequest) (*pb.StartRuleChainResponse, error)

StartRuleChain start a rule chain to receive incoming data

func (*RuleChainService) StopRuleChain

func (s *RuleChainService) StopRuleChain(ctx context.Context, in *pb.StopRuleChainRequest) (*pb.StopRuleChainResponse, error)

StopRuleChain stop a rule chain to receive incoming data

func (*RuleChainService) UpdateRuleChain

func (s *RuleChainService) UpdateRuleChain(ctx context.Context, in *pb.UpdateRuleChainRequest) (*pb.UpdateRuleChainResponse, error)

UpdateRuleChain update an existed rule chain

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.
amqp
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.
grpc
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.
http
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.
mqtt
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.
websocket
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.
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.
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.

Jump to

Keyboard shortcuts

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