validate

package
v0.0.0-...-113f7ca Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetadataValidateContext

type MetadataValidateContext struct {
	Readme  string
	SDKRoot string
}

MetadataValidateContext describes the context needed in validation of the metadata

func (*MetadataValidateContext) MgmtCheck

func (ctx *MetadataValidateContext) MgmtCheck(tag string, metadata model.Metadata) error

MgmtCheck ensures that the management plane package has the correct output-folder

func (*MetadataValidateContext) NamespaceCheck

func (ctx *MetadataValidateContext) NamespaceCheck(tag string, metadata model.Metadata) error

NamespaceCheck ensures that the namespace only contains lower case letters, numbers and underscores

func (*MetadataValidateContext) PreviewCheck

func (ctx *MetadataValidateContext) PreviewCheck(tag string, metadata model.Metadata) error

PreviewCheck ensures the output-folder of a preview package is under the preview sub-directory

Jump to

Keyboard shortcuts

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