grpc_rulechain_v1

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRuleChainServiceServer

func RegisterRuleChainServiceServer(s *grpc.Server, srv RuleChainServiceServer)

Types

type CheckRuleChainRequest

type CheckRuleChainRequest struct {
	RuleChain            *RuleChain `protobuf:"bytes,1,opt,name=rule_chain,json=ruleChain,proto3" json:"rule_chain,omitempty" bson:"rule_chain,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CheckRuleChainRequest) Descriptor

func (*CheckRuleChainRequest) Descriptor() ([]byte, []int)

func (*CheckRuleChainRequest) GetRuleChain

func (m *CheckRuleChainRequest) GetRuleChain() *RuleChain

func (*CheckRuleChainRequest) ProtoMessage

func (*CheckRuleChainRequest) ProtoMessage()

func (*CheckRuleChainRequest) Reset

func (m *CheckRuleChainRequest) Reset()

func (*CheckRuleChainRequest) String

func (m *CheckRuleChainRequest) String() string

func (*CheckRuleChainRequest) XXX_DiscardUnknown

func (m *CheckRuleChainRequest) XXX_DiscardUnknown()

func (*CheckRuleChainRequest) XXX_Marshal

func (m *CheckRuleChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckRuleChainRequest) XXX_Merge

func (dst *CheckRuleChainRequest) XXX_Merge(src proto.Message)

func (*CheckRuleChainRequest) XXX_Size

func (m *CheckRuleChainRequest) XXX_Size() int

func (*CheckRuleChainRequest) XXX_Unmarshal

func (m *CheckRuleChainRequest) XXX_Unmarshal(b []byte) error

type CheckRuleChainResponse

type CheckRuleChainResponse struct {
	Valid                bool     `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty" bson:"valid,omitempty"`
	Reasons              []string `protobuf:"bytes,2,rep,name=reasons,proto3" json:"reasons,omitempty" bson:"reasons,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckRuleChainResponse) Descriptor

func (*CheckRuleChainResponse) Descriptor() ([]byte, []int)

func (*CheckRuleChainResponse) GetReasons

func (m *CheckRuleChainResponse) GetReasons() []string

func (*CheckRuleChainResponse) GetValid

func (m *CheckRuleChainResponse) GetValid() bool

func (*CheckRuleChainResponse) ProtoMessage

func (*CheckRuleChainResponse) ProtoMessage()

func (*CheckRuleChainResponse) Reset

func (m *CheckRuleChainResponse) Reset()

func (*CheckRuleChainResponse) String

func (m *CheckRuleChainResponse) String() string

func (*CheckRuleChainResponse) XXX_DiscardUnknown

func (m *CheckRuleChainResponse) XXX_DiscardUnknown()

func (*CheckRuleChainResponse) XXX_Marshal

func (m *CheckRuleChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckRuleChainResponse) XXX_Merge

func (dst *CheckRuleChainResponse) XXX_Merge(src proto.Message)

func (*CheckRuleChainResponse) XXX_Size

func (m *CheckRuleChainResponse) XXX_Size() int

func (*CheckRuleChainResponse) XXX_Unmarshal

func (m *CheckRuleChainResponse) XXX_Unmarshal(b []byte) error

type CreateRuleChainRequest

type CreateRuleChainRequest struct {
	RuleChain            *RuleChain       `protobuf:"bytes,1,opt,name=rule_chain,json=ruleChain,proto3" json:"rule_chain,omitempty" bson:"rule_chain,omitempty"`
	Config               *RuleChainConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty" bson:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*CreateRuleChainRequest) Descriptor

func (*CreateRuleChainRequest) Descriptor() ([]byte, []int)

func (*CreateRuleChainRequest) GetConfig

func (m *CreateRuleChainRequest) GetConfig() *RuleChainConfig

func (*CreateRuleChainRequest) GetRuleChain

func (m *CreateRuleChainRequest) GetRuleChain() *RuleChain

func (*CreateRuleChainRequest) ProtoMessage

func (*CreateRuleChainRequest) ProtoMessage()

func (*CreateRuleChainRequest) Reset

func (m *CreateRuleChainRequest) Reset()

func (*CreateRuleChainRequest) String

func (m *CreateRuleChainRequest) String() string

func (*CreateRuleChainRequest) XXX_DiscardUnknown

func (m *CreateRuleChainRequest) XXX_DiscardUnknown()

func (*CreateRuleChainRequest) XXX_Marshal

func (m *CreateRuleChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRuleChainRequest) XXX_Merge

func (dst *CreateRuleChainRequest) XXX_Merge(src proto.Message)

func (*CreateRuleChainRequest) XXX_Size

func (m *CreateRuleChainRequest) XXX_Size() int

func (*CreateRuleChainRequest) XXX_Unmarshal

func (m *CreateRuleChainRequest) XXX_Unmarshal(b []byte) error

type CreateRuleChainResponse

type CreateRuleChainResponse struct {
	Reasons              []string `protobuf:"bytes,1,rep,name=reasons,proto3" json:"reasons,omitempty" bson:"reasons,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateRuleChainResponse) Descriptor

func (*CreateRuleChainResponse) Descriptor() ([]byte, []int)

func (*CreateRuleChainResponse) GetReasons

func (m *CreateRuleChainResponse) GetReasons() []string

func (*CreateRuleChainResponse) ProtoMessage

func (*CreateRuleChainResponse) ProtoMessage()

func (*CreateRuleChainResponse) Reset

func (m *CreateRuleChainResponse) Reset()

func (*CreateRuleChainResponse) String

func (m *CreateRuleChainResponse) String() string

func (*CreateRuleChainResponse) XXX_DiscardUnknown

func (m *CreateRuleChainResponse) XXX_DiscardUnknown()

func (*CreateRuleChainResponse) XXX_Marshal

func (m *CreateRuleChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRuleChainResponse) XXX_Merge

func (dst *CreateRuleChainResponse) XXX_Merge(src proto.Message)

func (*CreateRuleChainResponse) XXX_Size

func (m *CreateRuleChainResponse) XXX_Size() int

func (*CreateRuleChainResponse) XXX_Unmarshal

func (m *CreateRuleChainResponse) XXX_Unmarshal(b []byte) error

type DeleteRuleChainRequest

type DeleteRuleChainRequest struct {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty" bson:"userID,omitempty"`
	DomainID             string   `protobuf:"bytes,2,opt,name=domainID,proto3" json:"domainID,omitempty" bson:"domainID,omitempty"`
	RuleChainID          string   `protobuf:"bytes,3,opt,name=ruleChainID,proto3" json:"ruleChainID,omitempty" bson:"ruleChainID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete RuleChain

func (*DeleteRuleChainRequest) Descriptor

func (*DeleteRuleChainRequest) Descriptor() ([]byte, []int)

func (*DeleteRuleChainRequest) GetDomainID

func (m *DeleteRuleChainRequest) GetDomainID() string

func (*DeleteRuleChainRequest) GetRuleChainID

func (m *DeleteRuleChainRequest) GetRuleChainID() string

func (*DeleteRuleChainRequest) GetUserID

func (m *DeleteRuleChainRequest) GetUserID() string

func (*DeleteRuleChainRequest) ProtoMessage

func (*DeleteRuleChainRequest) ProtoMessage()

func (*DeleteRuleChainRequest) Reset

func (m *DeleteRuleChainRequest) Reset()

func (*DeleteRuleChainRequest) String

func (m *DeleteRuleChainRequest) String() string

func (*DeleteRuleChainRequest) XXX_DiscardUnknown

func (m *DeleteRuleChainRequest) XXX_DiscardUnknown()

func (*DeleteRuleChainRequest) XXX_Marshal

func (m *DeleteRuleChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRuleChainRequest) XXX_Merge

func (dst *DeleteRuleChainRequest) XXX_Merge(src proto.Message)

func (*DeleteRuleChainRequest) XXX_Size

func (m *DeleteRuleChainRequest) XXX_Size() int

func (*DeleteRuleChainRequest) XXX_Unmarshal

func (m *DeleteRuleChainRequest) XXX_Unmarshal(b []byte) error

type DeleteRuleChainResponse

type DeleteRuleChainResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRuleChainResponse) Descriptor

func (*DeleteRuleChainResponse) Descriptor() ([]byte, []int)

func (*DeleteRuleChainResponse) ProtoMessage

func (*DeleteRuleChainResponse) ProtoMessage()

func (*DeleteRuleChainResponse) Reset

func (m *DeleteRuleChainResponse) Reset()

func (*DeleteRuleChainResponse) String

func (m *DeleteRuleChainResponse) String() string

func (*DeleteRuleChainResponse) XXX_DiscardUnknown

func (m *DeleteRuleChainResponse) XXX_DiscardUnknown()

func (*DeleteRuleChainResponse) XXX_Marshal

func (m *DeleteRuleChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRuleChainResponse) XXX_Merge

func (dst *DeleteRuleChainResponse) XXX_Merge(src proto.Message)

func (*DeleteRuleChainResponse) XXX_Size

func (m *DeleteRuleChainResponse) XXX_Size() int

func (*DeleteRuleChainResponse) XXX_Unmarshal

func (m *DeleteRuleChainResponse) XXX_Unmarshal(b []byte) error

type GetNodeConfigsRequest

type GetNodeConfigsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetNodeConfigsRequest) Descriptor

func (*GetNodeConfigsRequest) Descriptor() ([]byte, []int)

func (*GetNodeConfigsRequest) ProtoMessage

func (*GetNodeConfigsRequest) ProtoMessage()

func (*GetNodeConfigsRequest) Reset

func (m *GetNodeConfigsRequest) Reset()

func (*GetNodeConfigsRequest) String

func (m *GetNodeConfigsRequest) String() string

func (*GetNodeConfigsRequest) XXX_DiscardUnknown

func (m *GetNodeConfigsRequest) XXX_DiscardUnknown()

func (*GetNodeConfigsRequest) XXX_Marshal

func (m *GetNodeConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNodeConfigsRequest) XXX_Merge

func (dst *GetNodeConfigsRequest) XXX_Merge(src proto.Message)

func (*GetNodeConfigsRequest) XXX_Size

func (m *GetNodeConfigsRequest) XXX_Size() int

func (*GetNodeConfigsRequest) XXX_Unmarshal

func (m *GetNodeConfigsRequest) XXX_Unmarshal(b []byte) error

type GetNodeConfigsResponse

type GetNodeConfigsResponse struct {
	NodeConfigs          []*NodeConfig `protobuf:"bytes,1,rep,name=node_configs,json=nodeConfigs,proto3" json:"node_configs,omitempty" bson:"node_configs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetNodeConfigsResponse) Descriptor

func (*GetNodeConfigsResponse) Descriptor() ([]byte, []int)

func (*GetNodeConfigsResponse) GetNodeConfigs

func (m *GetNodeConfigsResponse) GetNodeConfigs() []*NodeConfig

func (*GetNodeConfigsResponse) ProtoMessage

func (*GetNodeConfigsResponse) ProtoMessage()

func (*GetNodeConfigsResponse) Reset

func (m *GetNodeConfigsResponse) Reset()

func (*GetNodeConfigsResponse) String

func (m *GetNodeConfigsResponse) String() string

func (*GetNodeConfigsResponse) XXX_DiscardUnknown

func (m *GetNodeConfigsResponse) XXX_DiscardUnknown()

func (*GetNodeConfigsResponse) XXX_Marshal

func (m *GetNodeConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNodeConfigsResponse) XXX_Merge

func (dst *GetNodeConfigsResponse) XXX_Merge(src proto.Message)

func (*GetNodeConfigsResponse) XXX_Size

func (m *GetNodeConfigsResponse) XXX_Size() int

func (*GetNodeConfigsResponse) XXX_Unmarshal

func (m *GetNodeConfigsResponse) XXX_Unmarshal(b []byte) error

type GetRuleChainRequest

type GetRuleChainRequest struct {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty" bson:"userID,omitempty"`
	Domain               string   `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty" bson:"domain,omitempty"`
	RuleChainID          string   `protobuf:"bytes,3,opt,name=rule_chainID,json=ruleChainID,proto3" json:"rule_chainID,omitempty" bson:"rule_chainID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRuleChainRequest) Descriptor

func (*GetRuleChainRequest) Descriptor() ([]byte, []int)

func (*GetRuleChainRequest) GetDomain

func (m *GetRuleChainRequest) GetDomain() string

func (*GetRuleChainRequest) GetRuleChainID

func (m *GetRuleChainRequest) GetRuleChainID() string

func (*GetRuleChainRequest) GetUserID

func (m *GetRuleChainRequest) GetUserID() string

func (*GetRuleChainRequest) ProtoMessage

func (*GetRuleChainRequest) ProtoMessage()

func (*GetRuleChainRequest) Reset

func (m *GetRuleChainRequest) Reset()

func (*GetRuleChainRequest) String

func (m *GetRuleChainRequest) String() string

func (*GetRuleChainRequest) XXX_DiscardUnknown

func (m *GetRuleChainRequest) XXX_DiscardUnknown()

func (*GetRuleChainRequest) XXX_Marshal

func (m *GetRuleChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRuleChainRequest) XXX_Merge

func (dst *GetRuleChainRequest) XXX_Merge(src proto.Message)

func (*GetRuleChainRequest) XXX_Size

func (m *GetRuleChainRequest) XXX_Size() int

func (*GetRuleChainRequest) XXX_Unmarshal

func (m *GetRuleChainRequest) XXX_Unmarshal(b []byte) error

type GetRuleChainResponse

type GetRuleChainResponse struct {
	RuleChain            *RuleChain `protobuf:"bytes,1,opt,name=rule_chain,json=ruleChain,proto3" json:"rule_chain,omitempty" bson:"rule_chain,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GetRuleChainResponse) Descriptor

func (*GetRuleChainResponse) Descriptor() ([]byte, []int)

func (*GetRuleChainResponse) GetRuleChain

func (m *GetRuleChainResponse) GetRuleChain() *RuleChain

func (*GetRuleChainResponse) ProtoMessage

func (*GetRuleChainResponse) ProtoMessage()

func (*GetRuleChainResponse) Reset

func (m *GetRuleChainResponse) Reset()

func (*GetRuleChainResponse) String

func (m *GetRuleChainResponse) String() string

func (*GetRuleChainResponse) XXX_DiscardUnknown

func (m *GetRuleChainResponse) XXX_DiscardUnknown()

func (*GetRuleChainResponse) XXX_Marshal

func (m *GetRuleChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRuleChainResponse) XXX_Merge

func (dst *GetRuleChainResponse) XXX_Merge(src proto.Message)

func (*GetRuleChainResponse) XXX_Size

func (m *GetRuleChainResponse) XXX_Size() int

func (*GetRuleChainResponse) XXX_Unmarshal

func (m *GetRuleChainResponse) XXX_Unmarshal(b []byte) error

type GetRuleChainsRequest

type GetRuleChainsRequest struct {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty" bson:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRuleChainsRequest) Descriptor

func (*GetRuleChainsRequest) Descriptor() ([]byte, []int)

func (*GetRuleChainsRequest) GetUserID

func (m *GetRuleChainsRequest) GetUserID() string

func (*GetRuleChainsRequest) ProtoMessage

func (*GetRuleChainsRequest) ProtoMessage()

func (*GetRuleChainsRequest) Reset

func (m *GetRuleChainsRequest) Reset()

func (*GetRuleChainsRequest) String

func (m *GetRuleChainsRequest) String() string

func (*GetRuleChainsRequest) XXX_DiscardUnknown

func (m *GetRuleChainsRequest) XXX_DiscardUnknown()

func (*GetRuleChainsRequest) XXX_Marshal

func (m *GetRuleChainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRuleChainsRequest) XXX_Merge

func (dst *GetRuleChainsRequest) XXX_Merge(src proto.Message)

func (*GetRuleChainsRequest) XXX_Size

func (m *GetRuleChainsRequest) XXX_Size() int

func (*GetRuleChainsRequest) XXX_Unmarshal

func (m *GetRuleChainsRequest) XXX_Unmarshal(b []byte) error

type GetRuleChainsResponse

type GetRuleChainsResponse struct {
	RuleChains           []*RuleChain `protobuf:"bytes,1,rep,name=rule_chains,json=ruleChains,proto3" json:"rule_chains,omitempty" bson:"rule_chains,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetRuleChainsResponse) Descriptor

func (*GetRuleChainsResponse) Descriptor() ([]byte, []int)

func (*GetRuleChainsResponse) GetRuleChains

func (m *GetRuleChainsResponse) GetRuleChains() []*RuleChain

func (*GetRuleChainsResponse) ProtoMessage

func (*GetRuleChainsResponse) ProtoMessage()

func (*GetRuleChainsResponse) Reset

func (m *GetRuleChainsResponse) Reset()

func (*GetRuleChainsResponse) String

func (m *GetRuleChainsResponse) String() string

func (*GetRuleChainsResponse) XXX_DiscardUnknown

func (m *GetRuleChainsResponse) XXX_DiscardUnknown()

func (*GetRuleChainsResponse) XXX_Marshal

func (m *GetRuleChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRuleChainsResponse) XXX_Merge

func (dst *GetRuleChainsResponse) XXX_Merge(src proto.Message)

func (*GetRuleChainsResponse) XXX_Size

func (m *GetRuleChainsResponse) XXX_Size() int

func (*GetRuleChainsResponse) XXX_Unmarshal

func (m *GetRuleChainsResponse) XXX_Unmarshal(b []byte) error

type NodeConfig

type NodeConfig struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" bson:"type,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty" bson:"category,omitempty"`
	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty" bson:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Node Configs

func (*NodeConfig) Descriptor

func (*NodeConfig) Descriptor() ([]byte, []int)

func (*NodeConfig) GetCategory

func (m *NodeConfig) GetCategory() string

func (*NodeConfig) GetPayload

func (m *NodeConfig) GetPayload() []byte

func (*NodeConfig) GetType

func (m *NodeConfig) GetType() string

func (*NodeConfig) ProtoMessage

func (*NodeConfig) ProtoMessage()

func (*NodeConfig) Reset

func (m *NodeConfig) Reset()

func (*NodeConfig) String

func (m *NodeConfig) String() string

func (*NodeConfig) XXX_DiscardUnknown

func (m *NodeConfig) XXX_DiscardUnknown()

func (*NodeConfig) XXX_Marshal

func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeConfig) XXX_Merge

func (dst *NodeConfig) XXX_Merge(src proto.Message)

func (*NodeConfig) XXX_Size

func (m *NodeConfig) XXX_Size() int

func (*NodeConfig) XXX_Unmarshal

func (m *NodeConfig) XXX_Unmarshal(b []byte) error

type RuleChain

type RuleChain struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" bson:"name,omitempty"`
	ID                   string   `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty" bson:"ID,omitempty"`
	UserID               string   `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty" bson:"userID,omitempty"`
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty" bson:"type,omitempty"`
	Domain               string   `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty" bson:"domain,omitempty"`
	Payload              []byte   `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty" bson:"payload,omitempty"`
	Status               string   `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty" bson:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RuleChain) Descriptor

func (*RuleChain) Descriptor() ([]byte, []int)

func (*RuleChain) GetDomain

func (m *RuleChain) GetDomain() string

func (*RuleChain) GetID

func (m *RuleChain) GetID() string

func (*RuleChain) GetName

func (m *RuleChain) GetName() string

func (*RuleChain) GetPayload

func (m *RuleChain) GetPayload() []byte

func (*RuleChain) GetStatus

func (m *RuleChain) GetStatus() string

func (*RuleChain) GetType

func (m *RuleChain) GetType() string

func (*RuleChain) GetUserID

func (m *RuleChain) GetUserID() string

func (*RuleChain) ProtoMessage

func (*RuleChain) ProtoMessage()

func (*RuleChain) Reset

func (m *RuleChain) Reset()

func (*RuleChain) String

func (m *RuleChain) String() string

func (*RuleChain) XXX_DiscardUnknown

func (m *RuleChain) XXX_DiscardUnknown()

func (*RuleChain) XXX_Marshal

func (m *RuleChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleChain) XXX_Merge

func (dst *RuleChain) XXX_Merge(src proto.Message)

func (*RuleChain) XXX_Size

func (m *RuleChain) XXX_Size() int

func (*RuleChain) XXX_Unmarshal

func (m *RuleChain) XXX_Unmarshal(b []byte) error

type RuleChainConfig

type RuleChainConfig struct {
	EndpointURL          string   `protobuf:"bytes,1,opt,name=endpointURL,proto3" json:"endpointURL,omitempty" bson:"endpointURL,omitempty"`
	Port                 string   `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty" bson:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RuleChainConfig) Descriptor

func (*RuleChainConfig) Descriptor() ([]byte, []int)

func (*RuleChainConfig) GetEndpointURL

func (m *RuleChainConfig) GetEndpointURL() string

func (*RuleChainConfig) GetPort

func (m *RuleChainConfig) GetPort() string

func (*RuleChainConfig) ProtoMessage

func (*RuleChainConfig) ProtoMessage()

func (*RuleChainConfig) Reset

func (m *RuleChainConfig) Reset()

func (*RuleChainConfig) String

func (m *RuleChainConfig) String() string

func (*RuleChainConfig) XXX_DiscardUnknown

func (m *RuleChainConfig) XXX_DiscardUnknown()

func (*RuleChainConfig) XXX_Marshal

func (m *RuleChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleChainConfig) XXX_Merge

func (dst *RuleChainConfig) XXX_Merge(src proto.Message)

func (*RuleChainConfig) XXX_Size

func (m *RuleChainConfig) XXX_Size() int

func (*RuleChainConfig) XXX_Unmarshal

func (m *RuleChainConfig) XXX_Unmarshal(b []byte) error

type RuleChainServiceClient

type RuleChainServiceClient interface {
	// RuleChain
	CheckRuleChain(ctx context.Context, in *CheckRuleChainRequest, opts ...grpc.CallOption) (*CheckRuleChainResponse, error)
	CreateRuleChain(ctx context.Context, in *CreateRuleChainRequest, opts ...grpc.CallOption) (*CreateRuleChainResponse, error)
	DeleteRuleChain(ctx context.Context, in *DeleteRuleChainRequest, opts ...grpc.CallOption) (*DeleteRuleChainResponse, error)
	UpdateRuleChain(ctx context.Context, in *UpdateRuleChainRequest, opts ...grpc.CallOption) (*UpdateRuleChainResponse, error)
	GetRuleChain(ctx context.Context, in *GetRuleChainRequest, opts ...grpc.CallOption) (*GetRuleChainResponse, error)
	GetRuleChains(ctx context.Context, in *GetRuleChainsRequest, opts ...grpc.CallOption) (*GetRuleChainsResponse, error)
	StartRuleChain(ctx context.Context, in *StartRuleChainRequest, opts ...grpc.CallOption) (*StartRuleChainResponse, error)
	StopRuleChain(ctx context.Context, in *StopRuleChainRequest, opts ...grpc.CallOption) (*StopRuleChainResponse, error)
	// RuleChain Node Configs
	GetNodeConfigs(ctx context.Context, in *GetNodeConfigsRequest, opts ...grpc.CallOption) (*GetNodeConfigsResponse, error)
}

RuleChainServiceClient is the client API for RuleChainService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRuleChainServiceClient

func NewRuleChainServiceClient(cc *grpc.ClientConn) RuleChainServiceClient

type RuleChainServiceServer

RuleChainServiceServer is the server API for RuleChainService service.

type StartRuleChainRequest

type StartRuleChainRequest struct {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty" bson:"userID,omitempty"`
	RuleChainID          string   `protobuf:"bytes,2,opt,name=rule_chainID,json=ruleChainID,proto3" json:"rule_chainID,omitempty" bson:"rule_chainID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartRuleChainRequest) Descriptor

func (*StartRuleChainRequest) Descriptor() ([]byte, []int)

func (*StartRuleChainRequest) GetRuleChainID

func (m *StartRuleChainRequest) GetRuleChainID() string

func (*StartRuleChainRequest) GetUserID

func (m *StartRuleChainRequest) GetUserID() string

func (*StartRuleChainRequest) ProtoMessage

func (*StartRuleChainRequest) ProtoMessage()

func (*StartRuleChainRequest) Reset

func (m *StartRuleChainRequest) Reset()

func (*StartRuleChainRequest) String

func (m *StartRuleChainRequest) String() string

func (*StartRuleChainRequest) XXX_DiscardUnknown

func (m *StartRuleChainRequest) XXX_DiscardUnknown()

func (*StartRuleChainRequest) XXX_Marshal

func (m *StartRuleChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRuleChainRequest) XXX_Merge

func (dst *StartRuleChainRequest) XXX_Merge(src proto.Message)

func (*StartRuleChainRequest) XXX_Size

func (m *StartRuleChainRequest) XXX_Size() int

func (*StartRuleChainRequest) XXX_Unmarshal

func (m *StartRuleChainRequest) XXX_Unmarshal(b []byte) error

type StartRuleChainResponse

type StartRuleChainResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartRuleChainResponse) Descriptor

func (*StartRuleChainResponse) Descriptor() ([]byte, []int)

func (*StartRuleChainResponse) ProtoMessage

func (*StartRuleChainResponse) ProtoMessage()

func (*StartRuleChainResponse) Reset

func (m *StartRuleChainResponse) Reset()

func (*StartRuleChainResponse) String

func (m *StartRuleChainResponse) String() string

func (*StartRuleChainResponse) XXX_DiscardUnknown

func (m *StartRuleChainResponse) XXX_DiscardUnknown()

func (*StartRuleChainResponse) XXX_Marshal

func (m *StartRuleChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRuleChainResponse) XXX_Merge

func (dst *StartRuleChainResponse) XXX_Merge(src proto.Message)

func (*StartRuleChainResponse) XXX_Size

func (m *StartRuleChainResponse) XXX_Size() int

func (*StartRuleChainResponse) XXX_Unmarshal

func (m *StartRuleChainResponse) XXX_Unmarshal(b []byte) error

type StopRuleChainRequest

type StopRuleChainRequest struct {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty" bson:"userID,omitempty"`
	RuleChainID          string   `protobuf:"bytes,2,opt,name=rule_chainID,json=ruleChainID,proto3" json:"rule_chainID,omitempty" bson:"rule_chainID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopRuleChainRequest) Descriptor

func (*StopRuleChainRequest) Descriptor() ([]byte, []int)

func (*StopRuleChainRequest) GetRuleChainID

func (m *StopRuleChainRequest) GetRuleChainID() string

func (*StopRuleChainRequest) GetUserID

func (m *StopRuleChainRequest) GetUserID() string

func (*StopRuleChainRequest) ProtoMessage

func (*StopRuleChainRequest) ProtoMessage()

func (*StopRuleChainRequest) Reset

func (m *StopRuleChainRequest) Reset()

func (*StopRuleChainRequest) String

func (m *StopRuleChainRequest) String() string

func (*StopRuleChainRequest) XXX_DiscardUnknown

func (m *StopRuleChainRequest) XXX_DiscardUnknown()

func (*StopRuleChainRequest) XXX_Marshal

func (m *StopRuleChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopRuleChainRequest) XXX_Merge

func (dst *StopRuleChainRequest) XXX_Merge(src proto.Message)

func (*StopRuleChainRequest) XXX_Size

func (m *StopRuleChainRequest) XXX_Size() int

func (*StopRuleChainRequest) XXX_Unmarshal

func (m *StopRuleChainRequest) XXX_Unmarshal(b []byte) error

type StopRuleChainResponse

type StopRuleChainResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopRuleChainResponse) Descriptor

func (*StopRuleChainResponse) Descriptor() ([]byte, []int)

func (*StopRuleChainResponse) ProtoMessage

func (*StopRuleChainResponse) ProtoMessage()

func (*StopRuleChainResponse) Reset

func (m *StopRuleChainResponse) Reset()

func (*StopRuleChainResponse) String

func (m *StopRuleChainResponse) String() string

func (*StopRuleChainResponse) XXX_DiscardUnknown

func (m *StopRuleChainResponse) XXX_DiscardUnknown()

func (*StopRuleChainResponse) XXX_Marshal

func (m *StopRuleChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopRuleChainResponse) XXX_Merge

func (dst *StopRuleChainResponse) XXX_Merge(src proto.Message)

func (*StopRuleChainResponse) XXX_Size

func (m *StopRuleChainResponse) XXX_Size() int

func (*StopRuleChainResponse) XXX_Unmarshal

func (m *StopRuleChainResponse) XXX_Unmarshal(b []byte) error

type UpdateRuleChainRequest

type UpdateRuleChainRequest struct {
	RuleChain            *RuleChain `protobuf:"bytes,1,opt,name=ruleChain,proto3" json:"ruleChain,omitempty" bson:"ruleChain,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Update RuleChain

func (*UpdateRuleChainRequest) Descriptor

func (*UpdateRuleChainRequest) Descriptor() ([]byte, []int)

func (*UpdateRuleChainRequest) GetRuleChain

func (m *UpdateRuleChainRequest) GetRuleChain() *RuleChain

func (*UpdateRuleChainRequest) ProtoMessage

func (*UpdateRuleChainRequest) ProtoMessage()

func (*UpdateRuleChainRequest) Reset

func (m *UpdateRuleChainRequest) Reset()

func (*UpdateRuleChainRequest) String

func (m *UpdateRuleChainRequest) String() string

func (*UpdateRuleChainRequest) XXX_DiscardUnknown

func (m *UpdateRuleChainRequest) XXX_DiscardUnknown()

func (*UpdateRuleChainRequest) XXX_Marshal

func (m *UpdateRuleChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRuleChainRequest) XXX_Merge

func (dst *UpdateRuleChainRequest) XXX_Merge(src proto.Message)

func (*UpdateRuleChainRequest) XXX_Size

func (m *UpdateRuleChainRequest) XXX_Size() int

func (*UpdateRuleChainRequest) XXX_Unmarshal

func (m *UpdateRuleChainRequest) XXX_Unmarshal(b []byte) error

type UpdateRuleChainResponse

type UpdateRuleChainResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateRuleChainResponse) Descriptor

func (*UpdateRuleChainResponse) Descriptor() ([]byte, []int)

func (*UpdateRuleChainResponse) ProtoMessage

func (*UpdateRuleChainResponse) ProtoMessage()

func (*UpdateRuleChainResponse) Reset

func (m *UpdateRuleChainResponse) Reset()

func (*UpdateRuleChainResponse) String

func (m *UpdateRuleChainResponse) String() string

func (*UpdateRuleChainResponse) XXX_DiscardUnknown

func (m *UpdateRuleChainResponse) XXX_DiscardUnknown()

func (*UpdateRuleChainResponse) XXX_Marshal

func (m *UpdateRuleChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRuleChainResponse) XXX_Merge

func (dst *UpdateRuleChainResponse) XXX_Merge(src proto.Message)

func (*UpdateRuleChainResponse) XXX_Size

func (m *UpdateRuleChainResponse) XXX_Size() int

func (*UpdateRuleChainResponse) XXX_Unmarshal

func (m *UpdateRuleChainResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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