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 ¶
- type Example
- func Agent() []Example
- func AlertMethod() []Example
- func AlertPolicy() []Example
- func AlertSilence() []Example
- func Annotation() []Example
- func BudgetAdjustment() []Example
- func DataExport() []Example
- func Direct() []Example
- func Labels() []Example
- func MetadataAnnotations() []Example
- func Project() []Example
- func Report() []Example
- func RoleBinding() []Example
- func SLO() []Example
- func Service() []Example
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 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 MetadataAnnotations ¶
func MetadataAnnotations() []Example
func RoleBinding ¶
func RoleBinding() []Example
Source Files ¶
Click to show internal directories.
Click to hide internal directories.