Documentation ¶
Index ¶
- func FormatPodName(node *v1alpha1.NodeStatus) string
- func NewMiniCache() (*redis.Client, *miniredis.Miniredis, error)
- type Archive
- type Client
- func (c Client) CreateWorkflow(namespace string, workflow *v1alpha1.Workflow) (*v1alpha1.Workflow, error)
- func (c Client) DeleteWorkflow(namespace, name string) error
- func (c Client) GetNode(workflow *v1alpha1.Workflow, name string) (*v1alpha1.NodeStatus, error)
- func (c Client) GetWorkflow(namespace, name string) (*v1alpha1.Workflow, error)
- func (c Client) ListWorkflows(ctx context.Context, namespace string) ([]v1alpha1.Workflow, error)
- type Log
- type LogsStreamer
- type StreamerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatPodName ¶
func FormatPodName(node *v1alpha1.NodeStatus) string
func NewMiniCache ¶
func NewMiniCache() (*redis.Client, *miniredis.Miniredis, error)
Types ¶
type Archive ¶
type Archive struct { BucketName string WorkflowName string `json:"workflowName"` PodName string `json:"podName"` }
func (Archive) GetBucketName ¶
func (Archive) GetFileLocation ¶
func (Archive) GetTimestamp ¶
type Client ¶
func NewInClusterArgoClient ¶
func NewLocalArgoClient ¶
func (Client) CreateWorkflow ¶
func (Client) DeleteWorkflow ¶
func (Client) GetWorkflow ¶
type LogsStreamer ¶
type LogsStreamer struct {
// contains filtered or unexported fields
}
func NewLogsStreamer ¶
func NewLogsStreamer(config StreamerConfig) (*LogsStreamer, error)
func (*LogsStreamer) GetArchivedLogsForTemplate ¶
func (s *LogsStreamer) GetArchivedLogsForTemplate(c context.Context, templateName string) (io.ReadCloser, error)
func (*LogsStreamer) IsDone ¶
func (s *LogsStreamer) IsDone() bool
func (*LogsStreamer) NumDone ¶
func (s *LogsStreamer) NumDone() int
func (*LogsStreamer) NumNodes ¶
func (s *LogsStreamer) NumNodes() int
type StreamerConfig ¶
Click to show internal directories.
Click to hide internal directories.