github.com/openshift/installer@v1.4.17/pkg/destroy/providers/types.go (about) 1 package providers 2 3 import ( 4 "github.com/sirupsen/logrus" 5 6 "github.com/openshift/installer/pkg/types" 7 ) 8 9 // Destroyer allows multiple implementations of destroy 10 // for different platforms. 11 type Destroyer interface { 12 Run() (*types.ClusterQuota, error) 13 } 14 15 // NewFunc is an interface for creating platform-specific destroyers. 16 type NewFunc func(logger logrus.FieldLogger, metadata *types.ClusterMetadata) (Destroyer, error)