Documentation ¶
Index ¶
- Variables
- func ValidateChain(obj *apps.Chain) field.ErrorList
- func ValidateChainSpec(spec *apps.ChainSpec, fldPath *field.Path) field.ErrorList
- func ValidateChainSpecUpdate(newSpec, oldSpec *apps.ChainSpec, fldPath *field.Path) field.ErrorList
- func ValidateChainStatus(status *apps.ChainStatus, fldPath *field.Path) field.ErrorList
- func ValidateChainStatusUpdate(update, old *apps.Chain) field.ErrorList
- func ValidateChainUpdate(update, old *apps.Chain) field.ErrorList
- func ValidateMiner(obj *apps.Miner) field.ErrorList
- func ValidateMinerSet(obj *apps.MinerSet) field.ErrorList
- func ValidateMinerSetSpec(spec *apps.MinerSetSpec, fldPath *field.Path) field.ErrorList
- func ValidateMinerSetSpecUpdate(newSpec, oldSpec *apps.MinerSetSpec, fldPath *field.Path) field.ErrorList
- func ValidateMinerSetStatus(status *apps.MinerSetStatus, fldPath *field.Path) field.ErrorList
- func ValidateMinerSetStatusUpdate(update, old *apps.MinerSet) field.ErrorList
- func ValidateMinerSetUpdate(update, old *apps.MinerSet) field.ErrorList
- func ValidateMinerSpec(spec *apps.MinerSpec, fldPath *field.Path) field.ErrorList
- func ValidateMinerSpecUpdate(newSpec, oldSpec *apps.MinerSpec, fldPath *field.Path) field.ErrorList
- func ValidateMinerStatus(status *apps.MinerStatus, fldPath *field.Path) field.ErrorList
- func ValidateMinerStatusUpdate(update, old *apps.Miner) field.ErrorList
- func ValidateMinerUpdate(update, old *apps.Miner) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
var ValidateChainName = apimachineryvalidation.NameIsDNSSubdomain
ValidateChainName validates that the given name can be used as a chain name.
var ValidateMinerName = apimachineryvalidation.NameIsDNSSubdomain
ValidateMinerName validates that the given name can be used as a miner name.
var ValidateMinerSetName = apimachineryvalidation.NameIsDNSSubdomain
ValidateMinerSetName validates that the given name can be used as a minerset name.
Functions ¶
func ValidateChain ¶
ValidateChain validates a given Chain.
func ValidateChainSpec ¶
ValidateChainSpec validates given chain spec.
func ValidateChainSpecUpdate ¶
ValidateChainSpecUpdate tests if an update to a ChainSpec is valid.
func ValidateChainStatus ¶
ValidateChainStatus validates given chain status.
func ValidateChainStatusUpdate ¶
ValidateChainStatusUpdate tests if a an update to a Chain status is valid.
func ValidateChainUpdate ¶
ValidateChainUpdate tests if an update to a Chain is valid.
func ValidateMiner ¶
ValidateMiner validates a given Miner.
func ValidateMinerSet ¶
ValidateMinerSet validates a given MinerSet.
func ValidateMinerSetSpec ¶
ValidateMinerSetSpec validates given minerset spec.
func ValidateMinerSetSpecUpdate ¶
func ValidateMinerSetSpecUpdate(newSpec, oldSpec *apps.MinerSetSpec, fldPath *field.Path) field.ErrorList
ValidateMinerSetSpecUpdate tests if an update to a MinerSetSpec is valid.
func ValidateMinerSetStatus ¶
ValidateMinerSetStatus validates given minerset status.
func ValidateMinerSetStatusUpdate ¶
ValidateMinerSetStatusUpdate tests if a an update to a MinerSet status is valid.
func ValidateMinerSetUpdate ¶
ValidateMinerSetUpdate tests if an update to a MinerSet is valid.
func ValidateMinerSpec ¶
ValidateMinerSpec validates given miner spec.
func ValidateMinerSpecUpdate ¶
ValidateMinerSpecUpdate tests if an update to a MinerSpec is valid.
func ValidateMinerStatus ¶
ValidateMinerStatus validates given miner status.
func ValidateMinerStatusUpdate ¶
ValidateMinerStatusUpdate tests if a an update to a Miner status is valid.
Types ¶
This section is empty.