transformer

package
v0.0.0-...-2cb76a2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type GitRepository

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

func NewGitRepository

func NewGitRepository(object ObjectConverter) *GitRepository

func (*GitRepository) TransformGitRepository

func (g *GitRepository) TransformGitRepository(module *charlescdv1alpha1.Module) mf.Transformer

type Metadata

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

func NewMetadata

func NewMetadata(reference ObjectReference) *Metadata

func (*Metadata) TransformMetadata

func (m *Metadata) TransformMetadata(module *charlescdv1alpha1.Module) mf.Transformer

type ObjectConverter

type ObjectConverter interface {
	FromUnstructured(in *unstructured.Unstructured, out interface{}) error
	ToUnstructured(in interface{}, out *unstructured.Unstructured) error
}

type ObjectReference

type ObjectReference interface {
	SetOwner(owner, object metav1.Object) error
	SetController(controller, object metav1.Object) error
}

Jump to

Keyboard shortcuts

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