crd

package
v3.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 19 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Patch added in v3.27.0

type Patch func(crd *v1.CustomResourceDefinition)

type ReleaseAssetFileDefinition added in v3.27.0

type ReleaseAssetFileDefinition struct {
	Files    []string
	Owner    string
	Provider string
	Repo     string
	Version  string
}

type Renderer added in v3.27.0

type Renderer struct {
	GithubClient *github.Client

	LocalCRDDirectory string
	OutputDirectory   string

	Patches map[string]Patch

	UpstreamAssets []ReleaseAssetFileDefinition
}

func (Renderer) Render added in v3.27.0

func (r Renderer) Render(ctx context.Context, provider string) error

Render creates helm chart templates for the given provider by downloading upstream CRDs, merging them with local CRDs, patching them, and writing them to the corresponding provider helm template directory.

Jump to

Keyboard shortcuts

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