validation

package
v1.15.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlternatorWriteIsolationAlways         = "always"
	AlternatorWriteIsolationForbidRMW      = "forbid_rmw"
	AlternatorWriteIsolationOnlyRMWUsesLWT = "only_rmw_uses_lwt"
)

Variables

Functions

func ValidateAlternatorSpec added in v1.12.0

func ValidateAlternatorSpec(alternator *scyllav1.AlternatorSpec, fldPath *field.Path) field.ErrorList

func ValidateBackupTaskSpec added in v1.13.0

func ValidateBackupTaskSpec(backupTaskSpec *scyllav1.BackupTaskSpec, fldPath *field.Path) field.ErrorList

func ValidateBroadcastOptions added in v1.11.0

func ValidateBroadcastOptions(options scyllav1.BroadcastOptions, nodeService *scyllav1.NodeServiceTemplate, fldPath *field.Path) field.ErrorList

func ValidateExposeOptions

func ValidateExposeOptions(options *scyllav1.ExposeOptions, fldPath *field.Path) field.ErrorList

func ValidateImageRef added in v1.14.0

func ValidateImageRef(imageRef string, fldPath *field.Path) field.ErrorList

func ValidateIngressOptions

func ValidateIngressOptions(options *scyllav1.IngressOptions, fldPath *field.Path) field.ErrorList

func ValidateLocalDiskSetup added in v1.9.0

func ValidateLocalDiskSetup(lds *scyllav1alpha1.LocalDiskSetup, fldPath *field.Path) field.ErrorList

func ValidateLocalDiskSetupFilesystems added in v1.9.0

func ValidateLocalDiskSetupFilesystems(fcs []scyllav1alpha1.FilesystemConfiguration, fldPath *field.Path) field.ErrorList

func ValidateLocalDiskSetupMounts added in v1.9.0

func ValidateLocalDiskSetupMounts(mcs []scyllav1alpha1.MountConfiguration, fldPath *field.Path) field.ErrorList

func ValidateLocalDiskSetupRAIDs added in v1.9.0

func ValidateLocalDiskSetupRAIDs(rcs []scyllav1alpha1.RAIDConfiguration, fldPath *field.Path) field.ErrorList

func ValidateNodeBroadcastOptions added in v1.11.0

func ValidateNodeBroadcastOptions(options *scyllav1.NodeBroadcastOptions, nodeService *scyllav1.NodeServiceTemplate, fldPath *field.Path) field.ErrorList

func ValidateNodeConfig added in v1.9.0

func ValidateNodeConfig(nc *scyllav1alpha1.NodeConfig) field.ErrorList

func ValidateNodeConfigSpec added in v1.9.0

func ValidateNodeConfigSpec(spec *scyllav1alpha1.NodeConfigSpec, fldPath *field.Path) field.ErrorList

func ValidateNodeConfigSpecUpdate added in v1.9.0

func ValidateNodeConfigSpecUpdate(new, old *scyllav1alpha1.NodeConfig, fldPath *field.Path) field.ErrorList

func ValidateNodeConfigUpdate added in v1.9.0

func ValidateNodeConfigUpdate(new, old *scyllav1alpha1.NodeConfig) field.ErrorList

func ValidateNodeService added in v1.11.0

func ValidateNodeService(nodeService *scyllav1.NodeServiceTemplate, fldPath *field.Path) field.ErrorList

func ValidateOperatorManagedTLSCertificateOptions added in v1.12.0

func ValidateOperatorManagedTLSCertificateOptions(opts *scyllav1.OperatorManagedTLSCertificateOptions, fldPath *field.Path) field.ErrorList

func ValidateRepairTaskSpec added in v1.13.0

func ValidateRepairTaskSpec(repairTaskSpec *scyllav1.RepairTaskSpec, fldPath *field.Path) field.ErrorList

func ValidateSchedulerTaskSpec added in v1.13.0

func ValidateSchedulerTaskSpec(schedulerTaskSpec *scyllav1.SchedulerTaskSpec, fldPath *field.Path) field.ErrorList

func ValidateScyllaCluster

func ValidateScyllaCluster(c *scyllav1.ScyllaCluster) field.ErrorList

func ValidateScyllaClusterRackSpec

func ValidateScyllaClusterRackSpec(rack scyllav1.RackSpec, rackNames sets.String, fldPath *field.Path) field.ErrorList

func ValidateScyllaClusterSpec

func ValidateScyllaClusterSpec(spec *scyllav1.ScyllaClusterSpec, fldPath *field.Path) field.ErrorList

func ValidateScyllaClusterSpecUpdate

func ValidateScyllaClusterSpecUpdate(new, old *scyllav1.ScyllaCluster, fldPath *field.Path) field.ErrorList

func ValidateScyllaClusterUpdate

