Versions in this module Expand all Collapse all v0 v0.7.0 Apr 5, 2019 Changes in this version + const ApisDir + const ApisFile + const BuildBinDir + const BuildDir + const BuildScriptDir + const BuildTestDir + const CRDsDir + const CmdDir + const CmdFile + const ControllerDir + const ControllerFile + const DeployDir + const DocFile + const DockerfileFile + const EntrypointFile + const GitignoreFile + const GoTestScriptFile + const GopkgTomlFile + const ManagerDir + const OLMCatalogDir + const OperatorYamlFile + const PkgDir + const RegisterFile + const RoleBindingYamlFile + const RoleYamlFile + const ServiceAccountYamlFile + const TestPodYamlFile + const UserSetupFile + const VersionDir + const VersionFile + var ResourceKindRegexp = regexp.MustCompile("^[A-Z]{1}[a-zA-Z0-9]+$") + var ResourceVersionRegexp = regexp.MustCompile("^v[1-9][0-9]*((alpha|beta)[1-9][0-9]*)?$") + func PrintDeps() error + func PrintDepsAsFile() + func UpdateRoleForResource(r *Resource, absProjectPath string) error + type AddController struct + Resource *Resource + func (s *AddController) GetInput() (input.Input, error) + type AddToScheme struct + Resource *Resource + func (s *AddToScheme) GetInput() (input.Input, error) + type Apis struct + func (s *Apis) GetInput() (input.Input, error) + type CR struct + Resource *Resource + Spec string + func (s *CR) GetInput() (input.Input, error) + type CRD struct + IsOperatorGo bool + Resource *Resource + func (s *CRD) CustomRender() ([]byte, error) + func (s *CRD) GetInput() (input.Input, error) + func (s *CRD) SetFS(_ afero.Fs) + type Cmd struct + func (s *Cmd) GetInput() (input.Input, error) + type Controller struct + func (s *Controller) GetInput() (input.Input, error) + type ControllerKind struct + Resource *Resource + func (s *ControllerKind) GetInput() (input.Input, error) + type CustomRenderer interface + CustomRender func() ([]byte, error) + SetFS func(afero.Fs) + type Doc struct + Resource *Resource + func (s *Doc) GetInput() (input.Input, error) + type Dockerfile struct + func (s *Dockerfile) GetInput() (input.Input, error) + type Entrypoint struct + func (e *Entrypoint) GetInput() (input.Input, error) + type Gitignore struct + func (s *Gitignore) GetInput() (input.Input, error) + type GoTestScript struct + func (s *GoTestScript) GetInput() (input.Input, error) + type GopkgToml struct + func (s *GopkgToml) GetInput() (input.Input, error) + type Operator struct + IsClusterScoped bool + func (s *Operator) GetInput() (input.Input, error) + type Register struct + Resource *Resource + func (s *Register) GetInput() (input.Input, error) + type Resource struct + APIVersion string + FullGroup string + GoImportGroup string + Group string + Kind string + LowerKind string + Resource string + Version string + func NewResource(apiVersion, kind string) (*Resource, error) + func (r *Resource) Validate() error + type Role struct + IsClusterScoped bool + func (s *Role) GetInput() (input.Input, error) + type RoleBinding struct + IsClusterScoped bool + func (s *RoleBinding) GetInput() (input.Input, error) + type Scaffold struct + AbsProjectPath string + Fs afero.Fs + GetWriter func(path string, mode os.FileMode) (io.Writer, error) + ProjectName string + Repo string + func (s *Scaffold) Execute(cfg *input.Config, files ...input.File) error + type ServiceAccount struct + func (s *ServiceAccount) GetInput() (input.Input, error) + type TestFrameworkDockerfile struct + func (s *TestFrameworkDockerfile) GetInput() (input.Input, error) + type TestPod struct + Image string + TestNamespaceEnv string + func (s *TestPod) GetInput() (input.Input, error) + type Types struct + Resource *Resource + func (s *Types) GetInput() (input.Input, error) + type UserSetup struct + func (u *UserSetup) GetInput() (input.Input, error) + type Version struct + func (s *Version) GetInput() (input.Input, error)