Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compatibility ¶
type Compatibility struct {
// contains filtered or unexported fields
}
Compatibility holds compatibility details for configuration
func NewCompatibility ¶
func NewCompatibility(w Consoler) *Compatibility
NewCompatibility creates a new compatibility checker
func (*Compatibility) AddChanged ¶
func (c *Compatibility) AddChanged(changed ...string)
AddChanged adds a changed field to the compatibility list
func (*Compatibility) AddDeprecated ¶
func (c *Compatibility) AddDeprecated(deprecated ...string)
AddDeprecated adds a deprecated field to the compatibility list
func (*Compatibility) AddRemoved ¶
func (c *Compatibility) AddRemoved(removed ...string)
AddRemoved adds a removed field to the compatibility list
func (*Compatibility) Report ¶
func (c *Compatibility) Report()
Report return the compatibility issues
type Consoler ¶
type Consoler interface { Info(msg ...interface{}) Warn(msg ...interface{}) Error(msg ...interface{}) }
Consoler is the interface for the console output
type MockCompatibility ¶
Compatibility holds compatibility details for configuration
func NewMockCompatibility ¶
func NewMockCompatibility() *MockCompatibility
NewCompatibility creates a new compatibility checker
func (*MockCompatibility) AddChanged ¶
func (c *MockCompatibility) AddChanged(changed ...string)
AddChanged adds a changed field to the compatibility list
func (*MockCompatibility) AddDeprecated ¶
func (c *MockCompatibility) AddDeprecated(deprecated ...string)
AddDeprecated adds a deprecated field to the compatibility list
func (*MockCompatibility) AddRemoved ¶
func (c *MockCompatibility) AddRemoved(removed ...string)
AddRemoved adds a removed field to the compatibility list
func (*MockCompatibility) Report ¶
func (c *MockCompatibility) Report()
Report return the compatibility issues