manifests

package
v2.25.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RuntimeFromYaml

func RuntimeFromYaml(client ctrlruntimeclient.Client, manifestFsGetter ManifestFSGetter) []runtime.Object

RuntimeFromYaml returns a list of Kubernetes runtime objects from their yaml templates. It returns the objects for all files included in the ManifestFS folder, skipping (with error log) the yaml files that would not contain correct yaml files.

Types

type ManifestFS

type ManifestFS struct {
	Fs  embed.FS
	Dir string
}

type ManifestFSGetter

type ManifestFSGetter interface {
	GetManifestFS() *ManifestFS
}

type StandardInstancetypeGetter

type StandardInstancetypeGetter struct{}

func (*StandardInstancetypeGetter) GetManifestFS

func (s *StandardInstancetypeGetter) GetManifestFS() *ManifestFS

type StandardPreferenceGetter

type StandardPreferenceGetter struct{}

func (*StandardPreferenceGetter) GetManifestFS

func (s *StandardPreferenceGetter) GetManifestFS() *ManifestFS

Jump to

Keyboard shortcuts

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