github.com/alex123012/deckhouse-controller-tools@v0.0.0-20230510090815-d594daf1af8c/pkg/rbac/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 rbac
    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 ClusterRole objects.",
    33  			Details: "",
    34  		},
    35  		FieldHelp: map[string]markers.DetailedHelp{
    36  			"RoleName": {
    37  				Summary: "sets the name of the generated ClusterRole.",
    38  				Details: "",
    39  			},
    40  			"HeaderFile": {
    41  				Summary: "specifies the header text (e.g. license) to prepend to generated files.",
    42  				Details: "",
    43  			},
    44  			"Year": {
    45  				Summary: "specifies the year to substitute for \" YEAR\" in the header file.",
    46  				Details: "",
    47  			},
    48  		},
    49  	}
    50  }
    51  
    52  func (Rule) Help() *markers.DefinitionHelp {
    53  	return &markers.DefinitionHelp{
    54  		Category: "RBAC",
    55  		DetailedHelp: markers.DetailedHelp{
    56  			Summary: "specifies an RBAC rule to all access to some resources or non-resource URLs.",
    57  			Details: "",
    58  		},
    59  		FieldHelp: map[string]markers.DetailedHelp{
    60  			"Groups": {
    61  				Summary: "specifies the API groups that this rule encompasses.",
    62  				Details: "",
    63  			},
    64  			"Resources": {
    65  				Summary: "specifies the API resources that this rule encompasses.",
    66  				Details: "",
    67  			},
    68  			"ResourceNames": {
    69  				Summary: "specifies the names of the API resources that this rule encompasses. ",
    70  				Details: "Create requests cannot be restricted by resourcename, as the object's name is not known at authorization time.",
    71  			},
    72  			"Verbs": {
    73  				Summary: "specifies the (lowercase) kubernetes API verbs that this rule encompasses.",
    74  				Details: "",
    75  			},
    76  			"URLs": {
    77  				Summary: "URL specifies the non-resource URLs that this rule encompasses.",
    78  				Details: "",
    79  			},
    80  			"Namespace": {
    81  				Summary: "specifies the scope of the Rule. If not set, the Rule belongs to the generated ClusterRole. If set, the Rule belongs to a Role, whose namespace is specified by this field.",
    82  				Details: "",
    83  			},
    84  		},
    85  	}
    86  }