Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MgmtCheck ¶
func MgmtCheck(ctx *MetadataValidateContext, tag string, metadata model.Metadata) error
MgmtCheck ensures that the management plane package has the correct output-folder
func PreviewCheck ¶
func PreviewCheck(ctx *MetadataValidateContext, tag string, metadata model.Metadata) error
PreviewCheck ensures the output-folder of a preview package is under the preview sub-directory
Types ¶
type MetadataValidateContext ¶
type MetadataValidateContext struct { Readme string SDKRoot string Validators []MetadataValidateFunc }
MetadataValidateContext describes the context needed in validation of the metadata
type MetadataValidateFunc ¶
type MetadataValidateFunc func(ctx *MetadataValidateContext, tag string, metadata model.Metadata) error
MetadataValidateFunc is a function that validates a metadata is legal or not
Click to show internal directories.
Click to hide internal directories.