Documentation ¶
Index ¶
- type Validator
- func (v Validator) DefaultBuildRequest(request *types.Build)
- func (v Validator) DefaultDeployRequest(request *types.InferenceDeployment)
- func (v Validator) ValidateBuildRequest(request *types.Build) error
- func (v Validator) ValidateDeployRequest(request *types.InferenceDeployment) error
- func (v Validator) ValidateService(service string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (Validator) DefaultBuildRequest ¶
func (Validator) DefaultDeployRequest ¶
func (v Validator) DefaultDeployRequest(request *types.InferenceDeployment)
DefaultDeployRequest sets default values for the deploy request.
func (Validator) ValidateBuildRequest ¶
func (Validator) ValidateDeployRequest ¶
func (v Validator) ValidateDeployRequest(request *types.InferenceDeployment) error
ValidateDeployRequest validates that the service name is valid for Kubernetes
func (Validator) ValidateService ¶
Validates that the service name is valid for Kubernetes
Click to show internal directories.
Click to hide internal directories.