tables

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Size

func Base64Size(data interface{}) (string, error)

func FormatAction

func FormatAction(obj interface{}) (string, error)

func FormatImage

func FormatImage(data interface{}) (string, error)

func FormatOpts

func FormatOpts(obj interface{}) (string, error)

func FormatRouteTarget

func FormatRouteTarget(obj interface{}) (string, error)

func FormatScale

func FormatScale(data, data2, data3 interface{}) (string, error)

func FormatServiceName

func FormatServiceName(cfg Config) func(data, data2 interface{}) (string, error)

func FormatTarget

func FormatTarget(obj interface{}) (string, error)

func FormatURL

func FormatURL() func(obj interface{}) (string, error)

Types

type AppData

type AppData struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	App       *riov1.App
	Revisions map[string]*riov1.Service
}

func (*AppData) DeepCopyObject

func (a *AppData) DeepCopyObject() runtime.Object

type Config

type Config interface {
	table.WriterConfig
	GetDefaultNamespace() string
	GetSetNamespace() string
	Domain() (string, error)
}

type PodData

type PodData struct {
	Name       string
	Managed    bool
	Service    *lookup.StackScoped
	Pod        *v1.Pod
	Containers []v1.Container
}

type RouteSpecData

type RouteSpecData struct {
	ID        string
	RouteSet  v1.Router
	RouteSpec v1.RouteSpec
	Match     *v1.Match
	Domain    string
}

type TableWriter

type TableWriter interface {
	Write(obs []runtime.Object) error
	TableWriter() table.Writer
}

func NewApp

func NewApp(cfg Config) TableWriter

func NewBuild

func NewBuild(cfg Config) TableWriter

func NewConfig

func NewConfig(cfg Config) TableWriter

func NewContainer

func NewContainer(cfg Config) TableWriter

func NewExternalService

func NewExternalService(cfg Config) TableWriter

func NewFeature

func NewFeature(cfg Config) TableWriter

func NewPods added in v0.1.1

func NewPods(cfg Config) TableWriter

func NewPublicDomain

func NewPublicDomain(cfg Config) TableWriter

func NewRouter

func NewRouter(cfg Config) TableWriter

func NewSecret

func NewSecret(cfg Config) TableWriter

func NewService

func NewService(cfg Config) TableWriter

Jump to

Keyboard shortcuts

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