Documentation ¶
Index ¶
- func AddCreate(cmd *cobra.Command)
- func AddCreateGroup(cmd *cobra.Command)
- func AddCreateResource(cmd *cobra.Command)
- func AddCreateSubresource(cmd *cobra.Command)
- func AddCreateVersion(cmd *cobra.Command)
- func RegisterResourceFlags(cmd *cobra.Command)
- func RunCreate(cmd *cobra.Command, args []string)
- func RunCreateGroup(cmd *cobra.Command, args []string)
- func RunCreateResource(cmd *cobra.Command, args []string)
- func RunCreateSubresource(cmd *cobra.Command, args []string)
- func RunCreateVersion(cmd *cobra.Command, args []string)
- func ValidateResourceFlags()
- func Yesno(reader *bufio.Reader) bool
- type Controller
- type SuiteTest
- type Test
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCreateGroup ¶
func AddCreateResource ¶
func AddCreateSubresource ¶
func AddCreateVersion ¶
func RegisterResourceFlags ¶
func RunCreateGroup ¶
func RunCreateResource ¶
func RunCreateSubresource ¶
func RunCreateVersion ¶
func ValidateResourceFlags ¶
func ValidateResourceFlags()
Types ¶
type Controller ¶ added in v1.12.3
type Controller struct { input.Input // Resource is the Resource to make the Controller for Resource *resource.Resource // ResourcePackage is the package of the Resource ResourcePackage string // Plural is the plural lowercase of kind Plural string // Is the Group + "." + Domain for the Resource GroupDomain string }
Controller scaffolds a Controller for a Resource
type SuiteTest ¶ added in v1.12.3
type SuiteTest struct { input.Input // Resource is the Resource to make the Controller for Resource *resource.Resource }
SuiteTest scaffolds a SuiteTest
Click to show internal directories.
Click to hide internal directories.