package atcclient

import "github.com/concourse/atc"

//go:generate counterfeiter . Handler
type Handler interface {
	// 	AbortBuild()
	// 	BuildEvents()
	// 	CreateBuild()
	// 	CreatePipe()
	// 	DeletePipeline()
	// 	DownloadCLI()
	// 	HijackContainer()
	// 	ListContainer()
	// 	ListJobInputs()
	// 	ReadPipe()
	// 	SaveConfig()
	// 	WritePipe()
	AllBuilds() ([]atc.Build, error)
	Build(buildID string) (atc.Build, error)
	Job(pipelineName, jobName string) (atc.Job, error)
	JobBuild(pipelineName, jobName, buildName string) (atc.Build, error)
	PipelineConfig(pipelineName string) (atc.Config, error)
}

type AtcHandler struct {
	client Client
}

func NewAtcHandler(c Client) AtcHandler {
	return AtcHandler{client: c}
}

package atcclient

import "github.com/concourse/atc"

//go:generate counterfeiter . Handler
type Handler interface {
	// 	AbortBuild()
	// 	BuildEvents()
	// 	CreateBuild()
	// 	CreatePipe()
	// 	DeletePipeline()
	// 	DownloadCLI()
	// 	GetConfig()
	// 	HijackContainer()
	// 	ListContainer()
	// 	ListJobInputs()
	// 	ReadPipe()
	// 	SaveConfig()
	// 	WritePipe()
	AllBuilds() ([]atc.Build, error)
	Build(buildID string) (atc.Build, error)
	Job(pipelineName, jobName string) (atc.Job, error)
	JobBuild(pipelineName, jobName, buildName string) (atc.Build, error)
}

type AtcHandler struct {
	client Client
}

func NewAtcHandler(c Client) AtcHandler {
	return AtcHandler{client: c}
}

--- 
+++ 
@@ -10,7 +10,6 @@
 	// 	CreatePipe()
 	// 	DeletePipeline()
 	// 	DownloadCLI()
-	// 	GetConfig()
 	// 	HijackContainer()
 	// 	ListContainer()
 	// 	ListJobInputs()
@@ -21,6 +20,7 @@
 	Build(buildID string) (atc.Build, error)
 	Job(pipelineName, jobName string) (atc.Job, error)
 	JobBuild(pipelineName, jobName, buildName string) (atc.Build, error)
+	PipelineConfig(pipelineName string) (atc.Config, error)
 }
 
 type AtcHandler struct {
Use atcHandler.PipelineConfig instead of GetConfig

[#105155444]

Signed-off-by: Evan Short <5b1db704470d35a058f1f4a9e1a5a172a6ea69d3@pivotal.io>
