Documentation ¶
Index ¶
- Variables
- type ChainPolicy
- func (*ChainPolicy) Descriptor() ([]byte, []int)
- func (m *ChainPolicy) GetApis() []string
- func (m *ChainPolicy) GetChainId() string
- func (m *ChainPolicy) Marshal() (dAtA []byte, err error)
- func (m *ChainPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainPolicy) ProtoMessage()
- func (m *ChainPolicy) Reset()
- func (m *ChainPolicy) Size() (n int)
- func (m *ChainPolicy) String() string
- func (m *ChainPolicy) Unmarshal(dAtA []byte) error
- func (m *ChainPolicy) XXX_DiscardUnknown()
- func (m *ChainPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainPolicy) XXX_Merge(src proto.Message)
- func (m *ChainPolicy) XXX_Size() int
- func (m *ChainPolicy) XXX_Unmarshal(b []byte) error
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)
- func (m *Policy) GetChainPolicies() []ChainPolicy
- func (m *Policy) GetEpochCuLimit() uint64
- func (m *Policy) GetGeolocationProfile() uint64
- func (m *Policy) GetMaxProvidersToPair() uint64
- func (m *Policy) GetTotalCuLimit() uint64
- func (m *Policy) Marshal() (dAtA []byte, err error)
- func (m *Policy) MarshalTo(dAtA []byte) (int, error)
- func (m *Policy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Policy) ProtoMessage()
- func (m *Policy) Reset()
- func (m *Policy) Size() (n int)
- func (m *Policy) String() string
- func (m *Policy) Unmarshal(dAtA []byte) error
- func (m *Policy) XXX_DiscardUnknown()
- func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Policy) XXX_Merge(src proto.Message)
- func (m *Policy) XXX_Size() int
- func (m *Policy) XXX_Unmarshal(b []byte) error
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetDescription() string
- func (m *Project) GetEnabled() bool
- func (m *Project) GetIndex() string
- func (m *Project) GetPolicy() Policy
- func (m *Project) GetProjectKeys() []ProjectKey
- func (m *Project) GetSubscription() string
- func (m *Project) GetUsedCu() uint64
- func (m *Project) Marshal() (dAtA []byte, err error)
- func (m *Project) MarshalTo(dAtA []byte) (int, error)
- func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) Size() (n int)
- func (m *Project) String() string
- func (m *Project) Unmarshal(dAtA []byte) error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectKey
- func (*ProjectKey) Descriptor() ([]byte, []int)
- func (m *ProjectKey) GetKey() string
- func (m *ProjectKey) GetTypes() []ProjectKey_KEY_TYPE
- func (m *ProjectKey) GetVrfpk() string
- func (m *ProjectKey) Marshal() (dAtA []byte, err error)
- func (m *ProjectKey) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectKey) ProtoMessage()
- func (m *ProjectKey) Reset()
- func (m *ProjectKey) Size() (n int)
- func (m *ProjectKey) String() string
- func (m *ProjectKey) Unmarshal(dAtA []byte) error
- func (m *ProjectKey) XXX_DiscardUnknown()
- func (m *ProjectKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectKey) XXX_Merge(src proto.Message)
- func (m *ProjectKey) XXX_Size() int
- func (m *ProjectKey) XXX_Unmarshal(b []byte) error
- type ProjectKey_KEY_TYPE
- type ProtoDeveloperData
- func (*ProtoDeveloperData) Descriptor() ([]byte, []int)
- func (m *ProtoDeveloperData) GetProjectID() string
- func (m *ProtoDeveloperData) GetVrfpk() string
- func (m *ProtoDeveloperData) Marshal() (dAtA []byte, err error)
- func (m *ProtoDeveloperData) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtoDeveloperData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtoDeveloperData) ProtoMessage()
- func (m *ProtoDeveloperData) Reset()
- func (m *ProtoDeveloperData) Size() (n int)
- func (m *ProtoDeveloperData) String() string
- func (m *ProtoDeveloperData) Unmarshal(dAtA []byte) error
- func (m *ProtoDeveloperData) XXX_DiscardUnknown()
- func (m *ProtoDeveloperData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtoDeveloperData) XXX_Merge(src proto.Message)
- func (m *ProtoDeveloperData) XXX_Size() int
- func (m *ProtoDeveloperData) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthProject = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProject = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProject = fmt.Errorf("proto: unexpected end of group") )
View Source
var ProjectKey_KEY_TYPE_name = map[int32]string{
0: "NONE",
1: "ADMIN",
2: "DEVELOPER",
}
View Source
var ProjectKey_KEY_TYPE_value = map[string]int32{
"NONE": 0,
"ADMIN": 1,
"DEVELOPER": 2,
}
Functions ¶
This section is empty.
Types ¶
type ChainPolicy ¶
type ChainPolicy struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Apis []string `protobuf:"bytes,2,rep,name=apis,proto3" json:"apis,omitempty"` }
func (*ChainPolicy) Descriptor ¶
func (*ChainPolicy) Descriptor() ([]byte, []int)
func (*ChainPolicy) GetApis ¶
func (m *ChainPolicy) GetApis() []string
func (*ChainPolicy) GetChainId ¶
func (m *ChainPolicy) GetChainId() string
func (*ChainPolicy) Marshal ¶
func (m *ChainPolicy) Marshal() (dAtA []byte, err error)
func (*ChainPolicy) MarshalToSizedBuffer ¶
func (m *ChainPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainPolicy) ProtoMessage ¶
func (*ChainPolicy) ProtoMessage()
func (*ChainPolicy) Reset ¶
func (m *ChainPolicy) Reset()
func (*ChainPolicy) Size ¶
func (m *ChainPolicy) Size() (n int)
func (*ChainPolicy) String ¶
func (m *ChainPolicy) String() string
func (*ChainPolicy) Unmarshal ¶
func (m *ChainPolicy) Unmarshal(dAtA []byte) error
func (*ChainPolicy) XXX_DiscardUnknown ¶
func (m *ChainPolicy) XXX_DiscardUnknown()
func (*ChainPolicy) XXX_Marshal ¶
func (m *ChainPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainPolicy) XXX_Merge ¶
func (m *ChainPolicy) XXX_Merge(src proto.Message)
func (*ChainPolicy) XXX_Size ¶
func (m *ChainPolicy) XXX_Size() int
func (*ChainPolicy) XXX_Unmarshal ¶
func (m *ChainPolicy) XXX_Unmarshal(b []byte) error
type Policy ¶
type Policy struct { ChainPolicies []ChainPolicy `protobuf:"bytes,1,rep,name=chain_policies,json=chainPolicies,proto3" json:"chain_policies"` GeolocationProfile uint64 `protobuf:"varint,2,opt,name=geolocation_profile,json=geolocationProfile,proto3" json:"geolocation_profile,omitempty"` TotalCuLimit uint64 `protobuf:"varint,3,opt,name=total_cu_limit,json=totalCuLimit,proto3" json:"total_cu_limit,omitempty"` EpochCuLimit uint64 `protobuf:"varint,4,opt,name=epoch_cu_limit,json=epochCuLimit,proto3" json:"epoch_cu_limit,omitempty"` MaxProvidersToPair uint64 `protobuf:"varint,5,opt,name=max_providers_to_pair,json=maxProvidersToPair,proto3" json:"max_providers_to_pair,omitempty"` }
func (*Policy) Descriptor ¶
func (*Policy) GetChainPolicies ¶
func (m *Policy) GetChainPolicies() []ChainPolicy
func (*Policy) GetEpochCuLimit ¶
func (*Policy) GetGeolocationProfile ¶
func (*Policy) GetMaxProvidersToPair ¶
func (*Policy) GetTotalCuLimit ¶
func (*Policy) MarshalToSizedBuffer ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) XXX_DiscardUnknown ¶
func (m *Policy) XXX_DiscardUnknown()
func (*Policy) XXX_Marshal ¶
func (*Policy) XXX_Unmarshal ¶
type Project ¶
type Project struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Subscription string `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` ProjectKeys []ProjectKey `protobuf:"bytes,5,rep,name=project_keys,json=projectKeys,proto3" json:"project_keys"` Policy Policy `protobuf:"bytes,6,opt,name=policy,proto3" json:"policy"` UsedCu uint64 `protobuf:"varint,7,opt,name=used_cu,json=usedCu,proto3" json:"used_cu,omitempty"` }
func (*Project) Descriptor ¶
func (*Project) GetDescription ¶
func (*Project) GetEnabled ¶
func (*Project) GetProjectKeys ¶
func (m *Project) GetProjectKeys() []ProjectKey
func (*Project) GetSubscription ¶
func (*Project) MarshalToSizedBuffer ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type ProjectKey ¶
type ProjectKey struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Types []ProjectKey_KEY_TYPE `protobuf:"varint,2,rep,packed,name=types,proto3,enum=lavanet.lava.projects.ProjectKey_KEY_TYPE" json:"types,omitempty"` Vrfpk string `protobuf:"bytes,3,opt,name=vrfpk,proto3" json:"vrfpk,omitempty"` }
func (*ProjectKey) Descriptor ¶
func (*ProjectKey) Descriptor() ([]byte, []int)
func (*ProjectKey) GetKey ¶
func (m *ProjectKey) GetKey() string
func (*ProjectKey) GetTypes ¶
func (m *ProjectKey) GetTypes() []ProjectKey_KEY_TYPE
func (*ProjectKey) GetVrfpk ¶
func (m *ProjectKey) GetVrfpk() string
func (*ProjectKey) Marshal ¶
func (m *ProjectKey) Marshal() (dAtA []byte, err error)
func (*ProjectKey) MarshalToSizedBuffer ¶
func (m *ProjectKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectKey) ProtoMessage ¶
func (*ProjectKey) ProtoMessage()
func (*ProjectKey) Reset ¶
func (m *ProjectKey) Reset()
func (*ProjectKey) Size ¶
func (m *ProjectKey) Size() (n int)
func (*ProjectKey) String ¶
func (m *ProjectKey) String() string
func (*ProjectKey) Unmarshal ¶
func (m *ProjectKey) Unmarshal(dAtA []byte) error
func (*ProjectKey) XXX_DiscardUnknown ¶
func (m *ProjectKey) XXX_DiscardUnknown()
func (*ProjectKey) XXX_Marshal ¶
func (m *ProjectKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectKey) XXX_Merge ¶
func (m *ProjectKey) XXX_Merge(src proto.Message)
func (*ProjectKey) XXX_Size ¶
func (m *ProjectKey) XXX_Size() int
func (*ProjectKey) XXX_Unmarshal ¶
func (m *ProjectKey) XXX_Unmarshal(b []byte) error
type ProjectKey_KEY_TYPE ¶
type ProjectKey_KEY_TYPE int32
const ( ProjectKey_NONE ProjectKey_KEY_TYPE = 0 ProjectKey_ADMIN ProjectKey_KEY_TYPE = 1 ProjectKey_DEVELOPER ProjectKey_KEY_TYPE = 2 )
func (ProjectKey_KEY_TYPE) EnumDescriptor ¶
func (ProjectKey_KEY_TYPE) EnumDescriptor() ([]byte, []int)
func (ProjectKey_KEY_TYPE) String ¶
func (x ProjectKey_KEY_TYPE) String() string
type ProtoDeveloperData ¶
type ProtoDeveloperData struct { ProjectID string `protobuf:"bytes,1,opt,name=projectID,proto3" json:"projectID,omitempty"` Vrfpk string `protobuf:"bytes,2,opt,name=vrfpk,proto3" json:"vrfpk,omitempty"` }
func (*ProtoDeveloperData) Descriptor ¶
func (*ProtoDeveloperData) Descriptor() ([]byte, []int)
func (*ProtoDeveloperData) GetProjectID ¶
func (m *ProtoDeveloperData) GetProjectID() string
func (*ProtoDeveloperData) GetVrfpk ¶
func (m *ProtoDeveloperData) GetVrfpk() string
func (*ProtoDeveloperData) Marshal ¶
func (m *ProtoDeveloperData) Marshal() (dAtA []byte, err error)
func (*ProtoDeveloperData) MarshalTo ¶
func (m *ProtoDeveloperData) MarshalTo(dAtA []byte) (int, error)
func (*ProtoDeveloperData) MarshalToSizedBuffer ¶
func (m *ProtoDeveloperData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtoDeveloperData) ProtoMessage ¶
func (*ProtoDeveloperData) ProtoMessage()
func (*ProtoDeveloperData) Reset ¶
func (m *ProtoDeveloperData) Reset()
func (*ProtoDeveloperData) Size ¶
func (m *ProtoDeveloperData) Size() (n int)
func (*ProtoDeveloperData) String ¶
func (m *ProtoDeveloperData) String() string
func (*ProtoDeveloperData) Unmarshal ¶
func (m *ProtoDeveloperData) Unmarshal(dAtA []byte) error
func (*ProtoDeveloperData) XXX_DiscardUnknown ¶
func (m *ProtoDeveloperData) XXX_DiscardUnknown()
func (*ProtoDeveloperData) XXX_Marshal ¶
func (m *ProtoDeveloperData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoDeveloperData) XXX_Merge ¶
func (m *ProtoDeveloperData) XXX_Merge(src proto.Message)
func (*ProtoDeveloperData) XXX_Size ¶
func (m *ProtoDeveloperData) XXX_Size() int
func (*ProtoDeveloperData) XXX_Unmarshal ¶
func (m *ProtoDeveloperData) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.