consoleui

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FallBackConsole

type FallBackConsole struct{}

func (FallBackConsole) DetailURL

func (f FallBackConsole) DetailURL(ns string, pr string) string

func (FallBackConsole) TaskLogURL

func (f FallBackConsole) TaskLogURL(ns string, pr string, task string) string

func (FallBackConsole) UI

func (FallBackConsole) URL

func (f FallBackConsole) URL() string

type Interface

type Interface interface {
	DetailURL(ns string, pr string) string
	TaskLogURL(ns string, pr string, task string) string
	UI(ctx context.Context, kdyn dynamic.Interface) error
	URL() string
}

func New

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

type OpenshiftConsole

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

func (*OpenshiftConsole) DetailURL

func (o *OpenshiftConsole) DetailURL(ns, pr string) string

func (*OpenshiftConsole) TaskLogURL

func (o *OpenshiftConsole) TaskLogURL(ns, pr, task string) 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(ns string, pr string) string

func (*TektonDashboard) TaskLogURL

func (t *TektonDashboard) TaskLogURL(ns string, pr string, task string) 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