operator-sdk migrate
operator-sdk migrate
Adds source code to an operator
Synopsis
operator-sdk migrate adds a main.go source file and any associated source filesfor an operator that is not of the “go” type.
operator-sdk migrate [flags]
Options
--header-file string Path to file containing headers for generated Go files. Copied to hack/boilerplate.go.txt
-h, --help help for migrate
--repo string Project repository path. Used as the project's Go import path. This must be set if outside of $GOPATH/src (e.g. github.com/example-inc/my-operator)
SEE ALSO
- operator-sdk - An SDK for building operators with ease
Last modified April 7, 2020: fix CLI docs for website, links and frontmatter (#2799) (8323f56b)
当前内容版权归 operatorframework 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 operatorframework .