github.com/jenkins-x/jx/v2@v2.1.155/pkg/cloud/amazon/awscli/interface.go (about)

     1  package awscli
     2  
     3  // AWS is an interface to abstract the use of the AWS CLI
     4  //go:generate pegomock generate github.com/jenkins-x/jx/v2/pkg/cloud/amazon/awscli AWS -o mocks/awsclimock.go
     5  type AWS interface {
     6  	ConnectToClusterWithAWSCLI(clusterName string) error
     7  }