consoleui

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomConsole added in v0.17.0

type CustomConsole struct {
	Info *info.Info
	// contains filtered or unexported fields
}

func (*CustomConsole) DetailURL added in v0.17.0

func (o *CustomConsole) DetailURL(pr *tektonv1.PipelineRun) string

func (*CustomConsole) GetName added in v0.17.0

func (o *CustomConsole) GetName() string

func (*CustomConsole) NamespaceURL added in v0.22.0

func (o *CustomConsole) NamespaceURL(pr *tektonv1.PipelineRun) string

func (*CustomConsole) SetParams added in v0.19.0

func (o *CustomConsole) SetParams(mt map[string]string)

func (*CustomConsole) TaskLogURL added in v0.17.0

func (o *CustomConsole) TaskLogURL(pr *tektonv1.PipelineRun, taskRunStatus *tektonv1.PipelineRunTaskRunStatus) string

func (*CustomConsole) UI added in v0.17.0

func (*CustomConsole) URL added in v0.17.0

func (o *CustomConsole) URL() string

type FallBackConsole

type FallBackConsole struct{}

func (FallBackConsole) DetailURL

func (f FallBackConsole) DetailURL(_ *tektonv1.PipelineRun) string

func (FallBackConsole) GetName added in v0.15.0

func (f FallBackConsole) GetName() string

func (FallBackConsole) NamespaceURL added in v0.22.0

func (f FallBackConsole) NamespaceURL(_ *tektonv1.PipelineRun) string

func (FallBackConsole) SetParams added in v0.19.0

func (f FallBackConsole) SetParams(_ map[string]string)

func (FallBackConsole) TaskLogURL

func (FallBackConsole) UI

func (FallBackConsole) URL

func (f FallBackConsole) URL() string

type Interface

type Interface interface {
	DetailURL(pr *tektonv1.PipelineRun) string
	TaskLogURL(pr *tektonv1.PipelineRun, taskRunStatusstatus *tektonv1.PipelineRunTaskRunStatus) string
	NamespaceURL(pr *tektonv1.PipelineRun) string
	UI(ctx context.Context, kdyn dynamic.Interface) error
	URL() string
	GetName() string
	SetParams(mt map[string]string)
}

func New

func New(ctx context.Context, kdyn dynamic.Interface, _ *info.Info) Interface

type OpenshiftConsole

type OpenshiftConsole struct {
	// contains filtered or unexported fields
}

func (*OpenshiftConsole) DetailURL

func (o *OpenshiftConsole) DetailURL(pr *tektonv1.PipelineRun) string

func (*OpenshiftConsole) GetName added in v0.15.0

func (o *OpenshiftConsole) GetName() string

func (*OpenshiftConsole) NamespaceURL added in v0.22.0

func (o *OpenshiftConsole) NamespaceURL(pr *tektonv1.PipelineRun) string

func (*OpenshiftConsole) SetParams added in v0.19.0

func (o *OpenshiftConsole) SetParams(_ map[string]string)

func (*OpenshiftConsole) TaskLogURL

func (o *OpenshiftConsole) TaskLogURL(pr *tektonv1.PipelineRun, taskRunStatus *tektonv1.PipelineRunTaskRunStatus) string

func (*OpenshiftConsole) UI

UI use dynamic client to get the route of the openshift console where we can point to.

func (*OpenshiftConsole) URL

func (o *OpenshiftConsole) URL() string

type TektonDashboard

type TektonDashboard struct {
	BaseURL string
}

func (*TektonDashboard) DetailURL

func (t *TektonDashboard) DetailURL(pr *tektonv1.PipelineRun) string

func (*TektonDashboard) GetName added in v0.15.0

func (t *TektonDashboard) GetName() string

func (*TektonDashboard) NamespaceURL added in v0.22.0

func (t *TektonDashboard) NamespaceURL(pr *tektonv1.PipelineRun) string

func (*TektonDashboard) SetParams added in v0.19.0

func (t *TektonDashboard) SetParams(_ map[string]string)

func (*TektonDashboard) TaskLogURL

func (t *TektonDashboard) TaskLogURL(pr *tektonv1.PipelineRun, taskRunStatus *tektonv1.PipelineRunTaskRunStatus) string

func (*TektonDashboard) UI

func (*TektonDashboard) URL

func (t *TektonDashboard) URL() string

Jump to

Keyboard shortcuts

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