mirror of https://github.com/k3s-io/k3s
Merge pull request #30648 from hongchaodeng/cleanup
Automatic merge from submit-queue pkg/storage: cleanup unused Config The entry has been moved to [pkg/storage/storagebackend/factory.Create()](https://github.com/kubernetes/kubernetes/blob/master/pkg/storage/storagebackend/factory/factory.go#L27)pull/6/head
commit
ce78648fe5
|
@ -186,13 +186,3 @@ type Interface interface {
|
||||||
// Codec provides access to the underlying codec being used by the implementation.
|
// Codec provides access to the underlying codec being used by the implementation.
|
||||||
Codec() runtime.Codec
|
Codec() runtime.Codec
|
||||||
}
|
}
|
||||||
|
|
||||||
// Config interface allows storage tiers to generate the proper storage.interface
|
|
||||||
// and reduce the dependencies to encapsulate storage.
|
|
||||||
type Config interface {
|
|
||||||
// Creates the Interface base on ConfigObject
|
|
||||||
NewStorage() (Interface, error)
|
|
||||||
|
|
||||||
// This function is used to enforce membership, and return the underlying type
|
|
||||||
GetType() string
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue