util

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNameQualifier = ".sdk.operatorframework.io"
)

Variables

This section is empty.

Functions

func InsertCode

func InsertCode(filename, target, code string) error

InsertCode searches target content in the file and insert `toInsert` after the target.

func RemoveKustomizeCRDManifests

func RemoveKustomizeCRDManifests() error

RemoveKustomizeCRDManifests removes items in config/crd relating to CRD conversion webhooks.

func ReplaceInFile

func ReplaceInFile(path, old, new string) error

func ReplaceRegexInFile

func ReplaceRegexInFile(path, match, replace string) error

func UpdateKustomizationsCreateAPI

func UpdateKustomizationsCreateAPI() error

UpdateKustomizationsCreateAPI updates certain parts of or removes entire kustomization.yaml files that are either not used by certain CreateAPI plugins or are created by preceding CreateAPI plugins.

func UpdateKustomizationsInit

func UpdateKustomizationsInit() error

UpdateKustomizationsInit updates certain parts of or removes entire kustomization.yaml files that are either not used by certain Init plugins or are created by preceding Init plugins.

Types

This section is empty.

Jump to

Keyboard shortcuts

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