scheme

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package scheme contains functions to add and retrieve scheme from context

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GvkToTypeMeta added in v0.7.0

func GvkToTypeMeta(gvk schema.GroupVersionKind) metav1.TypeMeta

GvkToTypeMeta converts a GroupVersionKind to a TypeMeta

func Scheme

func Scheme(ctx context.Context) *runtime.Scheme

func WithScheme

func WithScheme(ctx context.Context, scheme *runtime.Scheme) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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