github.com/alex123012/deckhouse-controller-tools@v0.0.0-20230510090815-d594daf1af8c/pkg/schemapatcher/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 schemapatcher
    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: "patches existing CRDs with new schemata. ",
    33  			Details: "It will generate output for each \"CRD Version\" (API version of the CRD type itself) , e.g. apiextensions/v1) available.",
    34  		},
    35  		FieldHelp: map[string]markers.DetailedHelp{
    36  			"ManifestsPath": {
    37  				Summary: "contains the CustomResourceDefinition YAML files.",
    38  				Details: "",
    39  			},
    40  			"MaxDescLen": {
    41  				Summary: "specifies the maximum description length for fields in CRD's OpenAPI schema. ",
    42  				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.",
    43  			},
    44  			"GenerateEmbeddedObjectMeta": {
    45  				Summary: "specifies if any embedded ObjectMeta in the CRD should be generated",
    46  				Details: "",
    47  			},
    48  		},
    49  	}
    50  }