Documentation ¶
Index ¶
Constants ¶
View Source
const K8sDoguOperatorClientDependencyName = "k8s-dogu-operator"
Variables ¶
This section is empty.
Functions ¶
func NewDoguDependencyValidator ¶
func NewDoguDependencyValidator(localDoguRegistry registry.DoguRegistry) *doguDependencyValidator
NewDoguDependencyValidator creates a new dogu dependencies checker
func NewOperatorDependencyValidator ¶
NewOperatorDependencyValidator creates a new operator dependency validator
Types ¶
type CompositeDependencyValidator ¶
type CompositeDependencyValidator struct {
Validators []DependencyValidator `json:"validators"`
}
CompositeDependencyValidator is a composite validator responsible to validate the dogu and client dependencies of dogus.
func NewCompositeDependencyValidator ¶
func NewCompositeDependencyValidator(version *core.Version, doguRegistry registry.DoguRegistry) *CompositeDependencyValidator
NewCompositeDependencyValidator create a new composite validator checking the dogu and client dependencies
func (*CompositeDependencyValidator) ValidateDependencies ¶
func (dv *CompositeDependencyValidator) ValidateDependencies(ctx context.Context, dogu *core.Dogu) error
ValidateDependencies validates all kinds of dependencies for dogus. An error is returned when any invalid dependencies were detected.
Click to show internal directories.
Click to hide internal directories.