func ValidateScyllaClusterUpdate(new, old *scyllav1.ScyllaCluster) field.ErrorList

func ValidateScyllaDBDatacenter added in v1.15.0

func ValidateScyllaDBDatacenter(sdc *scyllav1alpha1.ScyllaDBDatacenter) field.ErrorList

func ValidateScyllaDBDatacenterAlternatorOptions added in v1.15.0

func ValidateScyllaDBDatacenterAlternatorOptions(alternator *scyllav1alpha1.AlternatorOptions, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterBroadcastOptions added in v1.15.0

func ValidateScyllaDBDatacenterBroadcastOptions[BT ~string, ST ~string](broadcastAddressType BT, supportedBroadcastedTypes []BT, defaultNodeServiceType ST, nodeServiceType *ST, allowedNodeServiceTypesByBroadcastAddressType map[BT][]ST, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterIngressOptions added in v1.15.0

func ValidateScyllaDBDatacenterIngressOptions(options *scyllav1alpha1.ExposeOptions, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterNodeService added in v1.15.0

func ValidateScyllaDBDatacenterNodeService(options *scyllav1alpha1.ExposeOptions, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterOperatorManagedTLSCertificateOptions added in v1.15.0

func ValidateScyllaDBDatacenterOperatorManagedTLSCertificateOptions(options *scyllav1alpha1.OperatorManagedTLSCertificateOptions, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterRackTemplate added in v1.15.0

func ValidateScyllaDBDatacenterRackTemplate(rackTemplate *scyllav1alpha1.RackTemplate, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterScyllaDB added in v1.15.0

func ValidateScyllaDBDatacenterScyllaDB(scyllaDB *scyllav1alpha1.ScyllaDB, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterScyllaDBManagerAgent added in v1.15.0

func ValidateScyllaDBDatacenterScyllaDBManagerAgent(scyllaDBManagerAgent *scyllav1alpha1.ScyllaDBManagerAgent, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterSpec added in v1.15.0

func ValidateScyllaDBDatacenterSpec(spec *scyllav1alpha1.ScyllaDBDatacenterSpec, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterSpecExposeOptions added in v1.15.0

func ValidateScyllaDBDatacenterSpecExposeOptions(options *scyllav1alpha1.ExposeOptions, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterSpecExposeOptionsNodeBroadcastOptions added in v1.15.0

func ValidateScyllaDBDatacenterSpecExposeOptionsNodeBroadcastOptions(options *scyllav1alpha1.NodeBroadcastOptions, nodeService *scyllav1alpha1.NodeServiceTemplate, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterSpecUpdate added in v1.15.0

func ValidateScyllaDBDatacenterSpecUpdate(new, old *scyllav1alpha1.ScyllaDBDatacenter, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterTLSCertificate added in v1.15.0

func ValidateScyllaDBDatacenterTLSCertificate(servingCertificate *scyllav1alpha1.TLSCertificate, fldPath *field.Path) field.ErrorList

func ValidateScyllaDBDatacenterUpdate added in v1.15.0

func ValidateScyllaDBDatacenterUpdate(new, old *scyllav1alpha1.ScyllaDBDatacenter) field.ErrorList

func ValidateScyllaDBDatacenterUserManagedTLSCertificateOptions added in v1.15.0

func ValidateScyllaDBDatacenterUserManagedTLSCertificateOptions(options *scyllav1alpha1.UserManagedTLSCertificateOptions, fldPath *field.Path) field.ErrorList

func ValidateScyllaOperatorConfig added in v1.14.0

func ValidateScyllaOperatorConfig(nc *scyllav1alpha1.ScyllaOperatorConfig) field.ErrorList

func ValidateScyllaOperatorConfigSpec added in v1.14.0

func ValidateScyllaOperatorConfigSpec(spec *scyllav1alpha1.ScyllaOperatorConfigSpec, fldPath *field.Path) field.ErrorList

func ValidateScyllaOperatorConfigUpdate added in v1.14.0

func ValidateScyllaOperatorConfigUpdate(new, old *scyllav1alpha1.ScyllaOperatorConfig) field.ErrorList

func ValidateSemanticVersion added in v1.14.0

func ValidateSemanticVersion(v string, fldPath *field.Path) field.ErrorList

func ValidateTLSCertificate added in v1.12.0

func ValidateTLSCertificate(cert *scyllav1.TLSCertificate, fldPath *field.Path) field.ErrorList

func ValidateTaskSpec added in v1.13.0

func ValidateTaskSpec(taskSpec *scyllav1.TaskSpec, fldPath *field.Path) field.ErrorList

func ValidateUserManagedTLSCertificateOptions added in v1.12.0

func ValidateUserManagedTLSCertificateOptions(opts *scyllav1.UserManagedTLSCertificateOptions, fldPath *field.Path) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL