package
0.2.0
Repository: https://github.com/sourcenetwork/sourcehub.git
Documentation: pkg.go.dev

# Functions

DefaultGenesis returns the default genesis state.
DefaultParams returns a default set of parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgCreatePolicyNow creates a MsgCreatePolicy with CreatedAt set to the current time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewParams creates a new Params instance.
No description provided by the author
No description provided by the author
No description provided by the author
ParamKeyTable the param key table for launch module.
No description provided by the author
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author

# Constants

AccessDecisionRepositoryKey defines the namespace for Access Decisions.
No description provided by the author
DefaultIndex is the default global index.
No description provided by the author
MemStoreKey defines the in-memory store key.
ModuleName defines the module name.
Policy Marshaled as a JSON Short Policy definition.
Policy Marshaled as a YAML Short Policy definition.
Fallback value for a missing Marshaling Type.
NoOp indicates no action was take.
Registered indicates the Object was sucessfuly registered to the Actor.
Unarchived indicates that a previously deleted Object is active again.
StoreKey defines the primary module store key.

# Variables

x/acp module sentinel errors.
x/acp module sentinel errors.
ErrAcpInput is a general base error for input errors.
ErrAcpInternal is a general base error for IO or unexpected system errors.
ErrAcpInvariantViolation indicates that an important condition of the protocol has been violated, either by a bug or a successful exploit.
ErrAcpProtocolViolation is a general base error for operations forbidden by the protocol.
x/acp module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/acp module sentinel errors.
x/acp module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
x/acp module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AccessDecision models the result of evaluating a set of AccessRequests for an Actor.
AccessRequest represents the wish to perform a set of operations by an actor.
Represents a Capability token containing an opaque proof and a set of Operations the Actor is allowed to perform.
Actor represents an entity which makes access requests to a Policy.
ActorResource represents a special Resource which is reserved for Policy actors.
ActorSet represents a set of Actors in a Policy.
AllActors models a special Relationship Subject which indicates that all Actors in the Policy are included.
DecisionParams stores auxiliary information regarding the validity of a decision.
No description provided by the author
No description provided by the author
GenesisState defines the acp module's genesis state.
ManagementGraph represents a Policy's Relation Management Graph.
No description provided by the author
No description provided by the author
MarshaledPolicy represents a PolicyShort object marshaled to a known encoding format.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgUpdateParams is the Msg/UpdateParams request type.
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Object represents an entity which must be access controlled within a Policy.
ObjectSelector models a filter for Relationship Objects.
No description provided by the author
No description provided by the author
Operation represents an action over an object.
Params defines the parameters for the module.
Permission models a special type of Relation which is evaluated at runtime.
No description provided by the author
Policy represents an ACP module Policy definition.
PolicyDefinition represents a Policy defined either as a raw Policy type or a shortened and marshaled version.
No description provided by the author
No description provided by the author
PolicyRecord represents a the Policy Document which will be persisted in the data layer.
PolicyShort is a compact Policy definition which is conveniently expressed as JSON or YAML.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueryParamsRequest is request type for the Query/Params RPC method.
QueryParamsResponse is response type for the Query/Params RPC method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Registration represents a record assigning an Object as being owned by an Actor.
No description provided by the author
RelationsSelector models a filter for Relationship Relations.
No description provided by the author
No description provided by the author
Relationship models an access control rule.
RelationshipRecord represents a document contained a Relationship and additional data.
RelationshipSelector models a set of predicates which are used to filter through Relationships in a Policy.
No description provided by the author
Resource models a namespace for objects in a Policy.
No description provided by the author
Restriction models a specification which a Relationship's actor should meet.
Subject specifies the target of a Relationship.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SubjectSelector models a filter for Relationship Subjects.
No description provided by the author
No description provided by the author
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
WildcardSelector matches anything in a context.

# Interfaces

AccountKeeper defines the expected interface for the Account module.
BankKeeper defines the expected interface for the Bank module.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
ParamSubspace defines the expected Subspace interface for parameters.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.

# Type aliases

PolicyEncodingType enumerates supported marshaling types for policies.
RegistrationResult encodes the possible result set from Registering an Object.