schema

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCatalogResources

func CheckCatalogResources(manifestDir string) error

func CheckUpgradePath

func CheckUpgradePath(packageDir string) error

CheckUpgradePath checks that every ClusterServiceVersion in a package directory has a valid `spec.replaces` field.

Types

type Files

type Files map[string][]byte

Files is a map of files.

func Glob

func Glob(pattern string) (Files, error)

Glob searches the `/manifests` directory for files matching the pattern and returns them.

type Meta

type Meta struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
}

func (*Meta) DeepCopy

func (in *Meta) DeepCopy() *Meta

func (*Meta) DeepCopyInto

func (in *Meta) DeepCopyInto(out *Meta)

func (*Meta) DeepCopyObject

func (in *Meta) DeepCopyObject() runtime.Object

func (*Meta) GetObjectKind

func (m *Meta) GetObjectKind() schema.ObjectKind

Jump to

Keyboard shortcuts

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