Documentation ¶
Index ¶
- type OwnershipMock
- type StandaloneValidator
- func (validator *StandaloneValidator) RequireColonyOwner(recoveredID string, colonyID string) error
- func (validator *StandaloneValidator) RequireRuntimeMembership(recoveredID string, colonyID string, approved bool) error
- func (validator *StandaloneValidator) RequireServerOwner(recoveredID string, serverID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OwnershipMock ¶
type OwnershipMock struct {
// contains filtered or unexported fields
}
type StandaloneValidator ¶
type StandaloneValidator struct {
// contains filtered or unexported fields
}
func CreateValidator ¶
func CreateValidator(db database.Database) *StandaloneValidator
func (*StandaloneValidator) RequireColonyOwner ¶
func (validator *StandaloneValidator) RequireColonyOwner(recoveredID string, colonyID string) error
func (*StandaloneValidator) RequireRuntimeMembership ¶
func (validator *StandaloneValidator) RequireRuntimeMembership(recoveredID string, colonyID string, approved bool) error
func (*StandaloneValidator) RequireServerOwner ¶
func (validator *StandaloneValidator) RequireServerOwner(recoveredID string, serverID string) error
Click to show internal directories.
Click to hide internal directories.