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 ¶
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 ¶
func (d *UniversalInternalVersionDecoder) Decode(data []byte, defaults *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error)
todo: implement shortcut for actual.gvk == into.gvk
Click to show internal directories.
Click to hide internal directories.