Documentation
¶
Index ¶
- func AppendKustomizeIntegration(dstIt *v1.Integration, destinationDir string, overwrite bool) error
- func AppendKustomizePipe(dstPipe *v1.Pipe, destinationDir string, overwrite bool) error
- func CloneGitProject(gitConf v1.GitConfigSpec, dir, secretToken string) (*git.Repository, error)
- func EditIntegration(it *v1.Integration, kit *v1.IntegrationKit, toNamespace, toOperator string) *v1.Integration
- func EditPipe(kb *v1.Pipe, it *v1.Integration, kit *v1.IntegrationKit, ...) *v1.Pipe
- func GitToken(ctx context.Context, c client.Client, namespace, secret string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendKustomizeIntegration ¶
func AppendKustomizeIntegration(dstIt *v1.Integration, destinationDir string, overwrite bool) error
AppendKustomizeIntegration creates a Kustomize GitOps based directory structure for the chosen Integration.
func AppendKustomizePipe ¶
AppendKustomizePipe creates a Kustomize GitOps based directory structure for the chosen Pipe.
func CloneGitProject ¶
func CloneGitProject(gitConf v1.GitConfigSpec, dir, secretToken string) (*git.Repository, error)
CloneGitProject is in charge to clone the project from a given Git repo configuration. If no secretToken is provided, then, it is assumed the project is public.
func EditIntegration ¶
func EditIntegration(it *v1.Integration, kit *v1.IntegrationKit, toNamespace, toOperator string) *v1.Integration
EditIntegration is in charge to create an Integration with the content required by the GitOps operations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.