api

package
v0.121.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// LandscaperScheme is the scheme used in the landscaper cluster.
	LandscaperScheme = runtime.NewScheme()
	// ConfigScheme is the scheme used for configurations.
	ConfigScheme = runtime.NewScheme()
	// Scheme is the scheme used in the landscaper cluster and for configurations.
	Scheme = runtime.NewScheme()
	// Decoder is a decoder for the landscaper and landscaper config scheme.
	Decoder runtime.Decoder
)

Functions

func NewDecoder

func NewDecoder(scheme *runtime.Scheme) runtime.Decoder

NewDecoder creates a new universal decoder.

Types

type UniversalInternalVersionDecoder

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

UniversalInternalVersionDecoder is a decoder that can decode kubernetes-like versioned resources. The universal decoder does automatically use the internal type to perform conversion which is a missing feature in the kubernetes codec factory.

func (*UniversalInternalVersionDecoder) Decode

todo: implement shortcut for actual.gvk == into.gvk

Jump to

Keyboard shortcuts

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