github.com/openshift/installer@v1.4.17/pkg/gather/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  // Gather allows multiple implementations of gather
    10  // for different platforms.
    11  type Gather interface {
    12  	Run() error
    13  }
    14  
    15  // NewFunc is an interface for creating platform-specific gather methods.
    16  type NewFunc func(logger logrus.FieldLogger, serialLogBundle string, bootstrap string, masters []string, metadata *types.ClusterMetadata) (Gather, error)