github.com/gocrane/crane@v0.11.0/pkg/recommendation/framework/prepare.go (about)

     1  package framework
     2  
     3  // PrePrepare interface
     4  type PrePrepare interface {
     5  	CheckDataProviders(ctx *RecommendationContext) error
     6  }
     7  
     8  // Prepare interface
     9  type Prepare interface {
    10  	CollectData(ctx *RecommendationContext) error
    11  }
    12  
    13  type PostPrepare interface {
    14  	PostProcessing(ctx *RecommendationContext) error
    15  }