...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/scripts/generate-go-crd-clients/doc.go.tmpl

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/scripts/generate-go-crd-clients

     1// Copyright 2020 Google LLC
     2//
     3// Licensed under the Apache License, Version 2.0 (the "License");
     4// you may not use this file except in compliance with the License.
     5// You may obtain a copy of the License at
     6//
     7//    http://www.apache.org/licenses/LICENSE-2.0
     8//
     9// Unless required by applicable law or agreed to in writing, software
    10// distributed under the License is distributed on an "AS IS" BASIS,
    11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12// See the License for the specific language governing permissions and
    13// limitations under the License.
    14
    15// ----------------------------------------------------------------------------
    16//
    17//     ***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***
    18//
    19// ----------------------------------------------------------------------------
    20//
    21//     This file is automatically generated by Config Connector and manual
    22//     changes will be clobbered when the file is regenerated.
    23//
    24// ----------------------------------------------------------------------------
    25
    26// *** DISCLAIMER ***
    27// Config Connector's go-client for CRDs is currently in ALPHA, which means
    28// that future versions of the go-client may include breaking changes.
    29// Please try it out and give us feedback!
    30
    31// Package {{.Version}} contains API Schema definitions for the {{.Service}} {{.Version}} API group.
    32// +k8s:openapi-gen=true
    33// +k8s:deepcopy-gen=package,register
    34// +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/{{.Service}}
    35// +k8s:defaulter-gen=TypeMeta
    36// +groupName={{.Service}}.cnrm.cloud.google.com
    37
    38// Generate deepcopy object for {{.Service}}/{{.Version}} API group
    39//go:generate go run ../../../../../../scripts/deepcopy-gen/main.go -O zz_generated.deepcopy -i . -h ../../../../../../hack/boilerplate_client_alpha.go.txt
    40package {{.Version}}

View as plain text