runtime

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StatusTraitor

func StatusTraitor(obj metav1.Object) (apiv1.JobStatus, error)

StatusTraitor traits workload status field from object scheme.

Types

type RawExtensionCodec

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

func NewRawExtensionCodec

func NewRawExtensionCodec(scheme *runtime.Scheme) *RawExtensionCodec

func (*RawExtensionCodec) DecodeRaw

func (rc *RawExtensionCodec) DecodeRaw(rawObj runtime.RawExtension, into runtime.Object) error

func (*RawExtensionCodec) EncodeRaw

func (rc *RawExtensionCodec) EncodeRaw(obj runtime.Object) (*runtime.RawExtension, error)

Jump to

Keyboard shortcuts

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