helmfile/pkg/config/status_impl.go

26 lines
538 B
Go

package config
// StatusImpl is impl for applyOptions
type StatusImpl struct {
*GlobalImpl
*StatusOptions
}
// NewStatusImpl creates a new StatusImpl
func NewStatusImpl(g *GlobalImpl, b *StatusOptions) *StatusImpl {
return &StatusImpl{
GlobalImpl: g,
StatusOptions: b,
}
}
// IncludeTransitiveNeeds returns the include transitive needs
func (s *StatusImpl) IncludeTransitiveNeeds() bool {
return false
}
// Concurrency returns the concurrency
func (s *StatusImpl) Concurrency() int {
return s.StatusOptions.Concurrency
}