template
v1.1.1
djinn-ci.com/build/template
Documentation
pkg.go.dev ↗Functions
RenderArtifactTable
func RenderArtifactTable(aa []*build.Artifact, uri, search string, showSearch bool) string
RenderStatusNav
func RenderStatusNav(uri, status string) string
RenderTrigger
func RenderTrigger(b *build.Build) string
StreamRenderArtifactTable
func StreamRenderArtifactTable(qw422016 *qt422016.Writer, aa []*build.Artifact, uri, search string, showSearch bool)
StreamRenderStatusNav
func StreamRenderStatusNav(qw422016 *qt422016.Writer, uri, status string)
StreamRenderTrigger
func StreamRenderTrigger(qw422016 *qt422016.Writer, b *build.Build)
WriteRenderArtifactTable
func WriteRenderArtifactTable(qq422016 qtio422016.Writer, aa []*build.Artifact, uri, search string, showSearch bool)
WriteRenderStatusNav
func WriteRenderStatusNav(qq422016 qtio422016.Writer, uri, status string)
WriteRenderTrigger
func WriteRenderTrigger(qq422016 qtio422016.Writer, b *build.Build)
Types
Artifacts
type Artifacts struct {
URL *url.URL
Search string
Build *build.Build
Artifacts []*build.Artifact
// contains filtered or unexported fields
}
Artifacts.Actions
func (p *Artifacts) Actions() string
Artifacts.Body
func (p *Artifacts) Body() string
Artifacts.Header
func (p *Artifacts) Header() string
Artifacts.StreamActions
func (p *Artifacts) StreamActions(qw422016 *qt422016.Writer)
Artifacts.StreamBody
func (p *Artifacts) StreamBody(qw422016 *qt422016.Writer)
Artifacts.StreamHeader
func (p *Artifacts) StreamHeader(qw422016 *qt422016.Writer)
Artifacts.StreamTitle
func (p *Artifacts) StreamTitle(qw422016 *qt422016.Writer)
Artifacts.Title
func (p *Artifacts) Title() string
Artifacts.WriteActions
func (p *Artifacts) WriteActions(qq422016 qtio422016.Writer)
Artifacts.WriteBody
func (p *Artifacts) WriteBody(qq422016 qtio422016.Writer)
Artifacts.WriteHeader
func (p *Artifacts) WriteHeader(qq422016 qtio422016.Writer)
Artifacts.WriteTitle
func (p *Artifacts) WriteTitle(qq422016 qtio422016.Writer)
Create
type Create struct {
template.BasePage
template.Form
}
Create.Actions
func (p *Create) Actions() string
Create.Body
func (p *Create) Body() string
Create.Header
func (p *Create) Header() string
Create.Navigation
func (p *Create) Navigation() string
Create.StreamActions
func (p *Create) StreamActions(qw422016 *qt422016.Writer)
Create.StreamBody
func (p *Create) StreamBody(qw422016 *qt422016.Writer)
Create.StreamHeader
func (p *Create) StreamHeader(qw422016 *qt422016.Writer)
Create.StreamNavigation
func (p *Create) StreamNavigation(qw422016 *qt422016.Writer)
Create.StreamTitle
func (p *Create) StreamTitle(qw422016 *qt422016.Writer)
Create.Title
func (p *Create) Title() string
Create.WriteActions
func (p *Create) WriteActions(qq422016 qtio422016.Writer)
Create.WriteBody
func (p *Create) WriteBody(qq422016 qtio422016.Writer)
Create.WriteHeader
func (p *Create) WriteHeader(qq422016 qtio422016.Writer)
Create.WriteNavigation
func (p *Create) WriteNavigation(qq422016 qtio422016.Writer)
Create.WriteTitle
func (p *Create) WriteTitle(qq422016 qtio422016.Writer)
Index
type Index struct {
template.BasePage
Paginator database.Paginator
Builds []*build.Build
Search string
Status string
Tag string
}
Index.Actions
func (p *Index) Actions() string
Index.Body
func (p *Index) Body() string
Index.Header
func (p *Index) Header() string
Index.Navigation
func (p *Index) Navigation() string
Index.Section
func (p *Index) Section() string
Index.StreamActions
func (p *Index) StreamActions(qw422016 *qt422016.Writer)
Index.StreamBody
func (p *Index) StreamBody(qw422016 *qt422016.Writer)
Index.StreamHeader
func (p *Index) StreamHeader(qw422016 *qt422016.Writer)
Index.StreamNavigation
func (p *Index) StreamNavigation(qw422016 *qt422016.Writer)
Index.StreamSection
func (p *Index) StreamSection(qw422016 *qt422016.Writer)
Index.StreamTitle
func (p *Index) StreamTitle(qw422016 *qt422016.Writer)
Index.Title
func (p *Index) Title() string
Index.WriteActions
func (p *Index) WriteActions(qq422016 qtio422016.Writer)
Index.WriteBody
func (p *Index) WriteBody(qq422016 qtio422016.Writer)
Index.WriteHeader
func (p *Index) WriteHeader(qq422016 qtio422016.Writer)
Index.WriteNavigation
func (p *Index) WriteNavigation(qq422016 qtio422016.Writer)
Index.WriteSection
func (p *Index) WriteSection(qq422016 qtio422016.Writer)
Index.WriteTitle
func (p *Index) WriteTitle(qq422016 qtio422016.Writer)
Job
type Job struct {
template.BasePage
Job *build.Job
}
Job.Actions
func (p *Job) Actions() string
Job.Body
func (p *Job) Body() string
Job.Header
func (p *Job) Header() string
Job.Navigation
func (p *Job) Navigation() string
Job.StreamActions
func (p *Job) StreamActions(qw422016 *qt422016.Writer)
Job.StreamBody
func (p *Job) StreamBody(qw422016 *qt422016.Writer)
Job.StreamHeader
func (p *Job) StreamHeader(qw422016 *qt422016.Writer)
Job.StreamNavigation
func (p *Job) StreamNavigation(qw422016 *qt422016.Writer)
Job.StreamTitle
func (p *Job) StreamTitle(qw422016 *qt422016.Writer)
Job.Title
func (p *Job) Title() string
Job.WriteActions
func (p *Job) WriteActions(qq422016 qtio422016.Writer)
Job.WriteBody
func (p *Job) WriteBody(qq422016 qtio422016.Writer)
Job.WriteHeader
func (p *Job) WriteHeader(qq422016 qtio422016.Writer)
Job.WriteNavigation
func (p *Job) WriteNavigation(qq422016 qtio422016.Writer)
Job.WriteTitle
func (p *Job) WriteTitle(qq422016 qtio422016.Writer)
Keys
type Keys struct {
Build *build.Build
Keys []*build.Key
// contains filtered or unexported fields
}
Keys.Actions
func (p *Keys) Actions() string
Keys.Body
func (p *Keys) Body() string
Keys.Header
func (p *Keys) Header() string
Keys.StreamActions
func (p *Keys) StreamActions(qw422016 *qt422016.Writer)
Keys.StreamBody
func (p *Keys) StreamBody(qw422016 *qt422016.Writer)
Keys.StreamHeader
func (p *Keys) StreamHeader(qw422016 *qt422016.Writer)
Keys.StreamTitle
func (p *Keys) StreamTitle(qw422016 *qt422016.Writer)
Keys.Title
func (p *Keys) Title() string
Keys.WriteActions
func (p *Keys) WriteActions(qq422016 qtio422016.Writer)
Keys.WriteBody
func (p *Keys) WriteBody(qq422016 qtio422016.Writer)
Keys.WriteHeader
func (p *Keys) WriteHeader(qq422016 qtio422016.Writer)
Keys.WriteTitle
func (p *Keys) WriteTitle(qq422016 qtio422016.Writer)
Manifest
type Manifest struct {
Build *build.Build
// contains filtered or unexported fields
}
Manifest.Actions
func (p *Manifest) Actions() string
Manifest.Body
func (p *Manifest) Body() string
Manifest.Header
func (p *Manifest) Header() string
Manifest.StreamActions
func (p *Manifest) StreamActions(qw422016 *qt422016.Writer)
Manifest.StreamBody
func (p *Manifest) StreamBody(qw422016 *qt422016.Writer)
Manifest.StreamHeader
func (p *Manifest) StreamHeader(qw422016 *qt422016.Writer)
Manifest.StreamTitle
func (p *Manifest) StreamTitle(qw422016 *qt422016.Writer)
Manifest.Title
func (p *Manifest) Title() string
Manifest.WriteActions
func (p *Manifest) WriteActions(qq422016 qtio422016.Writer)
Manifest.WriteBody
func (p *Manifest) WriteBody(qq422016 qtio422016.Writer)
Manifest.WriteHeader
func (p *Manifest) WriteHeader(qq422016 qtio422016.Writer)
Manifest.WriteTitle
func (p *Manifest) WriteTitle(qq422016 qtio422016.Writer)
Objects
type Objects struct {
Build *build.Build
Objects []*build.Object
// contains filtered or unexported fields
}
Objects.Actions
func (p *Objects) Actions() string
Objects.Body
func (p *Objects) Body() string
Objects.Header
func (p *Objects) Header() string
Objects.StreamActions
func (p *Objects) StreamActions(qw422016 *qt422016.Writer)
Objects.StreamBody
func (p *Objects) StreamBody(qw422016 *qt422016.Writer)
Objects.StreamHeader
func (p *Objects) StreamHeader(qw422016 *qt422016.Writer)
Objects.StreamTitle
func (p *Objects) StreamTitle(qw422016 *qt422016.Writer)
Objects.Title
func (p *Objects) Title() string
Objects.WriteActions
func (p *Objects) WriteActions(qq422016 qtio422016.Writer)
Objects.WriteBody
func (p *Objects) WriteBody(qq422016 qtio422016.Writer)
Objects.WriteHeader
func (p *Objects) WriteHeader(qq422016 qtio422016.Writer)
Objects.WriteTitle
func (p *Objects) WriteTitle(qq422016 qtio422016.Writer)
Show
type Show struct {
template.BasePage
template.Section
Build *build.Build
CSRF htmltemplate.HTML
}
Show.Actions
func (p *Show) Actions() string
Show.Body
func (p *Show) Body() string
Show.Header
func (p *Show) Header() string
Show.Navigation
func (p *Show) Navigation() string
Show.StreamActions
func (p *Show) StreamActions(qw422016 *qt422016.Writer)
Show.StreamBody
func (p *Show) StreamBody(qw422016 *qt422016.Writer)
Show.StreamHeader
func (p *Show) StreamHeader(qw422016 *qt422016.Writer)
Show.StreamNavigation
func (p *Show) StreamNavigation(qw422016 *qt422016.Writer)
Show.StreamTitle
func (p *Show) StreamTitle(qw422016 *qt422016.Writer)
Show.Title
func (p *Show) Title() string
Show.WriteActions
func (p *Show) WriteActions(qq422016 qtio422016.Writer)
Show.WriteBody
func (p *Show) WriteBody(qq422016 qtio422016.Writer)
Show.WriteHeader
func (p *Show) WriteHeader(qq422016 qtio422016.Writer)
Show.WriteNavigation
func (p *Show) WriteNavigation(qq422016 qtio422016.Writer)
Show.WriteTitle
func (p *Show) WriteTitle(qq422016 qtio422016.Writer)
Tags
type Tags struct {
CSRF htmltemplate.HTML
User *user.User
Build *build.Build
Tags []*build.Tag
// contains filtered or unexported fields
}
Tags.Actions
func (p *Tags) Actions() string
Tags.Body
func (p *Tags) Body() string
Tags.Header
func (p *Tags) Header() string
Tags.StreamActions
func (p *Tags) StreamActions(qw422016 *qt422016.Writer)
Tags.StreamBody
func (p *Tags) StreamBody(qw422016 *qt422016.Writer)
Tags.StreamHeader
func (p *Tags) StreamHeader(qw422016 *qt422016.Writer)
Tags.StreamTitle
func (p *Tags) StreamTitle(qw422016 *qt422016.Writer)
Tags.Title
func (p *Tags) Title() string
Tags.WriteActions
func (p *Tags) WriteActions(qq422016 qtio422016.Writer)
Tags.WriteBody
func (p *Tags) WriteBody(qq422016 qtio422016.Writer)
Tags.WriteHeader
func (p *Tags) WriteHeader(qq422016 qtio422016.Writer)
Tags.WriteTitle
func (p *Tags) WriteTitle(qq422016 qtio422016.Writer)
Variables
type Variables struct {
Build *build.Build
Variables []*build.Variable
// contains filtered or unexported fields
}
Variables.Actions
func (p *Variables) Actions() string
Variables.Body
func (p *Variables) Body() string
Variables.Header
func (p *Variables) Header() string
Variables.StreamActions
func (p *Variables) StreamActions(qw422016 *qt422016.Writer)
Variables.StreamBody
func (p *Variables) StreamBody(qw422016 *qt422016.Writer)
Variables.StreamHeader
func (p *Variables) StreamHeader(qw422016 *qt422016.Writer)
Variables.StreamTitle
func (p *Variables) StreamTitle(qw422016 *qt422016.Writer)
Variables.Title
func (p *Variables) Title() string
Variables.WriteActions
func (p *Variables) WriteActions(qq422016 qtio422016.Writer)
Variables.WriteBody
func (p *Variables) WriteBody(qq422016 qtio422016.Writer)
Variables.WriteHeader
func (p *Variables) WriteHeader(qq422016 qtio422016.Writer)
Variables.WriteTitle
func (p *Variables) WriteTitle(qq422016 qtio422016.Writer)