github.com/TheSpiritXIII/controller-tools@v0.14.1/pkg/crd/zz_generated.markerhelp.go (about)

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright2019 The Kubernetes Authors.
     5  
     6  Licensed under the Apache License, Version 2.0 (the "License");
     7  you may not use this file except in compliance with the License.
     8  You may obtain a copy of the License at
     9  
    10      http://www.apache.org/licenses/LICENSE-2.0
    11  
    12  Unless required by applicable law or agreed to in writing, software
    13  distributed under the License is distributed on an "AS IS" BASIS,
    14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  See the License for the specific language governing permissions and
    16  limitations under the License.
    17  */
    18  
    19  // Code generated by helpgen. DO NOT EDIT.
    20  
    21  package crd
    22  
    23  import (
    24  	"github.com/TheSpiritXIII/controller-tools/pkg/markers"
    25  )
    26  
    27  func (Generator) Help() *markers.DefinitionHelp {
    28  	return &markers.DefinitionHelp{
    29  		Category: "",
    30  		DetailedHelp: markers.DetailedHelp{
    31  			Summary: "generates CustomResourceDefinition objects.",
    32  			Details: "",
    33  		},
    34  		FieldHelp: map[string]markers.DetailedHelp{
    35  			"IgnoreUnexportedFields": {
    36  				Summary: "indicates that we should skip unexported fields.",
    37  				Details: "Left unspecified, the default is false.",
    38  			},
    39  			"AllowDangerousTypes": {
    40  				Summary: "allows types which are usually omitted from CRD generation",
    41  				Details: "because they are not recommended.\n\n\nCurrently the following additional types are allowed when this is true:\nfloat32\nfloat64\n\n\nLeft unspecified, the default is false",
    42  			},
    43  			"MaxDescLen": {
    44  				Summary: "specifies the maximum description length for fields in CRD's OpenAPI schema.",
    45  				Details: "0 indicates drop the description for all fields completely.\nn indicates limit the description to at most n characters and truncate the description to\nclosest sentence boundary if it exceeds n characters.",
    46  			},
    47  			"CRDVersions": {
    48  				Summary: "specifies the target API versions of the CRD type itself to",
    49  				Details: "generate. Defaults to v1.\n\n\nCurrently, the only supported value is v1.\n\n\nThe first version listed will be assumed to be the \"default\" version and\nwill not get a version suffix in the output filename.\n\n\nYou'll need to use \"v1\" to get support for features like defaulting,\nalong with an API server that supports it (Kubernetes 1.16+).",
    50  			},
    51  			"GenerateEmbeddedObjectMeta": {
    52  				Summary: "specifies if any embedded ObjectMeta in the CRD should be generated",
    53  				Details: "",
    54  			},
    55  			"HeaderFile": {
    56  				Summary: "specifies the header text (e.g. license) to prepend to generated files.",
    57  				Details: "",
    58  			},
    59  			"Year": {
    60  				Summary: "specifies the year to substitute for \" YEAR\" in the header file.",
    61  				Details: "",
    62  			},
    63  		},
    64  	}
    65  }