Skip to content

Commit

Permalink
Add DatumClusterReference type.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlreese committed Dec 4, 2024
1 parent f21ff71 commit 24648cf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api/v1alpha/datumcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ type DatumClusterList struct {
Items []DatumCluster `json:"items"`
}

type DatumClusterReference struct {
// Name of a datum cluster
//
// +kubebuilder:validation:Required
Name string `json:"name"`

// Namespace for the datum cluster
//
// +kubebuilder:validation:Required
Namespace string `json:"namespace"`
}

func init() {
SchemeBuilder.Register(&DatumCluster{}, &DatumClusterList{})
}
15 changes: 15 additions & 0 deletions api/v1alpha/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 24648cf

Please sign in to comment.