Documentation ¶
Index ¶
- type ID
- type Pair
- type RawJson
- type ToBeValidated
- func (tbv *ToBeValidated) Validate(slsState *sls_client.SlsState) ([]common.ValidationResult, error)
- func (tbv *ToBeValidated) ValidateHTTPResponse(slsState *sls_client.SlsState, response *http.Response) ([]common.ValidationResult, error)
- func (tbv *ToBeValidated) ValidateString(slsStateBytes []byte) ([]common.ValidationResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ToBeValidated ¶ added in v0.4.0
type ToBeValidated struct { ValidRoles []string ValidSubRoles []string K8sPodsCidr string K8sServicesCidr string }
func (*ToBeValidated) Validate ¶ added in v0.4.0
func (tbv *ToBeValidated) Validate(slsState *sls_client.SlsState) ([]common.ValidationResult, error)
func (*ToBeValidated) ValidateHTTPResponse ¶ added in v0.4.0
func (tbv *ToBeValidated) ValidateHTTPResponse(slsState *sls_client.SlsState, response *http.Response) ([]common.ValidationResult, error)
Validate validates the data in the response against the SLS schema.
func (*ToBeValidated) ValidateString ¶ added in v0.4.0
func (tbv *ToBeValidated) ValidateString(slsStateBytes []byte) ([]common.ValidationResult, error)
Click to show internal directories.
Click to hide internal directories.