consoleui

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 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, pr string) string

func (FallBackConsole) GetName added in v0.15.0

func (f FallBackConsole) GetName() string

func (FallBackConsole) TaskLogURL

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

func (FallBackConsole) UI

func (FallBackConsole) URL

func (f FallBackConsole) URL() string

type Interface

type Interface interface {
	DetailURL(ns, pr string) string
	TaskLogURL(ns, pr, task string) string
	UI(ctx context.Context, kdyn dynamic.Interface) error
	URL() string
	GetName() 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(ns, pr string) string

func (*OpenshiftConsole) GetName added in v0.15.0

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

func (*TektonDashboard) GetName added in v0.15.0

func (t *TektonDashboard) GetName() string

func (*TektonDashboard) TaskLogURL

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