mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 04:45:42 +02:00
Use cobra (#234)
switch to cobra Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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,
|
||||
}
|
||||
}
|
||||
|
||||
// Args returns the args.
|
||||
func (b *CacheImpl) Args() string {
|
||||
return ""
|
||||
}
|
||||
Reference in New Issue
Block a user