Documentation
¶
Index ¶
- Variables
- type ACLConfig
- func (*ACLConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ACLConfig) GetAdminSKIEncoded() string
- func (x *ACLConfig) GetCcName() string
- func (x *ACLConfig) GetValidators() []*ACLValidator
- func (*ACLConfig) ProtoMessage()
- func (x *ACLConfig) ProtoReflect() protoreflect.Message
- func (x *ACLConfig) Reset()
- func (x *ACLConfig) String() string
- type ACLValidator
- func (*ACLValidator) Descriptor() ([]byte, []int)deprecated
- func (x *ACLValidator) GetKeyType() string
- func (x *ACLValidator) GetPublicKey() string
- func (*ACLValidator) ProtoMessage()
- func (x *ACLValidator) ProtoReflect() protoreflect.Message
- func (x *ACLValidator) Reset()
- func (x *ACLValidator) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_acl_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ACLConfig ¶
type ACLConfig struct { // ccName - should be empty, field will be filled while Init transaction, filler will be ignored CcName string `protobuf:"bytes,1,opt,name=ccName,proto3" json:"ccName,omitempty"` // adminSKIEncoded - ACL admin public key SKI in hex format AdminSKIEncoded string `protobuf:"bytes,2,opt,name=adminSKIEncoded,proto3" json:"adminSKIEncoded,omitempty"` // validators - set of validators public keys Validators []*ACLValidator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"` // contains filtered or unexported fields }
Config stores ACL configuration parameters.
func (*ACLConfig) Descriptor
deprecated
func (*ACLConfig) GetAdminSKIEncoded ¶
func (*ACLConfig) GetValidators ¶
func (x *ACLConfig) GetValidators() []*ACLValidator
func (*ACLConfig) ProtoMessage ¶
func (*ACLConfig) ProtoMessage()
func (*ACLConfig) ProtoReflect ¶
func (x *ACLConfig) ProtoReflect() protoreflect.Message
type ACLValidator ¶
type ACLValidator struct { PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"` KeyType string `protobuf:"bytes,2,opt,name=keyType,proto3" json:"keyType,omitempty"` // contains filtered or unexported fields }
func (*ACLValidator) Descriptor
deprecated
func (*ACLValidator) Descriptor() ([]byte, []int)
Deprecated: Use ACLValidator.ProtoReflect.Descriptor instead.
func (*ACLValidator) GetKeyType ¶
func (x *ACLValidator) GetKeyType() string
func (*ACLValidator) GetPublicKey ¶
func (x *ACLValidator) GetPublicKey() string
func (*ACLValidator) ProtoMessage ¶
func (*ACLValidator) ProtoMessage()
func (*ACLValidator) ProtoReflect ¶
func (x *ACLValidator) ProtoReflect() protoreflect.Message
func (*ACLValidator) Reset ¶
func (x *ACLValidator) Reset()
func (*ACLValidator) String ¶
func (x *ACLValidator) String() string
Click to show internal directories.
Click to hide internal directories.