github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/pkg/hook/plugin-imports/plugin-imports.go (about)

     1  /*
     2  Copyright 2016 The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  package pluginimports
    18  
    19  // We need to empty import all enabled plugins so that they will be linked into
    20  // any hook binary.
    21  import (
    22  	_ "sigs.k8s.io/prow/pkg/plugins/approve" // Import all enabled plugins.
    23  	_ "sigs.k8s.io/prow/pkg/plugins/assign"
    24  	_ "sigs.k8s.io/prow/pkg/plugins/blockade"
    25  	_ "sigs.k8s.io/prow/pkg/plugins/blunderbuss"
    26  	_ "sigs.k8s.io/prow/pkg/plugins/branchcleaner"
    27  	_ "sigs.k8s.io/prow/pkg/plugins/bugzilla"
    28  	_ "sigs.k8s.io/prow/pkg/plugins/buildifier"
    29  	_ "sigs.k8s.io/prow/pkg/plugins/cat"
    30  	_ "sigs.k8s.io/prow/pkg/plugins/cherrypickapproved"
    31  	_ "sigs.k8s.io/prow/pkg/plugins/cherrypickunapproved"
    32  	_ "sigs.k8s.io/prow/pkg/plugins/cla"
    33  	_ "sigs.k8s.io/prow/pkg/plugins/dco"
    34  	_ "sigs.k8s.io/prow/pkg/plugins/dog"
    35  	_ "sigs.k8s.io/prow/pkg/plugins/golint"
    36  	_ "sigs.k8s.io/prow/pkg/plugins/goose"
    37  	_ "sigs.k8s.io/prow/pkg/plugins/heart"
    38  	_ "sigs.k8s.io/prow/pkg/plugins/help"
    39  	_ "sigs.k8s.io/prow/pkg/plugins/hold"
    40  	_ "sigs.k8s.io/prow/pkg/plugins/invalidcommitmsg"
    41  	_ "sigs.k8s.io/prow/pkg/plugins/jira"
    42  	_ "sigs.k8s.io/prow/pkg/plugins/label"
    43  	_ "sigs.k8s.io/prow/pkg/plugins/lgtm"
    44  	_ "sigs.k8s.io/prow/pkg/plugins/lifecycle"
    45  	_ "sigs.k8s.io/prow/pkg/plugins/merge-method-comment"
    46  	_ "sigs.k8s.io/prow/pkg/plugins/mergecommitblocker"
    47  	_ "sigs.k8s.io/prow/pkg/plugins/milestone"
    48  	_ "sigs.k8s.io/prow/pkg/plugins/milestoneapplier"
    49  	_ "sigs.k8s.io/prow/pkg/plugins/milestonestatus"
    50  	_ "sigs.k8s.io/prow/pkg/plugins/override"
    51  	_ "sigs.k8s.io/prow/pkg/plugins/owners-label"
    52  	_ "sigs.k8s.io/prow/pkg/plugins/pony"
    53  	_ "sigs.k8s.io/prow/pkg/plugins/project"
    54  	_ "sigs.k8s.io/prow/pkg/plugins/projectmanager"
    55  	_ "sigs.k8s.io/prow/pkg/plugins/releasenote"
    56  	_ "sigs.k8s.io/prow/pkg/plugins/require-matching-label"
    57  	_ "sigs.k8s.io/prow/pkg/plugins/retitle"
    58  	_ "sigs.k8s.io/prow/pkg/plugins/shrug"
    59  	_ "sigs.k8s.io/prow/pkg/plugins/sigmention"
    60  	_ "sigs.k8s.io/prow/pkg/plugins/size"
    61  	_ "sigs.k8s.io/prow/pkg/plugins/skip"
    62  	_ "sigs.k8s.io/prow/pkg/plugins/slackevents"
    63  	_ "sigs.k8s.io/prow/pkg/plugins/stage"
    64  	_ "sigs.k8s.io/prow/pkg/plugins/testfreeze"
    65  	_ "sigs.k8s.io/prow/pkg/plugins/transfer-issue"
    66  	_ "sigs.k8s.io/prow/pkg/plugins/trick-or-treat"
    67  	_ "sigs.k8s.io/prow/pkg/plugins/trigger"
    68  	_ "sigs.k8s.io/prow/pkg/plugins/updateconfig"
    69  	_ "sigs.k8s.io/prow/pkg/plugins/verify-owners"
    70  	_ "sigs.k8s.io/prow/pkg/plugins/welcome"
    71  	_ "sigs.k8s.io/prow/pkg/plugins/wip"
    72  	_ "sigs.k8s.io/prow/pkg/plugins/yuks"
    73  )