cicd

package
v0.2.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildconfigTransformer

type BuildconfigTransformer struct {
	ExtraFiles map[string]string // file path: file contents
}

BuildconfigTransformer is the set of CI/CD resources we generate.

func NewBuildconfigTransformer

func NewBuildconfigTransformer() *BuildconfigTransformer

NewBuildconfigTransformer creates a new CICDAPIResourceSet

func (*BuildconfigTransformer) GetAPIResources

func (cicdSet *BuildconfigTransformer) GetAPIResources() []apiresource.IAPIResource

GetAPIResources returns api resources related to buildconfig

func (*BuildconfigTransformer) SetupEnhancedIR

func (cicdSet *BuildconfigTransformer) SetupEnhancedIR(oldir irtypes.IR) irtypes.EnhancedIR

SetupEnhancedIR return enhanced IR used by BuildConfig

type TektonTransformer

type TektonTransformer struct {
}

TektonTransformer is the set of tekton based CI/CD resources we generate.

func (*TektonTransformer) GetAPIResources

func (tekSet *TektonTransformer) GetAPIResources() []apiresource.IAPIResource

GetAPIResources returns api resources related to Tekton

func (*TektonTransformer) SetupEnhancedIR

func (tekSet *TektonTransformer) SetupEnhancedIR(oldir irtypes.IR) irtypes.EnhancedIR

SetupEnhancedIR returns EnhancedIR containing Tekton components

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL