mapper

package
v0.11.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package mapper contains the utility functions for k8s resource REST mapping.

Index

Constants

View Source
const (
	// GroupRequired is used to specify that a group is required by the mapper.
	GroupRequired = true
	// GroupOptional is used to specify that a group is optional for the mapper.
	GroupOptional = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LiqoMapper

type LiqoMapper func(c *rest.Config, httpClient *http.Client) (meta.RESTMapper, error)

LiqoMapper is a function that returns a RESTMapper for the resources used by Liqo.

func LiqoMapperProvider

func LiqoMapperProvider(scheme *runtime.Scheme, additionalGroupVersions ...schema.GroupVersion) LiqoMapper

LiqoMapperProvider returns the default liqo mapper.

Jump to

Keyboard shortcuts

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