...

Source file src/sigs.k8s.io/controller-runtime/pkg/builder/doc.go

Documentation: sigs.k8s.io/controller-runtime/pkg/builder

     1  /*
     2  Copyright 2018 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 builder wraps other controller-runtime libraries and exposes simple
    18  // patterns for building common Controllers.
    19  //
    20  // Projects built with the builder package can trivially be rebased on top of the underlying
    21  // packages if the project requires more customized behavior in the future.
    22  package builder
    23  
    24  import (
    25  	logf "sigs.k8s.io/controller-runtime/pkg/internal/log"
    26  )
    27  
    28  var log = logf.RuntimeLog.WithName("builder")
    29  

View as plain text