model

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchItem

type SearchItem struct {
	Namespace string
	Name      string
	Age       string
	Status    string
	NextPage  string
}

type SearchResults

type SearchResults struct {
	Resource string
	Items    []SearchItem
	URLFor   func(string, ...interface{}) string
}

type TektonComponent

type TektonComponent func(*TemplateData) gomponents.Node

type TemplateData

type TemplateData struct {
	// Namespaces lists all namespaces found.
	Namespaces []string

	// Namespace specifies which namespace we are working in currently.
	Namespace string

	// Resource is the root object for this page, taskruns/pipelineruns
	Resource string

	// PipelineRun is resolved from the :pipelineRun url param
	PipelineRun *pipelinev1beta1.PipelineRun

	// TaskRun is resolved from the :taskRun url param
	TaskRun *pipelinev1beta1.TaskRun

	// TaskRuns is the list of taskRuns that should be rendered
	// in the middle "step view". It is either a list containing
	// a single taskRun in taskRun view, or the list of taskRuns
	// pertaining to a pipelineRUn
	TaskRuns []*pipelinev1beta1.TaskRun

	// Step is the name of the step resolved from the :step url param
	Step string

	Tab string

	URLFor func(name string, args ...interface{}) string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL