converter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 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 ConvertFactory

type ConvertFactory interface {
	Transform(object runtime.Object) (runtime.Object, error)
}

type Converter

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

func New

func New() (*Converter, error)

func (*Converter) Do

func (c *Converter) Do(objects []runtime.Object) ([]runtime.Object, error)

func (*Converter) EncodeYaml

func (c *Converter) EncodeYaml(object runtime.Object) ([]byte, error)

type IngressRoute

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

func NewIngressRoute

func NewIngressRoute() (*IngressRoute, error)

func (*IngressRoute) Transform

func (t *IngressRoute) Transform(object runtime.Object) (runtime.Object, error)

type MiddleWare

type MiddleWare struct{}

func NewMiddleWare

func NewMiddleWare() *MiddleWare

func (*MiddleWare) Transform

func (m *MiddleWare) Transform(object runtime.Object) (runtime.Object, error)

Jump to

Keyboard shortcuts

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