client

package
v1.108.1 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: 22 Imported by: 0

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.

Jump to

Keyboard shortcuts

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