pkg

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackagingToObjects

func PackagingToObjects(ref, name, namespace string, packaging *Packaging) []client.Object

Types

type Image

type Image = containerregistry.Image

type Packager

type Packager interface {
	Package(context.Context, Image, *Packaging) (Image, error)
	Unpackage(context.Context, Image) (*Packaging, error)
}

type Packaging

type Packaging struct {
	PolicyRules               []rbacv1.PolicyRule                        `json:"rules,omitempty"`
	CustomResourceDefinitions []apiextensionsv1.CustomResourceDefinition `json:"crds,omitempty"`
	Overrides                 apiv1alpha1.Overrides                      `json:",inline"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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