Documentation ¶
Index ¶
- func ClusterInfo(ctx *Context) (map[string][]byte, error)
- func ClusterResources(ctx *Context) (map[string][]byte, error)
- func Copy(ctx *Context, copyCollector *troubleshootv1beta1.Copy) (map[string][]byte, error)
- func CreateCollector(client client.Client, scheme *runtime.Scheme, ownerRef metav1.Object, ...) (*corev1.ConfigMap, *corev1.Pod, error)
- func Data(ctx *Context, dataCollector *troubleshootv1beta1.Data) (map[string][]byte, error)
- func DeterministicIDForCollector(collector *troubleshootv1beta1.Collect) string
- func Exec(ctx *Context, execCollector *troubleshootv1beta1.Exec) (map[string][]byte, error)
- func HTTP(ctx *Context, httpCollector *troubleshootv1beta1.HTTP) (map[string][]byte, error)
- func IsRBACError(err error) bool
- func Logs(ctx *Context, logsCollector *troubleshootv1beta1.Logs) (map[string][]byte, error)
- func Mysql(ctx *Context, databaseCollector *troubleshootv1beta1.Database) (map[string][]byte, error)
- func Postgres(ctx *Context, databaseCollector *troubleshootv1beta1.Database) (map[string][]byte, error)
- func Redis(ctx *Context, databaseCollector *troubleshootv1beta1.Database) (map[string][]byte, error)
- func Run(ctx *Context, runCollector *troubleshootv1beta1.Run) (map[string][]byte, error)
- func Secret(ctx *Context, secretCollector *troubleshootv1beta1.Secret) (map[string][]byte, error)
- type ClusterVersion
- type Collector
- type Collectors
- type Context
- type DatabaseConnection
- type FoundSecret
- type RBACError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCollector ¶
func DeterministicIDForCollector ¶
func DeterministicIDForCollector(collector *troubleshootv1beta1.Collect) string
func IsRBACError ¶ added in v0.9.15
Types ¶
type ClusterVersion ¶
type Collector ¶
type Collector struct { Collect *troubleshootv1beta1.Collect Redact bool RBACErrors []error ClientConfig *rest.Config Namespace string }
func (*Collector) GetContext ¶ added in v0.9.6
func (*Collector) GetDisplayName ¶ added in v0.9.5
func (*Collector) RunCollectorSync ¶
type Collectors ¶ added in v0.9.15
type Collectors []*Collector
func (Collectors) CheckRBAC ¶ added in v0.9.15
func (cs Collectors) CheckRBAC() error
type DatabaseConnection ¶ added in v0.9.27
type FoundSecret ¶
Click to show internal directories.
Click to hide internal directories.