Documentation
¶
Overview ¶
Package utils defines custom utility methods for compiled workflows
Copyright 2018-2023 The Kubeflow Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func ConfigureCacheSettings(workflow *v1alpha1.Workflow, remove bool) *v1alpha1.Workflow
- func CreateCompiledWorkflowFile(compiledWorflow *v1alpha1.Workflow, compiledWorkflowFilePath string) *os.File
- func GetCompiledArgoWorkflow(pipelineSpecs *pipelinespec.PipelineJob, ...) *v1alpha1.Workflow
- func LoadPipelineSpecsFromIR(pipelineIRFilePath string, cacheDisabled bool, ...) (*pipelinespec.PipelineJob, *pipelinespec.SinglePlatformSpec)
- func UnmarshallWorkflowYAML(filePath string) *v1alpha1.Workflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureCacheSettings ¶
ConfigureCacheSettings - Add/Remove cache_disabled args in the workflow
func CreateCompiledWorkflowFile ¶
func CreateCompiledWorkflowFile(compiledWorflow *v1alpha1.Workflow, compiledWorkflowFilePath string) *os.File
CreateCompiledWorkflowFile - Marshall v1alpha1.Workflow into a yaml file and save the file to the path provided as `compiledWorkflowFilePath`
func GetCompiledArgoWorkflow ¶
func GetCompiledArgoWorkflow(pipelineSpecs *pipelinespec.PipelineJob, platformSpec *pipelinespec.SinglePlatformSpec, compilerOptions *argocompiler.Options) *v1alpha1.Workflow
GetCompiledArgoWorkflow - Compile pipeline and platform specs into a workflow and return an instance of v1alpha1.Workflow
func LoadPipelineSpecsFromIR ¶
func LoadPipelineSpecsFromIR(pipelineIRFilePath string, cacheDisabled bool, defaultWorkspace *v1.PersistentVolumeClaimSpec) (*pipelinespec.PipelineJob, *pipelinespec.SinglePlatformSpec)
LoadPipelineSpecsFromIR - Unmarshall Pipeline Spec IR into a tuple of (pipelinespec.PipelineJob, pipelinespec.SinglePlatformSpec)
func UnmarshallWorkflowYAML ¶
UnmarshallWorkflowYAML - Unmarshall compiler workflow YAML into a v1alpha1.Workflow object
Types ¶
This section is empty.