Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Fetch(path Path) (Object, error) Lookup(query Query) (interface{}, error) Push(path []string, data interface{}) error List(depth int) ([]string, error) Close() Simple() SimpleIface Database() StructureIface[*structureSpec.Database] Domain() StructureIface[*structureSpec.Domain] Function() StructureIface[*structureSpec.Function] Library() StructureIface[*structureSpec.Library] Messaging() StructureIface[*structureSpec.Messaging] Service() StructureIface[*structureSpec.Service] SmartOp() StructureIface[*structureSpec.SmartOp] Storage() StructureIface[*structureSpec.Storage] Website() StructureIface[*structureSpec.Website] Stats() Stats Peers(...peerCore.ID) Client }
type SimpleIface ¶
type StructureGetter ¶
type StructureGetter[T structureSpec.Structure] interface { Commit(projectId string) (commit string, branch string, err error) List() (o map[string]T, commit string, branch string, err error) GetById(resourceId string) (T, error) GetByIdCommit(projectId, commit string) (resource T, err error) GetByName(resourceName string) (resource T, err error) }
type StructureIface ¶
type StructureIface[T structureSpec.Structure] interface { Relative(projectId, appId string, branches ...string) StructureGetter[T] All(projectId, appId string, branches ...string) StructureGetter[T] Global(projectId string, branches ...string) StructureGetter[T] }
Click to show internal directories.
Click to hide internal directories.