Documentation ¶
Index ¶
- Constants
- func CreateKubeconfigFile(directory string, resource *model.ClusterDetails) error
- func GetData(spec map[string]interface{}, path, output string) ([]byte, error)
- type TaskInterface
- func (ti *TaskInterface) CloneRepository(revision string, directory string) error
- func (ti *TaskInterface) ProcessAWS(directory string) error
- func (ti *TaskInterface) ProcessClusters(directory string) error
- func (ti *TaskInterface) ProcessCredentials(directory string) error
- func (ti *TaskInterface) ProcessGCP(directory string) error
- func (ti *TaskInterface) ReadData(path string) ([]byte, error)
- func (ti *TaskInterface) WriteFile(file, path, output string) error
Constants ¶
View Source
const ( DefaultName = "default" DefaultPath = "/workspace" DefaultRevision = "master" KubeConfigFile = "kubeconfig" )
Variables ¶
This section is empty.
Functions ¶
func CreateKubeconfigFile ¶
func CreateKubeconfigFile(directory string, resource *model.ClusterDetails) error
Types ¶
type TaskInterface ¶
type TaskInterface struct {
// contains filtered or unexported fields
}
func NewTaskInterface ¶
func NewTaskInterface(opts taskutil.DefaultPlanOptions) *TaskInterface
func (*TaskInterface) CloneRepository ¶
func (ti *TaskInterface) CloneRepository(revision string, directory string) error
func (*TaskInterface) ProcessAWS ¶
func (ti *TaskInterface) ProcessAWS(directory string) error
func (*TaskInterface) ProcessClusters ¶
func (ti *TaskInterface) ProcessClusters(directory string) error
func (*TaskInterface) ProcessCredentials ¶
func (ti *TaskInterface) ProcessCredentials(directory string) error
func (*TaskInterface) ProcessGCP ¶ added in v1.16.0
func (ti *TaskInterface) ProcessGCP(directory string) error
func (*TaskInterface) WriteFile ¶
func (ti *TaskInterface) WriteFile(file, path, output string) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.