Documentation ¶
Index ¶
- func RenderTemplate(specYaml string, request apistructs.PipelineTemplateRenderRequest) (string, []apistructs.SnippetFormatOutputs, error)
- type Option
- type PipelineTemplate
- func (p *PipelineTemplate) Apply(request *apistructs.PipelineTemplateApplyRequest) (template *apistructs.PipelineTemplate, err error)
- func (p *PipelineTemplate) Create(request *apistructs.PipelineTemplateCreateRequest) (*apistructs.PipelineTemplate, error)
- func (p *PipelineTemplate) GetPipelineTemplateVersion(request *apistructs.PipelineTemplateVersionGetRequest) (*apistructs.PipelineTemplateVersion, error)
- func (p *PipelineTemplate) QueryPipelineTemplateVersions(request apistructs.PipelineTemplateVersionQueryRequest) ([]*apistructs.PipelineTemplateVersion, error)
- func (p *PipelineTemplate) QueryPipelineTemplates(request *apistructs.PipelineTemplateQueryRequest) ([]*apistructs.PipelineTemplate, int, error)
- func (p *PipelineTemplate) RenderPipelineTemplate(request apistructs.PipelineTemplateRenderRequest) (*apistructs.PipelineTemplateRender, error)
- func (p *PipelineTemplate) RenderPipelineTemplateBySpec(request *apistructs.PipelineTemplateRenderSpecRequest) (*apistructs.PipelineTemplateRender, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTemplate ¶
func RenderTemplate(specYaml string, request apistructs.PipelineTemplateRenderRequest) (string, []apistructs.SnippetFormatOutputs, error)
Types ¶
type PipelineTemplate ¶
type PipelineTemplate struct {
// contains filtered or unexported fields
}
func (*PipelineTemplate) Apply ¶
func (p *PipelineTemplate) Apply(request *apistructs.PipelineTemplateApplyRequest) (template *apistructs.PipelineTemplate, err error)
func (*PipelineTemplate) Create ¶
func (p *PipelineTemplate) Create(request *apistructs.PipelineTemplateCreateRequest) (*apistructs.PipelineTemplate, error)
func (*PipelineTemplate) GetPipelineTemplateVersion ¶
func (p *PipelineTemplate) GetPipelineTemplateVersion(request *apistructs.PipelineTemplateVersionGetRequest) (*apistructs.PipelineTemplateVersion, error)
func (*PipelineTemplate) QueryPipelineTemplateVersions ¶
func (p *PipelineTemplate) QueryPipelineTemplateVersions(request apistructs.PipelineTemplateVersionQueryRequest) ([]*apistructs.PipelineTemplateVersion, error)
func (*PipelineTemplate) QueryPipelineTemplates ¶
func (p *PipelineTemplate) QueryPipelineTemplates(request *apistructs.PipelineTemplateQueryRequest) ([]*apistructs.PipelineTemplate, int, error)
func (*PipelineTemplate) RenderPipelineTemplate ¶
func (p *PipelineTemplate) RenderPipelineTemplate(request apistructs.PipelineTemplateRenderRequest) (*apistructs.PipelineTemplateRender, error)
func (*PipelineTemplate) RenderPipelineTemplateBySpec ¶
func (p *PipelineTemplate) RenderPipelineTemplateBySpec(request *apistructs.PipelineTemplateRenderSpecRequest) (*apistructs.PipelineTemplateRender, error)
Click to show internal directories.
Click to hide internal directories.