 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
	// Namespaced is true if the resource is namespaced
	Namespaced bool
	// Kind is the API Kind.
	Kind string
	// Resource is the API Resource.
	Resource string
}
    Resource contains the information required to scaffold files for a resource.
type ScaffoldOptions ¶
ScaffoldOptions describes how to scaffold out a Kubernetes object with the basic metadata and comment annotations required to generate code for and conform to runtime.Object and metav1.Object.
func (*ScaffoldOptions) Scaffold ¶
func (o *ScaffoldOptions) Scaffold(out io.Writer) error
Scaffold prints the Kubernetes object scaffolding to the given output.
func (*ScaffoldOptions) Validate ¶
func (o *ScaffoldOptions) Validate() error
Validate validates the options, returning an error if anything is invalid.
 Click to show internal directories. 
   Click to hide internal directories.