pkg

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenMarkdownDocs

func GenMarkdownDocs(cmd *cobra.Command, searchPath string) error

GenMarkdownDocs driver function for markdown sub-command

Types

type CompResourceData

type CompResourceData struct {
	Name       string
	Kind       string
	APIVersion string
}

type CompResourceDefinitionData

type CompResourceDefinitionData struct {
	Name                  string
	CompositeResourceKind string
	ClaimNameKind         string
	Versions              []XRDVersion
}

CompResourceDefinitionData defines the XRD data and its XR, XRC details if any

type GenericOutputData added in v0.1.2

type GenericOutputData struct {
	CompositionName string
	XRAPIVersion    string
	XRKind          string
	Resources       []CompResourceData
	LinkedXRD       CompResourceDefinitionData
}

GenericOutputData output data struct used by markdown generator

type OutputOpts added in v0.1.2

type OutputOpts struct {
	OutputFileName string
	OutputTemplate string
	PrintXRDOnly   bool
}

type XRDSpecData added in v0.1.1

type XRDSpecData struct {
	FieldName   string
	Path        string
	Type        string
	Description string
	Default     string
	Required    bool
}

XRDSpecData struct for API specs in the output

type XRDVersion added in v0.1.1

type XRDVersion struct {
	Version       string
	XRDInputSpec  []XRDSpecData
	XRDOutputSpec []XRDSpecData
}

XRDVersion used for representing individual API versions

Jump to

Keyboard shortcuts

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