github.com/alex123012/deckhouse-controller-tools@v0.0.0-20230510090815-d594daf1af8c/pkg/crd/zz_generated.markerhelp.go (about)

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