Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
CreateClusterWorkflow(ctx context.Context, cwf *openchoreov1alpha1.ClusterWorkflow) (*openchoreov1alpha1.ClusterWorkflow, error)
UpdateClusterWorkflow(ctx context.Context, cwf *openchoreov1alpha1.ClusterWorkflow) (*openchoreov1alpha1.ClusterWorkflow, error)
ListClusterWorkflows(ctx context.Context, opts services.ListOptions) (*services.ListResult[openchoreov1alpha1.ClusterWorkflow], error)
GetClusterWorkflow(ctx context.Context, clusterWorkflowName string) (*openchoreov1alpha1.ClusterWorkflow, error)
DeleteClusterWorkflow(ctx context.Context, clusterWorkflowName string) error
GetClusterWorkflowSchema(ctx context.Context, clusterWorkflowName string) (map[string]any, error)
}
Service defines the cluster workflow service interface. Both the core service (no authz) and the authz-wrapped service implement this. Methods accept and return Kubernetes CRD types directly for alignment with the K8s-native API design.
func NewService ¶
NewService creates a new cluster workflow service without authorization.
Click to show internal directories.
Click to hide internal directories.