remove unused repo provider consts (#176)

This commit is contained in:
Keepers 2022-06-09 13:49:34 -06:00 committed by GitHub
parent f3866b7283
commit 9abfb486d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 35 deletions

View File

@ -19,9 +19,6 @@ type BackupOperation struct {
Targets []string // something for targets/filter/source/app&users/etc
Work []string // something to reference the artifacts created, or at least their count
// todo - graphConnector data streams
// dataStreams []*DataStream
}
// NewBackupOperation constructs and validates a backup operation.

View File

@ -1,24 +0,0 @@
// Code generated by "stringer -type=repoProvider"; DO NOT EDIT.
package repository
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ProviderUnknown-0]
_ = x[ProviderS3-1]
}
const _repoProvider_name = "ProviderUnknownProviderS3"
var _repoProvider_index = [...]uint8{0, 15, 25}
func (i repoProvider) String() string {
if i < 0 || i >= repoProvider(len(_repoProvider_index)-1) {
return "repoProvider(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _repoProvider_name[_repoProvider_index[i]:_repoProvider_index[i+1]]
}

View File

@ -13,14 +13,6 @@ import (
"github.com/alcionai/corso/pkg/storage"
)
type repoProvider int
//go:generate stringer -type=repoProvider
const (
ProviderUnknown repoProvider = iota // Unknown Provider
ProviderS3 // S3
)
// Repository contains storage provider information.
type Repository struct {
ID uuid.UUID