remove unused repo provider consts (#176)
This commit is contained in:
parent
f3866b7283
commit
9abfb486d8
@ -19,9 +19,6 @@ type BackupOperation struct {
|
|||||||
|
|
||||||
Targets []string // something for targets/filter/source/app&users/etc
|
Targets []string // something for targets/filter/source/app&users/etc
|
||||||
Work []string // something to reference the artifacts created, or at least their count
|
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.
|
// NewBackupOperation constructs and validates a backup operation.
|
||||||
|
|||||||
@ -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]]
|
|
||||||
}
|
|
||||||
@ -13,14 +13,6 @@ import (
|
|||||||
"github.com/alcionai/corso/pkg/storage"
|
"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.
|
// Repository contains storage provider information.
|
||||||
type Repository struct {
|
type Repository struct {
|
||||||
ID uuid.UUID
|
ID uuid.UUID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user