crd

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crd

type Crd struct {
	Group, Kind string
	// contains filtered or unexported fields
}

func (*Crd) MetaSchema

func (c *Crd) MetaSchema() ([]CrdMetaSchema, error)

func (*Crd) Schema

func (c *Crd) Schema() ([]CrdSchema, error)

type CrdMetaSchema

type CrdMetaSchema struct {
	Group, Kind, Version string
}

func (*CrdMetaSchema) Filepath

func (s *CrdMetaSchema) Filepath() string

type CrdReader

type CrdReader interface {
	Read(reader io.Reader, file string) ([]Crd, error)
}

func NewCrdReader

func NewCrdReader(logger io.Writer) (CrdReader, error)

type CrdSchema

type CrdSchema struct {
	CrdMetaSchema
	Bytes []byte
}

Jump to

Keyboard shortcuts

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