Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NPValidator ¶
type NPValidator struct {
// contains filtered or unexported fields
}
NPValidator is a validator structure used to validate CNP.
func NewNPValidator ¶
func NewNPValidator() (*NPValidator, error)
func (*NPValidator) ValidateCCNP ¶
func (n *NPValidator) ValidateCCNP(ccnp *unstructured.Unstructured) error
ValidateCCNP validates the given CCNP accordingly the CCNP validation schema.
func (*NPValidator) ValidateCNP ¶
func (n *NPValidator) ValidateCNP(cnp *unstructured.Unstructured) error
ValidateCNP validates the given CNP accordingly the CNP validation schema.
Click to show internal directories.
Click to hide internal directories.