crd

package
v5.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCRD

func CheckCRD(crd *CRD)

CheckCRD checks a CRD

func Cmd

func Cmd() *cobra.Command

Cmd returns a CLI command

func CmdCreate

func CmdCreate() *cobra.Command

CmdCreate returns a CLI command

func CmdDelete

func CmdDelete() *cobra.Command

CmdDelete returns a CLI command

func CmdStatus

func CmdStatus() *cobra.Command

CmdStatus returns a CLI command

func CmdWait

func CmdWait() *cobra.Command

CmdWait returns a CLI command

func CmdYaml

func CmdYaml() *cobra.Command

CmdYaml returns a CLI command

func CreateCRD

func CreateCRD(crd *CRD)

CreateCRD creates a CRD

func DeleteCRD

func DeleteCRD(crd *CRD)

DeleteCRD deletes a CRD

func ForEachCRD

func ForEachCRD(fn func(*CRD))

ForEachCRD iterates and calls fn for every CRD

func IsReady

func IsReady(crd *CRD) (bool, error)

IsReady checks the status of a CRD

func RunCreate

func RunCreate(cmd *cobra.Command, args []string)

RunCreate runs a CLI command

func RunDelete

func RunDelete(cmd *cobra.Command, args []string)

RunDelete runs a CLI command

func RunStatus

func RunStatus(cmd *cobra.Command, args []string)

RunStatus runs a CLI command

func RunUpgrade added in v5.15.0

func RunUpgrade(cmd *cobra.Command, args []string)

RunUpgrade runs a CLI command

func RunWait

func RunWait(cmd *cobra.Command, args []string)

RunWait runs a CLI command

func RunYaml

func RunYaml(cmd *cobra.Command, args []string)

RunYaml dumps a combined yaml of all the CRDs from the bundled yamls

func UpgradeCRD added in v5.15.0

func UpgradeCRD(crd *CRD)

UpgradeCRD Kubernetesically applies a CRD (create if doesn't exist, update otherwise)

func WaitAllReady

func WaitAllReady()

WaitAllReady waits for all CRDs to be ready

Types

type CRD

CRD is just an alias for a long name

type Crds

type Crds struct {
	All               []*CRD
	NooBaa            *CRD
	BackingStore      *CRD
	NamespaceStore    *CRD
	BucketClass       *CRD
	NooBaaAccount     *CRD
	ObjectBucket      *CRD
	ObjectBucketClaim *CRD
}

Crds is the

func LoadCrds

func LoadCrds() *Crds

LoadCrds loads the CRDs structures from the bundled yamls

Jump to

Keyboard shortcuts

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