schema

package
v0.0.0-...-5bf6e64 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Plural        string
	ClusterScoped bool
	ProtoPkg      string
	Proto         string
	Kind          string
	Group         string
	Version       string
}

func (Builder) Build

func (b Builder) Build() (Schema, error)

func (Builder) BuildNoValidate

func (b Builder) BuildNoValidate() Schema

type Schema

type Schema interface {
	fmt.Stringer
	GroupVersionResource() schema.GroupVersionResource
	GroupVersionKind() config.GroupVersionKind
	GroupVersionAliasKinds() []config.GroupVersionKind
	Validate() error
	IsClusterScoped() bool
}

Jump to

Keyboard shortcuts

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