Documentation ¶
Index ¶
- func FormatGitURL(rawurl string) (*url.URL, error)
- func HookDeriveFileInfo() ent.Hook
- func HookDeriveHostFileInfo() ent.Hook
- func HookDeriveRepoOnCreate() ent.Hook
- func HookDeriveTaskInfo() ent.Hook
- func HookDeriveTomeInfo() ent.Hook
- type Beacon
- type File
- type Host
- type HostCredential
- type HostFile
- type HostProcess
- type MixinHistory
- type Quest
- type Repository
- type Tag
- type Task
- type Tome
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HookDeriveFileInfo ¶
HookDeriveFileInfo will update file info (e.g. size, hash) whenever it is mutated.
func HookDeriveHostFileInfo ¶ added in v0.0.5
HookDeriveHostFileInfo will update file info (e.g. size, hash) whenever it is mutated.
func HookDeriveRepoOnCreate ¶ added in v0.0.7
HookDeriveRepoOnCreate will generate private key for the repository upon creation. It will also format the git URL (if one is specified).
func HookDeriveTaskInfo ¶ added in v0.0.5
HookDeriveTaskInfo will update task info (e.g. output_size) whenever it is mutated.
func HookDeriveTomeInfo ¶
HookDeriveTomeInfo will update tome info (e.g. hash) whenever it is mutated.
Types ¶
type Beacon ¶
Beacon holds the schema definition for the Beacon entity.
func (Beacon) Annotations ¶
func (Beacon) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
type File ¶
File holds the schema definition for the File entity.
func (File) Annotations ¶
func (File) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
type Host ¶
Host holds the schema definition for the Host entity.
func (Host) Annotations ¶
func (Host) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
type HostCredential ¶ added in v0.0.7
HostCredential holds the schema definition for the entity.
func (HostCredential) Annotations ¶ added in v0.0.7
func (HostCredential) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
func (HostCredential) Edges ¶ added in v0.0.7
func (HostCredential) Edges() []ent.Edge
Edges of the ent.
func (HostCredential) Fields ¶ added in v0.0.7
func (HostCredential) Fields() []ent.Field
Fields of the ent.
func (HostCredential) Hooks ¶ added in v0.0.7
func (HostCredential) Hooks() []ent.Hook
Hooks defines middleware for mutations for the ent.
func (HostCredential) Mixin ¶ added in v0.0.7
func (HostCredential) Mixin() []ent.Mixin
Mixin defines common shared properties for the ent.
type HostFile ¶ added in v0.0.5
HostFile holds the schema definition for the HostFile entity.
func (HostFile) Annotations ¶ added in v0.0.5
func (HostFile) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
type HostProcess ¶ added in v0.0.5
HostProcess holds the schema definition for the HostProcess entity.
func (HostProcess) Annotations ¶ added in v0.0.5
func (HostProcess) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
func (HostProcess) Fields ¶ added in v0.0.5
func (HostProcess) Fields() []ent.Field
Fields of the ent.
func (HostProcess) Mixin ¶ added in v0.0.5
func (HostProcess) Mixin() []ent.Mixin
Mixin defines common shared properties for the ent.
type MixinHistory ¶
MixinHistory defines common fields and edges for use in ents that require tracking of creation and modification details.
func (MixinHistory) Fields ¶
func (MixinHistory) Fields() []ent.Field
type Quest ¶
Quest holds the schema definition for the Quest entity.
func (Quest) Annotations ¶
func (Quest) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
type Repository ¶ added in v0.0.7
Repository holds the schema definition for the entity.
func (Repository) Annotations ¶ added in v0.0.7
func (Repository) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
func (Repository) Fields ¶ added in v0.0.7
func (Repository) Fields() []ent.Field
Fields of the ent.
func (Repository) Hooks ¶ added in v0.0.7
func (Repository) Hooks() []ent.Hook
Hooks defines middleware for mutations for the ent.
func (Repository) Mixin ¶ added in v0.0.7
func (Repository) Mixin() []ent.Mixin
Mixin defines common shared properties for the ent.
type Tag ¶
Tag holds the schema definition for the Tag entity.
func (Tag) Annotations ¶
func (Tag) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
type Task ¶
Task holds the schema definition for the Task entity.
func (Task) Annotations ¶
func (Task) Annotations() []schema.Annotation
Annotations to configure code generation
type Tome ¶
Tome holds the schema definition for the Tome entity.
func (Tome) Annotations ¶
func (Tome) Annotations() []schema.Annotation
Annotations describes additional information for the ent.
type User ¶
User holds the schema definition for the User entity.
func (User) Annotations ¶
func (User) Annotations() []schema.Annotation
Annotations describes additional information for the ent.