Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
korotkov-aerospike committed Oct 27, 2024
1 parent d3fbcbb commit 5d80db5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/service/aerospike_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ import (
const namespaceInfo = "namespaces"

type NamespaceValidator interface {
// MissingNamespaces returns a slice containing any namespaces specified in the
// provided slice which do not exist on the given cluster.
MissingNamespaces(cluster *model.AerospikeCluster, namespaces []string) []string
// ValidateRoutines verifies that all namespaces referenced in backup routines
// exist in their respective clusters.
ValidateRoutines(cluster *model.AerospikeCluster, config *model.Config) error
}

Expand Down

0 comments on commit 5d80db5

Please sign in to comment.