v1alphaExamples

package
v0.84.1-rc7 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package v1alphaExamples is responsible for generating v1alpha objects' examples. Each object MUST expose the following function providing ALL its examples:

func <OBJECT_NAME>() []Example

Each object's examples should be validated statically, place these tests under validation_test.go file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Example

type Example interface {
	GetObject() any
	GetVariant() string
	GetSubVariant() string
	GetYAMLComments() []string
}

func Agent

func Agent() []Example

func AlertMethod

func AlertMethod() []Example

func AlertPolicy

func AlertPolicy() []Example

func AlertSilence

func AlertSilence() []Example

func Annotation

func Annotation() []Example

func BudgetAdjustment

func BudgetAdjustment() []Example

func DataExport

func DataExport() []Example

func Direct

func Direct() []Example

func Labels

func Labels() []Example

func MetadataAnnotations

func MetadataAnnotations() []Example

func Project

func Project() []Example

func Report added in v0.84.0

func Report() []Example

func RoleBinding

func RoleBinding() []Example

func SLO

func SLO() []Example

func Service

func Service() []Example

Jump to

Keyboard shortcuts

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