argoworkflows

package
v0.0.0-...-8798bf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApiVersion

func GetApiVersion() string

func GetDefaultWorklfows

func GetDefaultWorklfows(_ context.Context, business, technology, args string) ([]byte, error)

func GetKind

func GetKind() string

func UnmarshalWorkflow

func UnmarshalWorkflow(wfStr string, strict bool) (wfv1.Workflow, error)

unmarshalWorkflows unmarshals the input bytes as either json or yaml

func UnmarshalWorkflows

func UnmarshalWorkflows(wfStr string, strict bool) ([]wfv1.Workflow, error)

Types

type WorkflowInterface

type WorkflowInterface interface {
	List(ctx context.Context, opts metav1.ListOptions) (*wfv1.WorkflowList, error)
	Get(ctx context.Context, name string, options metav1.GetOptions) (*wfv1.Workflow, error)
	Create(context.Context, *wfv1.Workflow) (*wfv1.Workflow, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Delete(ctx context.Context, name string) error
}

type WorkflowV1Alpha1Client

type WorkflowV1Alpha1Client struct {
	// contains filtered or unexported fields
}

func NewForConfig

func NewForConfig(c *rest.Config) (*WorkflowV1Alpha1Client, error)

func (*WorkflowV1Alpha1Client) Workflows

func (c *WorkflowV1Alpha1Client) Workflows(namespace string) WorkflowInterface

type WorkflowV1Alpha1Interface

type WorkflowV1Alpha1Interface interface {
	Workflows(namespace string) WorkflowInterface
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL