generator

package
v1.31.13 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const HELM_OCI_PLAIN_HTTP = "HELM_OCI_PLAIN_HTTP"

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	// contains filtered or unexported fields
}

func (*Buffer) Bytes

func (b *Buffer) Bytes() []byte

func (*Buffer) Write

func (b *Buffer) Write(p []byte) (n int, err error)

func (*Buffer) WriteString

func (b *Buffer) WriteString(s string) (n int, err error)

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(config configuration.Configuration, reader crd.CrdReader, generatedRepository, schemaRepository string, logger io.Writer) (*Builder, error)

func (Builder) Build

func (builder Builder) Build() error

type Generator

type Generator interface {
	Versions() ([]string, error)
	MetaData(version string) ([]crd.CrdMetaSchema, error)
	Schemas(version string) ([]crd.CrdSchema, error)
	io.Closer
}

func NewGitGenerator

func NewGitGenerator(config configuration.Configuration, reader crd.CrdReader) Generator

func NewHelmGenerator

func NewHelmGenerator(target string, config configuration.Configuration, reader crd.CrdReader) Generator

func NewHttpGenerator

func NewHttpGenerator(config configuration.Configuration, reader crd.CrdReader) Generator

func NewOciGenerator

func NewOciGenerator(config configuration.Configuration, reader crd.CrdReader) Generator

type GitGenerator

type GitGenerator struct {
	// contains filtered or unexported fields
}

func (*GitGenerator) Close

func (generator *GitGenerator) Close() error

func (*GitGenerator) MetaData

func (generator *GitGenerator) MetaData(version string) ([]crd.CrdMetaSchema, error)

func (*GitGenerator) Schemas

func (generator *GitGenerator) Schemas(version string) ([]crd.CrdSchema, error)

func (*GitGenerator) Versions

func (generator *GitGenerator) Versions() ([]string, error)

type HelmGenerator

type HelmGenerator struct {
	// contains filtered or unexported fields
}

func (*HelmGenerator) Close

func (generator *HelmGenerator) Close() error

func (*HelmGenerator) MetaData

func (generator *HelmGenerator) MetaData(version string) ([]crd.CrdMetaSchema, error)

func (*HelmGenerator) Schemas

func (generator *HelmGenerator) Schemas(version string) ([]crd.CrdSchema, error)

func (*HelmGenerator) Versions

func (generator *HelmGenerator) Versions() ([]string, error)

type HttpGenerator

type HttpGenerator struct {
	// contains filtered or unexported fields
}

func (*HttpGenerator) Close

func (generator *HttpGenerator) Close() error

func (*HttpGenerator) MetaData

func (generator *HttpGenerator) MetaData(version string) ([]crd.CrdMetaSchema, error)

func (*HttpGenerator) Schemas

func (generator *HttpGenerator) Schemas(version string) ([]crd.CrdSchema, error)

func (*HttpGenerator) Versions

func (generator *HttpGenerator) Versions() ([]string, error)

type OciGenerator

type OciGenerator struct {
	// contains filtered or unexported fields
}

func (*OciGenerator) Close

func (generator *OciGenerator) Close() error

func (*OciGenerator) MetaData

func (generator *OciGenerator) MetaData(version string) ([]crd.CrdMetaSchema, error)

func (*OciGenerator) Schemas

func (generator *OciGenerator) Schemas(version string) ([]crd.CrdSchema, error)

func (*OciGenerator) Versions

func (generator *OciGenerator) Versions() ([]string, error)

Jump to

Keyboard shortcuts

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