kuberesource

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlooCustomResourceDefinition added in v0.34.7

type GlooCustomResourceDefinition struct {
	*apiextv1.CustomResourceDefinition

	// Optional: if specified from the resource, this crd definition will be wrapped in the given conditional
	//
	// E.g: `and (.Values.customValueA) (.Values.customValueB)`
	CustomEnableCondition string `json:"-" yaml:"-"`
}

func CustomResourceDefinition

func CustomResourceDefinition(
	resources []model.Resource,
	validationSchemas map[string]*apiextv1.CustomResourceValidation,
	withoutSpecHash bool,
) (*GlooCustomResourceDefinition, error)

func CustomResourceDefinitions

func CustomResourceDefinitions(
	groups []*model.Group,
) (objects []GlooCustomResourceDefinition, err error)

Create CRDs for a group

Jump to

Keyboard shortcuts

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