Documentation ¶
Index ¶
- func CreateNamespaceIfNotPresent(ctx context.Context, namespace string, client kubernetes.Client) error
- type CollectDiagnosticsTask
- func (s *CollectDiagnosticsTask) Checkpoint() *task.CompletedTask
- func (s *CollectDiagnosticsTask) Name() string
- func (s *CollectDiagnosticsTask) Restore(ctx context.Context, commandContext *task.CommandContext, ...) (task.Task, error)
- func (s *CollectDiagnosticsTask) Run(ctx context.Context, commandContext *task.CommandContext) task.Task
- type CollectMgmtClusterDiagnosticsTask
- func (s *CollectMgmtClusterDiagnosticsTask) Checkpoint() *task.CompletedTask
- func (s *CollectMgmtClusterDiagnosticsTask) Name() string
- func (s *CollectMgmtClusterDiagnosticsTask) Restore(ctx context.Context, commandContext *task.CommandContext, ...) (task.Task, error)
- func (s *CollectMgmtClusterDiagnosticsTask) Run(ctx context.Context, commandContext *task.CommandContext) task.Task
- type CollectWorkloadClusterDiagnosticsTask
- func (s *CollectWorkloadClusterDiagnosticsTask) Checkpoint() *task.CompletedTask
- func (s *CollectWorkloadClusterDiagnosticsTask) Name() string
- func (s *CollectWorkloadClusterDiagnosticsTask) Restore(ctx context.Context, commandContext *task.CommandContext, ...) (task.Task, error)
- func (s *CollectWorkloadClusterDiagnosticsTask) Run(ctx context.Context, commandContext *task.CommandContext) task.Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNamespaceIfNotPresent ¶ added in v0.19.0
func CreateNamespaceIfNotPresent(ctx context.Context, namespace string, client kubernetes.Client) error
CreateNamespaceIfNotPresent creates the namespace on the cluster if it does not already exist.
Types ¶
type CollectDiagnosticsTask ¶ added in v0.6.1
type CollectDiagnosticsTask struct { *CollectWorkloadClusterDiagnosticsTask *CollectMgmtClusterDiagnosticsTask }
func (*CollectDiagnosticsTask) Checkpoint ¶ added in v0.9.2
func (s *CollectDiagnosticsTask) Checkpoint() *task.CompletedTask
func (*CollectDiagnosticsTask) Name ¶ added in v0.6.1
func (s *CollectDiagnosticsTask) Name() string
func (*CollectDiagnosticsTask) Restore ¶ added in v0.9.2
func (s *CollectDiagnosticsTask) Restore(ctx context.Context, commandContext *task.CommandContext, completedTask *task.CompletedTask) (task.Task, error)
func (*CollectDiagnosticsTask) Run ¶ added in v0.6.1
func (s *CollectDiagnosticsTask) Run(ctx context.Context, commandContext *task.CommandContext) task.Task
type CollectMgmtClusterDiagnosticsTask ¶ added in v0.6.1
type CollectMgmtClusterDiagnosticsTask struct{}
func (*CollectMgmtClusterDiagnosticsTask) Checkpoint ¶ added in v0.9.2
func (s *CollectMgmtClusterDiagnosticsTask) Checkpoint() *task.CompletedTask
func (*CollectMgmtClusterDiagnosticsTask) Name ¶ added in v0.6.1
func (s *CollectMgmtClusterDiagnosticsTask) Name() string
func (*CollectMgmtClusterDiagnosticsTask) Restore ¶ added in v0.9.2
func (s *CollectMgmtClusterDiagnosticsTask) Restore(ctx context.Context, commandContext *task.CommandContext, completedTask *task.CompletedTask) (task.Task, error)
func (*CollectMgmtClusterDiagnosticsTask) Run ¶ added in v0.6.1
func (s *CollectMgmtClusterDiagnosticsTask) Run(ctx context.Context, commandContext *task.CommandContext) task.Task
type CollectWorkloadClusterDiagnosticsTask ¶ added in v0.6.1
type CollectWorkloadClusterDiagnosticsTask struct{}
func (*CollectWorkloadClusterDiagnosticsTask) Checkpoint ¶ added in v0.19.0
func (s *CollectWorkloadClusterDiagnosticsTask) Checkpoint() *task.CompletedTask
Checkpoint sets a checkpoint at CollectWorkloadClusterDiagnosticsTask.
func (*CollectWorkloadClusterDiagnosticsTask) Name ¶ added in v0.6.1
func (s *CollectWorkloadClusterDiagnosticsTask) Name() string
Name returns the name of CollectWorkloadClusterDiagnosticsTask.
func (*CollectWorkloadClusterDiagnosticsTask) Restore ¶ added in v0.19.0
func (s *CollectWorkloadClusterDiagnosticsTask) Restore(ctx context.Context, commandContext *task.CommandContext, completedTask *task.CompletedTask) (task.Task, error)
Restore restores from CollectWorkloadClusterDiagnosticsTask.
func (*CollectWorkloadClusterDiagnosticsTask) Run ¶ added in v0.6.1
func (s *CollectWorkloadClusterDiagnosticsTask) Run(ctx context.Context, commandContext *task.CommandContext) task.Task
Run starts collecting the logs for workload cluster diagnostics.
Click to show internal directories.
Click to hide internal directories.