api

package
v1.9.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildStandardExtractors

func BuildStandardExtractors(tags ...string) []imageExtractor

func DeserializeJSONArray added in v1.9.0

func DeserializeJSONArray[T any](j apiextensions.JSON) ([]T, error)

Deserialize "apiextensions.JSON" to a typed array

func ExtractImagesFromResource

func ExtractImagesFromResource(resource unstructured.Unstructured, configs kyvernov1.ImageExtractorConfigs) (map[string]map[string]ImageInfo, error)

Types

type ImageInfo

type ImageInfo struct {
	imageutils.ImageInfo
	// Pointer is the path to the image object in the resource
	Pointer string `json:"-"`
}

Jump to

Keyboard shortcuts

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