24 lines
		
	
	
		
			461 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			461 B
		
	
	
	
		
			Go
		
	
	
	
| package config
 | |
| 
 | |
| // CacheOptions is the options for the build command
 | |
| type CacheOptions struct{}
 | |
| 
 | |
| // NewCacheOptions creates a new Apply
 | |
| func NewCacheOptions() *CacheOptions {
 | |
| 	return &CacheOptions{}
 | |
| }
 | |
| 
 | |
| // CacheImpl is impl for applyOptions
 | |
| type CacheImpl struct {
 | |
| 	*GlobalImpl
 | |
| 	*CacheOptions
 | |
| }
 | |
| 
 | |
| // NewCacheImpl creates a new CacheImpl
 | |
| func NewCacheImpl(g *GlobalImpl, b *CacheOptions) *CacheImpl {
 | |
| 	return &CacheImpl{
 | |
| 		GlobalImpl:   g,
 | |
| 		CacheOptions: b,
 | |
| 	}
 | |
| }
 |