Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RuntimeScheme is the scheme used in the runtime cluster. RuntimeScheme = runtime.NewScheme() // VirtualScheme is the scheme used in the virtual cluster. VirtualScheme = runtime.NewScheme() // RuntimeSerializer is a YAML serializer using the Runtime scheme. RuntimeSerializer = json.NewSerializerWithOptions(json.DefaultMetaFactory, RuntimeScheme, RuntimeScheme, json.SerializerOptions{Yaml: true, Pretty: false, Strict: false}) // RuntimeCodec is a codec factory using the Runtime scheme. RuntimeCodec = serializer.NewCodecFactory(RuntimeScheme) // VirtualSerializer is a YAML serializer using the Virtual scheme. VirtualSerializer = json.NewSerializerWithOptions(json.DefaultMetaFactory, VirtualScheme, VirtualScheme, json.SerializerOptions{Yaml: true, Pretty: false, Strict: false}) // VirtualCodec is a codec factory using the Virtual scheme. VirtualCodec = serializer.NewCodecFactory(VirtualScheme) )
View Source
var ( // AddRuntimeSchemeToScheme adds all object kinds used in the runtime cluster into the given scheme. AddRuntimeSchemeToScheme = runtimeSchemeBuilder.AddToScheme // AddVirtualSchemeToScheme adds all object kinds used in the Virtual cluster into the given scheme. AddVirtualSchemeToScheme = virtualSchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.