extension

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Extensions []Constructor

Functions

This section is empty.

Types

type Apps

type Apps struct {
	*api.Cluster
}

func (*Apps) CreateColumns

func (e *Apps) CreateColumns(ctx context.Context, resource *metav1.APIResource, columns []api.Column) []api.Column

func (*Apps) CreateObjectProperties

func (e *Apps) CreateObjectProperties(ctx context.Context, _ *metav1.APIResource, object client.Object, props []api.Property) []api.Property

type Constructor

type Constructor func(*api.Cluster) Extension

type Core

type Core struct {
	*api.Cluster
}

func (*Core) CreateColumns

func (e *Core) CreateColumns(ctx context.Context, res *metav1.APIResource, columns []api.Column) []api.Column

func (*Core) CreateObjectProperties

func (e *Core) CreateObjectProperties(ctx context.Context, _ *metav1.APIResource, object client.Object, props []api.Property) []api.Property

type Extension

type Extension interface {
	CreateColumns(ctx context.Context, resource *metav1.APIResource, columns []api.Column) []api.Column
	CreateObjectProperties(ctx context.Context, resource *metav1.APIResource, object client.Object, props []api.Property) []api.Property
}

type Meta

type Meta struct {
	*api.Cluster
}

func (*Meta) CreateColumns

func (e *Meta) CreateColumns(ctx context.Context, resource *metav1.APIResource, columns []api.Column) []api.Column

func (*Meta) CreateObjectProperties

func (e *Meta) CreateObjectProperties(ctx context.Context, resource *metav1.APIResource, object client.Object, props []api.Property) []api.Property

Jump to

Keyboard shortcuts

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