Documentation ¶
Index ¶
- type Analysis
- func (a *Analysis) AddDeleted(resources ...*resource.Resource)
- func (a *Analysis) AddDifference(diffs ...Difference)
- func (a *Analysis) AddManaged(resources ...*resource.Resource)
- func (a *Analysis) AddUnmanaged(resources ...*resource.Resource)
- func (a *Analysis) Alerts() alerter.Alerts
- func (a *Analysis) Coverage() int
- func (a *Analysis) Deleted() []*resource.Resource
- func (a *Analysis) Differences() []Difference
- func (a *Analysis) DriftIgnoreList(opts GenDriftIgnoreOptions) (int, string)
- func (a *Analysis) IsSync() bool
- func (a *Analysis) Managed() []*resource.Resource
- func (a Analysis) MarshalJSON() ([]byte, error)
- func (a *Analysis) Options() AnalyzerOptions
- func (a *Analysis) SetAlerts(alerts alerter.Alerts)
- func (a *Analysis) SetIaCSourceCount(i uint)
- func (a *Analysis) SetOptions(options AnalyzerOptions)
- func (a *Analysis) SortResources()
- func (a *Analysis) Summary() Summary
- func (a *Analysis) Unmanaged() []*resource.Resource
- func (a *Analysis) UnmarshalJSON(bytes []byte) error
- type Analyzer
- type AnalyzerOptions
- type Change
- type Changelog
- type ComputedDiffAlert
- type Difference
- type GenDriftIgnoreOptions
- type Summary
- type UnmanagedSecurityGroupRulesAlert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analysis ¶
type Analysis struct { Duration time.Duration Date time.Time ProviderName string ProviderVersion string // contains filtered or unexported fields }
func NewAnalysis ¶
func NewAnalysis(options AnalyzerOptions) *Analysis
func (*Analysis) AddDeleted ¶
func (*Analysis) AddDifference ¶
func (a *Analysis) AddDifference(diffs ...Difference)
func (*Analysis) AddManaged ¶
func (*Analysis) AddUnmanaged ¶
func (*Analysis) Differences ¶
func (a *Analysis) Differences() []Difference
func (*Analysis) DriftIgnoreList ¶
func (a *Analysis) DriftIgnoreList(opts GenDriftIgnoreOptions) (int, string)
func (Analysis) MarshalJSON ¶
func (*Analysis) Options ¶
func (a *Analysis) Options() AnalyzerOptions
func (*Analysis) SetIaCSourceCount ¶ added in v0.23.0
func (*Analysis) SetOptions ¶ added in v0.22.0
func (a *Analysis) SetOptions(options AnalyzerOptions)
func (*Analysis) SortResources ¶
func (a *Analysis) SortResources()
func (*Analysis) UnmarshalJSON ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
func NewAnalyzer ¶
type AnalyzerOptions ¶
type Change ¶
func SortChanges ¶
type ComputedDiffAlert ¶
type ComputedDiffAlert struct{}
func NewComputedDiffAlert ¶
func NewComputedDiffAlert() *ComputedDiffAlert
func (*ComputedDiffAlert) Message ¶
func (c *ComputedDiffAlert) Message() string
func (*ComputedDiffAlert) ShouldIgnoreResource ¶
func (c *ComputedDiffAlert) ShouldIgnoreResource() bool
type Difference ¶
func SortDifferences ¶
func SortDifferences(diffs []Difference) []Difference
type GenDriftIgnoreOptions ¶
type UnmanagedSecurityGroupRulesAlert ¶
type UnmanagedSecurityGroupRulesAlert struct{}
func (*UnmanagedSecurityGroupRulesAlert) Message ¶
func (u *UnmanagedSecurityGroupRulesAlert) Message() string
func (*UnmanagedSecurityGroupRulesAlert) ShouldIgnoreResource ¶
func (u *UnmanagedSecurityGroupRulesAlert) ShouldIgnoreResource() bool
Click to show internal directories.
Click to hide internal directories.