Documentation ¶
Index ¶
- func IsNotFound(err error) bool
- func IsWorkflowStale(err error) bool
- type FlyteWorkflow
- type InmemoryWorkflowStore
- func (i *InmemoryWorkflowStore) Create(ctx context.Context, w *v1alpha1.FlyteWorkflow) error
- func (i *InmemoryWorkflowStore) Delete(ctx context.Context, namespace, name string) error
- func (i *InmemoryWorkflowStore) Get(ctx context.Context, namespace, name string) (*v1alpha1.FlyteWorkflow, error)
- func (i *InmemoryWorkflowStore) Update(ctx context.Context, w *v1alpha1.FlyteWorkflow, priorityClass PriorityClass) error
- func (i *InmemoryWorkflowStore) UpdateStatus(ctx context.Context, w *v1alpha1.FlyteWorkflow, priorityClass PriorityClass) error
- type PriorityClass
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
func IsWorkflowStale ¶
Types ¶
type FlyteWorkflow ¶
type FlyteWorkflow interface { Get(ctx context.Context, namespace, name string) (*v1alpha1.FlyteWorkflow, error) UpdateStatus(ctx context.Context, workflow *v1alpha1.FlyteWorkflow, priorityClass PriorityClass) error Update(ctx context.Context, workflow *v1alpha1.FlyteWorkflow, priorityClass PriorityClass) error }
func NewPassthroughWorkflowStore ¶
func NewPassthroughWorkflowStore(_ context.Context, scope promutils.Scope, wfClient v1alpha12.FlyteworkflowV1alpha1Interface, flyteworkflowLister listers.FlyteWorkflowLister) FlyteWorkflow
func NewResourceVersionCachingStore ¶
func NewResourceVersionCachingStore(ctx context.Context, scope promutils.Scope, workflowStore FlyteWorkflow) FlyteWorkflow
type InmemoryWorkflowStore ¶
type InmemoryWorkflowStore struct {
// contains filtered or unexported fields
}
func NewInMemoryWorkflowStore ¶
func NewInMemoryWorkflowStore() *InmemoryWorkflowStore
func (*InmemoryWorkflowStore) Create ¶
func (i *InmemoryWorkflowStore) Create(ctx context.Context, w *v1alpha1.FlyteWorkflow) error
func (*InmemoryWorkflowStore) Delete ¶
func (i *InmemoryWorkflowStore) Delete(ctx context.Context, namespace, name string) error
func (*InmemoryWorkflowStore) Get ¶
func (i *InmemoryWorkflowStore) Get(ctx context.Context, namespace, name string) (*v1alpha1.FlyteWorkflow, error)
func (*InmemoryWorkflowStore) Update ¶
func (i *InmemoryWorkflowStore) Update(ctx context.Context, w *v1alpha1.FlyteWorkflow, priorityClass PriorityClass) error
func (*InmemoryWorkflowStore) UpdateStatus ¶
func (i *InmemoryWorkflowStore) UpdateStatus(ctx context.Context, w *v1alpha1.FlyteWorkflow, priorityClass PriorityClass) error
type PriorityClass ¶
type PriorityClass int
const ( PriorityClassCritical PriorityClass = iota PriorityClassRegular )
Click to show internal directories.
Click to hide internal directories.