code

package
v0.0.0-...-b705c5c Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApisDotGo

func CreateApisDotGo(el *Resource, cfg Options) error

func CreateGenerateDotGo

func CreateGenerateDotGo(workdir string) error

func CreateGroupVersionInfoDotGo

func CreateGroupVersionInfoDotGo(workdir string, res *Resource) error

func CreateTypesDotGo

func CreateTypesDotGo(workdir string, res *Resource) error

func Do

func Do(res *Resource, cfg Options) error

func GenerateManaged

func GenerateManaged(workdir string, res *Resource) error

func GenerateManagedList

func GenerateManagedList(workdir string, res *Resource) error

Types

type Options

type Options struct {
	Module  string
	Workdir string
}

type Resource

type Resource struct {
	Group        string
	Version      string
	Kind         string
	Categories   []string
	Schema       []byte
	StatusSchema []byte
	AuthSchemas  *map[string][]byte
	IsManaged    bool
}

Jump to

Keyboard shortcuts

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