github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/cloud/amazon/eksctl/interface.go (about) 1 package eksctl 2 3 import "github.com/olli-ai/jx/v2/pkg/cluster" 4 5 // EKSCtl is the interface that abstract the use of the eksctl cli 6 //go:generate pegomock generate github.com/olli-ai/jx/v2/pkg/cloud/amazon/eksctl EKSCtl -o mocks/eksctl.go 7 type EKSCtl interface { 8 // DeleteCluster performs an eksctl cluster deletion process 9 DeleteCluster(cluster *cluster.Cluster) error 10 }