Documentation ¶
Index ¶
- Variables
- type AddNodeRequest
- func (*AddNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNodeRequest) GetAddress() string
- func (x *AddNodeRequest) GetId() string
- func (*AddNodeRequest) ProtoMessage()
- func (x *AddNodeRequest) ProtoReflect() protoreflect.Message
- func (x *AddNodeRequest) Reset()
- func (x *AddNodeRequest) String() string
- type AddPoliciesRequest
- func (*AddPoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddPoliciesRequest) GetPType() string
- func (x *AddPoliciesRequest) GetRules() []*StringArray
- func (x *AddPoliciesRequest) GetSec() string
- func (*AddPoliciesRequest) ProtoMessage()
- func (x *AddPoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *AddPoliciesRequest) Reset()
- func (x *AddPoliciesRequest) String() string
- type Command
- type Command_Type
- func (Command_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Command_Type) Enum() *Command_Type
- func (Command_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Command_Type) Number() protoreflect.EnumNumber
- func (x Command_Type) String() string
- func (Command_Type) Type() protoreflect.EnumType
- type RemoveFilteredPolicyRequest
- func (*RemoveFilteredPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFilteredPolicyRequest) GetFieldIndex() int32
- func (x *RemoveFilteredPolicyRequest) GetFieldValues() []string
- func (x *RemoveFilteredPolicyRequest) GetPType() string
- func (x *RemoveFilteredPolicyRequest) GetSec() string
- func (*RemoveFilteredPolicyRequest) ProtoMessage()
- func (x *RemoveFilteredPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFilteredPolicyRequest) Reset()
- func (x *RemoveFilteredPolicyRequest) String() string
- type RemoveNodeRequest
- type RemovePoliciesRequest
- func (*RemovePoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePoliciesRequest) GetPType() string
- func (x *RemovePoliciesRequest) GetRules() []*StringArray
- func (x *RemovePoliciesRequest) GetSec() string
- func (*RemovePoliciesRequest) ProtoMessage()
- func (x *RemovePoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePoliciesRequest) Reset()
- func (x *RemovePoliciesRequest) String() string
- type StringArray
- type UpdatePoliciesRequest
- func (*UpdatePoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePoliciesRequest) GetNewRules() []*StringArray
- func (x *UpdatePoliciesRequest) GetOldRules() []*StringArray
- func (x *UpdatePoliciesRequest) GetPType() string
- func (x *UpdatePoliciesRequest) GetSec() string
- func (*UpdatePoliciesRequest) ProtoMessage()
- func (x *UpdatePoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePoliciesRequest) Reset()
- func (x *UpdatePoliciesRequest) String() string
- type UpdatePolicyRequest
- func (*UpdatePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicyRequest) GetNewRule() []string
- func (x *UpdatePolicyRequest) GetOldRule() []string
- func (x *UpdatePolicyRequest) GetPType() string
- func (x *UpdatePolicyRequest) GetSec() string
- func (*UpdatePolicyRequest) ProtoMessage()
- func (x *UpdatePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicyRequest) Reset()
- func (x *UpdatePolicyRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Command_Type_name = map[int32]string{ 0: "COMMAND_TYPE_ADD_POLICIES", 1: "COMMAND_TYPE_REMOVE_POLICIES", 2: "COMMAND_TYPE_REMOVE_FILTERED_POLICY", 3: "COMMAND_TYPE_UPDATE_POLICY", 4: "COMMAND_TYPE_UPDATE_POLICIES", 5: "COMMAND_TYPE_CLEAR_POLICY", } Command_Type_value = map[string]int32{ "COMMAND_TYPE_ADD_POLICIES": 0, "COMMAND_TYPE_REMOVE_POLICIES": 1, "COMMAND_TYPE_REMOVE_FILTERED_POLICY": 2, "COMMAND_TYPE_UPDATE_POLICY": 3, "COMMAND_TYPE_UPDATE_POLICIES": 4, "COMMAND_TYPE_CLEAR_POLICY": 5, } )
Enum value maps for Command_Type.
View Source
var File_command_command_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddNodeRequest ¶
type AddNodeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AddNodeRequest) Descriptor
deprecated
func (*AddNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeRequest.ProtoReflect.Descriptor instead.
func (*AddNodeRequest) GetAddress ¶
func (x *AddNodeRequest) GetAddress() string
func (*AddNodeRequest) GetId ¶
func (x *AddNodeRequest) GetId() string
func (*AddNodeRequest) ProtoMessage ¶
func (*AddNodeRequest) ProtoMessage()
func (*AddNodeRequest) ProtoReflect ¶
func (x *AddNodeRequest) ProtoReflect() protoreflect.Message
func (*AddNodeRequest) Reset ¶
func (x *AddNodeRequest) Reset()
func (*AddNodeRequest) String ¶
func (x *AddNodeRequest) String() string
type AddPoliciesRequest ¶
type AddPoliciesRequest struct { Sec string `protobuf:"bytes,1,opt,name=sec,proto3" json:"sec,omitempty"` PType string `protobuf:"bytes,2,opt,name=pType,proto3" json:"pType,omitempty"` Rules []*StringArray `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
func (*AddPoliciesRequest) Descriptor
deprecated
func (*AddPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddPoliciesRequest.ProtoReflect.Descriptor instead.
func (*AddPoliciesRequest) GetPType ¶
func (x *AddPoliciesRequest) GetPType() string
func (*AddPoliciesRequest) GetRules ¶
func (x *AddPoliciesRequest) GetRules() []*StringArray
func (*AddPoliciesRequest) GetSec ¶
func (x *AddPoliciesRequest) GetSec() string
func (*AddPoliciesRequest) ProtoMessage ¶
func (*AddPoliciesRequest) ProtoMessage()
func (*AddPoliciesRequest) ProtoReflect ¶
func (x *AddPoliciesRequest) ProtoReflect() protoreflect.Message
func (*AddPoliciesRequest) Reset ¶
func (x *AddPoliciesRequest) Reset()
func (*AddPoliciesRequest) String ¶
func (x *AddPoliciesRequest) String() string
type Command ¶
type Command struct { Type Command_Type `protobuf:"varint,1,opt,name=type,proto3,enum=command.Command_Type" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetType ¶
func (x *Command) GetType() Command_Type
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type Command_Type ¶
type Command_Type int32
const ( Command_COMMAND_TYPE_ADD_POLICIES Command_Type = 0 Command_COMMAND_TYPE_REMOVE_POLICIES Command_Type = 1 Command_COMMAND_TYPE_REMOVE_FILTERED_POLICY Command_Type = 2 Command_COMMAND_TYPE_UPDATE_POLICY Command_Type = 3 Command_COMMAND_TYPE_UPDATE_POLICIES Command_Type = 4 Command_COMMAND_TYPE_CLEAR_POLICY Command_Type = 5 )
func (Command_Type) Descriptor ¶
func (Command_Type) Descriptor() protoreflect.EnumDescriptor
func (Command_Type) Enum ¶
func (x Command_Type) Enum() *Command_Type
func (Command_Type) EnumDescriptor
deprecated
func (Command_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Command_Type.Descriptor instead.
func (Command_Type) Number ¶
func (x Command_Type) Number() protoreflect.EnumNumber
func (Command_Type) String ¶
func (x Command_Type) String() string
func (Command_Type) Type ¶
func (Command_Type) Type() protoreflect.EnumType
type RemoveFilteredPolicyRequest ¶
type RemoveFilteredPolicyRequest struct { Sec string `protobuf:"bytes,1,opt,name=sec,proto3" json:"sec,omitempty"` PType string `protobuf:"bytes,2,opt,name=pType,proto3" json:"pType,omitempty"` FieldIndex int32 `protobuf:"varint,3,opt,name=fieldIndex,proto3" json:"fieldIndex,omitempty"` FieldValues []string `protobuf:"bytes,4,rep,name=fieldValues,proto3" json:"fieldValues,omitempty"` // contains filtered or unexported fields }
func (*RemoveFilteredPolicyRequest) Descriptor
deprecated
func (*RemoveFilteredPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFilteredPolicyRequest.ProtoReflect.Descriptor instead.
func (*RemoveFilteredPolicyRequest) GetFieldIndex ¶
func (x *RemoveFilteredPolicyRequest) GetFieldIndex() int32
func (*RemoveFilteredPolicyRequest) GetFieldValues ¶
func (x *RemoveFilteredPolicyRequest) GetFieldValues() []string
func (*RemoveFilteredPolicyRequest) GetPType ¶
func (x *RemoveFilteredPolicyRequest) GetPType() string
func (*RemoveFilteredPolicyRequest) GetSec ¶
func (x *RemoveFilteredPolicyRequest) GetSec() string
func (*RemoveFilteredPolicyRequest) ProtoMessage ¶
func (*RemoveFilteredPolicyRequest) ProtoMessage()
func (*RemoveFilteredPolicyRequest) ProtoReflect ¶
func (x *RemoveFilteredPolicyRequest) ProtoReflect() protoreflect.Message
func (*RemoveFilteredPolicyRequest) Reset ¶
func (x *RemoveFilteredPolicyRequest) Reset()
func (*RemoveFilteredPolicyRequest) String ¶
func (x *RemoveFilteredPolicyRequest) String() string
type RemoveNodeRequest ¶
type RemoveNodeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveNodeRequest) Descriptor
deprecated
func (*RemoveNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNodeRequest.ProtoReflect.Descriptor instead.
func (*RemoveNodeRequest) GetId ¶
func (x *RemoveNodeRequest) GetId() string
func (*RemoveNodeRequest) ProtoMessage ¶
func (*RemoveNodeRequest) ProtoMessage()
func (*RemoveNodeRequest) ProtoReflect ¶
func (x *RemoveNodeRequest) ProtoReflect() protoreflect.Message
func (*RemoveNodeRequest) Reset ¶
func (x *RemoveNodeRequest) Reset()
func (*RemoveNodeRequest) String ¶
func (x *RemoveNodeRequest) String() string
type RemovePoliciesRequest ¶
type RemovePoliciesRequest struct { Sec string `protobuf:"bytes,1,opt,name=sec,proto3" json:"sec,omitempty"` PType string `protobuf:"bytes,2,opt,name=pType,proto3" json:"pType,omitempty"` Rules []*StringArray `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
func (*RemovePoliciesRequest) Descriptor
deprecated
func (*RemovePoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePoliciesRequest.ProtoReflect.Descriptor instead.
func (*RemovePoliciesRequest) GetPType ¶
func (x *RemovePoliciesRequest) GetPType() string
func (*RemovePoliciesRequest) GetRules ¶
func (x *RemovePoliciesRequest) GetRules() []*StringArray
func (*RemovePoliciesRequest) GetSec ¶
func (x *RemovePoliciesRequest) GetSec() string
func (*RemovePoliciesRequest) ProtoMessage ¶
func (*RemovePoliciesRequest) ProtoMessage()
func (*RemovePoliciesRequest) ProtoReflect ¶
func (x *RemovePoliciesRequest) ProtoReflect() protoreflect.Message
func (*RemovePoliciesRequest) Reset ¶
func (x *RemovePoliciesRequest) Reset()
func (*RemovePoliciesRequest) String ¶
func (x *RemovePoliciesRequest) String() string
type StringArray ¶
type StringArray struct { Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*StringArray) Descriptor
deprecated
func (*StringArray) Descriptor() ([]byte, []int)
Deprecated: Use StringArray.ProtoReflect.Descriptor instead.
func (*StringArray) GetItems ¶
func (x *StringArray) GetItems() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) ProtoReflect ¶
func (x *StringArray) ProtoReflect() protoreflect.Message
func (*StringArray) Reset ¶
func (x *StringArray) Reset()
func (*StringArray) String ¶
func (x *StringArray) String() string
type UpdatePoliciesRequest ¶
type UpdatePoliciesRequest struct { Sec string `protobuf:"bytes,1,opt,name=sec,proto3" json:"sec,omitempty"` PType string `protobuf:"bytes,2,opt,name=pType,proto3" json:"pType,omitempty"` NewRules []*StringArray `protobuf:"bytes,3,rep,name=newRules,proto3" json:"newRules,omitempty"` OldRules []*StringArray `protobuf:"bytes,4,rep,name=oldRules,proto3" json:"oldRules,omitempty"` // contains filtered or unexported fields }
func (*UpdatePoliciesRequest) Descriptor
deprecated
func (*UpdatePoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePoliciesRequest.ProtoReflect.Descriptor instead.
func (*UpdatePoliciesRequest) GetNewRules ¶
func (x *UpdatePoliciesRequest) GetNewRules() []*StringArray
func (*UpdatePoliciesRequest) GetOldRules ¶
func (x *UpdatePoliciesRequest) GetOldRules() []*StringArray
func (*UpdatePoliciesRequest) GetPType ¶
func (x *UpdatePoliciesRequest) GetPType() string
func (*UpdatePoliciesRequest) GetSec ¶
func (x *UpdatePoliciesRequest) GetSec() string
func (*UpdatePoliciesRequest) ProtoMessage ¶
func (*UpdatePoliciesRequest) ProtoMessage()
func (*UpdatePoliciesRequest) ProtoReflect ¶
func (x *UpdatePoliciesRequest) ProtoReflect() protoreflect.Message
func (*UpdatePoliciesRequest) Reset ¶
func (x *UpdatePoliciesRequest) Reset()
func (*UpdatePoliciesRequest) String ¶
func (x *UpdatePoliciesRequest) String() string
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct { Sec string `protobuf:"bytes,1,opt,name=sec,proto3" json:"sec,omitempty"` PType string `protobuf:"bytes,2,opt,name=pType,proto3" json:"pType,omitempty"` NewRule []string `protobuf:"bytes,3,rep,name=newRule,proto3" json:"newRule,omitempty"` OldRule []string `protobuf:"bytes,4,rep,name=oldRule,proto3" json:"oldRule,omitempty"` // contains filtered or unexported fields }
func (*UpdatePolicyRequest) Descriptor
deprecated
func (*UpdatePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdatePolicyRequest) GetNewRule ¶
func (x *UpdatePolicyRequest) GetNewRule() []string
func (*UpdatePolicyRequest) GetOldRule ¶
func (x *UpdatePolicyRequest) GetOldRule() []string
func (*UpdatePolicyRequest) GetPType ¶
func (x *UpdatePolicyRequest) GetPType() string
func (*UpdatePolicyRequest) GetSec ¶
func (x *UpdatePolicyRequest) GetSec() string
func (*UpdatePolicyRequest) ProtoMessage ¶
func (*UpdatePolicyRequest) ProtoMessage()
func (*UpdatePolicyRequest) ProtoReflect ¶
func (x *UpdatePolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdatePolicyRequest) Reset ¶
func (x *UpdatePolicyRequest) Reset()
func (*UpdatePolicyRequest) String ¶
func (x *UpdatePolicyRequest) String() string
Click to show internal directories.
Click to hide internal directories.