github.com/buildpacks/pack@v0.33.3-0.20240516162812-884dd1837311/acceptance/config/pack_assets.go (about)

     1  //go:build acceptance
     2  // +build acceptance
     3  
     4  package config
     5  
     6  type PackAsset struct {
     7  	path         string
     8  	fixturePaths []string
     9  }
    10  
    11  func (a AssetManager) NewPackAsset(kind ComboValue) PackAsset {
    12  	path, fixtures := a.PackPaths(kind)
    13  
    14  	return PackAsset{
    15  		path:         path,
    16  		fixturePaths: fixtures,
    17  	}
    18  }
    19  
    20  func (p PackAsset) Path() string {
    21  	return p.path
    22  }
    23  
    24  func (p PackAsset) FixturePaths() []string {
    25  	return p.fixturePaths
    26  }