submitter

package
v0.0.0-...-44fc694 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoWorkflowSubmitter

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

ArgoWorkflowSubmitter holds configurations used for workflow submission

func New

func New(namespace, kubeConfigPath string) *ArgoWorkflowSubmitter

New returns ArgoWorkflowSubmitter struct

func (*ArgoWorkflowSubmitter) Submit

func (submitter *ArgoWorkflowSubmitter) Submit(wf wfv1.Workflow, watch bool) (*wfv1.Workflow, error)

Submit takes an Argo Workflow object and submit it to Kubernetes cluster

Jump to

Keyboard shortcuts

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