Documentation ¶
Index ¶
- func NewAnalyzerFactory() *analyzerFactory
- func NewCollectorFactory() *collectorFactory
- func ParseTimeOptions(since string, sinceTime string) (*time.Time, error)
- type AnalyzerFactory
- type CollectorFactory
- type DiagnosticBundle
- type EksaDiagnosticBundle
- func NewBundleConfig(spec *cluster.Spec, af AnalyzerFactory, cf CollectorFactory) *EksaDiagnosticBundle
- func NewCustomBundleConfig(customBundle *v1beta2.SupportBundle, af AnalyzerFactory, cf CollectorFactory) *EksaDiagnosticBundle
- func NewDefaultBundleConfig(af AnalyzerFactory, cf CollectorFactory) *EksaDiagnosticBundle
- func ParseBundleFromDoc(clusterSpec *cluster.Spec, bundleConfig string) (*EksaDiagnosticBundle, error)
- func (e *EksaDiagnosticBundle) AnalyzeBundle(archivePath string) error
- func (e *EksaDiagnosticBundle) CollectBundleFromSpec(sinceTimeValue *time.Time) (string, error)
- func (e *EksaDiagnosticBundle) PrintBundleConfig() error
- func (e *EksaDiagnosticBundle) WithDatacenterConfig(config v1alpha1.Ref) *EksaDiagnosticBundle
- func (e *EksaDiagnosticBundle) WithDefaultAnalyzers() *EksaDiagnosticBundle
- func (e *EksaDiagnosticBundle) WithDefaultCollectors() *EksaDiagnosticBundle
- func (e *EksaDiagnosticBundle) WithExternalEtcd(config *v1alpha1.ExternalEtcdConfiguration) *EksaDiagnosticBundle
- func (e *EksaDiagnosticBundle) WithGitOpsConfig(config *v1alpha1.GitOpsConfig) *EksaDiagnosticBundle
- func (e *EksaDiagnosticBundle) WithOidcConfig(config *v1alpha1.OIDCConfig) *EksaDiagnosticBundle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnalyzerFactory ¶
func NewAnalyzerFactory() *analyzerFactory
func NewCollectorFactory ¶
func NewCollectorFactory() *collectorFactory
Types ¶
type AnalyzerFactory ¶
type CollectorFactory ¶
type DiagnosticBundle ¶
type DiagnosticBundle interface { PrintBundleConfig() error WithDefaultAnalyzers() *EksaDiagnosticBundle WithDefaultCollectors() *EksaDiagnosticBundle WithDatacenterConfig(config v1alpha1.Ref) *EksaDiagnosticBundle WithOidcConfig(config *v1alpha1.OIDCConfig) *EksaDiagnosticBundle WithExternalEtcd(config *v1alpha1.ExternalEtcdConfiguration) *EksaDiagnosticBundle WithGitOpsConfig(config *v1alpha1.GitOpsConfig) *EksaDiagnosticBundle }
type EksaDiagnosticBundle ¶
type EksaDiagnosticBundle struct {
// contains filtered or unexported fields
}
func NewBundleConfig ¶
func NewBundleConfig(spec *cluster.Spec, af AnalyzerFactory, cf CollectorFactory) *EksaDiagnosticBundle
func NewCustomBundleConfig ¶
func NewCustomBundleConfig(customBundle *v1beta2.SupportBundle, af AnalyzerFactory, cf CollectorFactory) *EksaDiagnosticBundle
func NewDefaultBundleConfig ¶
func NewDefaultBundleConfig(af AnalyzerFactory, cf CollectorFactory) *EksaDiagnosticBundle
func ParseBundleFromDoc ¶
func ParseBundleFromDoc(clusterSpec *cluster.Spec, bundleConfig string) (*EksaDiagnosticBundle, error)
func (*EksaDiagnosticBundle) AnalyzeBundle ¶
func (e *EksaDiagnosticBundle) AnalyzeBundle(archivePath string) error
func (*EksaDiagnosticBundle) CollectBundleFromSpec ¶
func (e *EksaDiagnosticBundle) CollectBundleFromSpec(sinceTimeValue *time.Time) (string, error)
func (*EksaDiagnosticBundle) PrintBundleConfig ¶
func (e *EksaDiagnosticBundle) PrintBundleConfig() error
func (*EksaDiagnosticBundle) WithDatacenterConfig ¶
func (e *EksaDiagnosticBundle) WithDatacenterConfig(config v1alpha1.Ref) *EksaDiagnosticBundle
func (*EksaDiagnosticBundle) WithDefaultAnalyzers ¶
func (e *EksaDiagnosticBundle) WithDefaultAnalyzers() *EksaDiagnosticBundle
func (*EksaDiagnosticBundle) WithDefaultCollectors ¶
func (e *EksaDiagnosticBundle) WithDefaultCollectors() *EksaDiagnosticBundle
func (*EksaDiagnosticBundle) WithExternalEtcd ¶
func (e *EksaDiagnosticBundle) WithExternalEtcd(config *v1alpha1.ExternalEtcdConfiguration) *EksaDiagnosticBundle
func (*EksaDiagnosticBundle) WithGitOpsConfig ¶
func (e *EksaDiagnosticBundle) WithGitOpsConfig(config *v1alpha1.GitOpsConfig) *EksaDiagnosticBundle
func (*EksaDiagnosticBundle) WithOidcConfig ¶
func (e *EksaDiagnosticBundle) WithOidcConfig(config *v1alpha1.OIDCConfig) *EksaDiagnosticBundle
Click to show internal directories.
Click to hide internal directories.