Documentation ¶
Index ¶
- func GetApiVersion() string
- func GetDefaultWorklfows(_ context.Context, business, technology, args string) ([]byte, error)
- func GetKind() string
- func UnmarshalWorkflow(wfStr string, strict bool) (wfv1.Workflow, error)
- func UnmarshalWorkflows(wfStr string, strict bool) ([]wfv1.Workflow, error)
- type WorkflowInterface
- type WorkflowV1Alpha1Client
- type WorkflowV1Alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApiVersion ¶
func GetApiVersion() string
func GetDefaultWorklfows ¶
func UnmarshalWorkflow ¶
unmarshalWorkflows unmarshals the input bytes as either json or yaml
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
}
Click to show internal directories.
Click to hide internal directories.