1 /* 2 Copyright 2022 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 // +k8s:deepcopy-gen=package 18 19 // Package v1 contains the configuration API for logging. 20 // 21 // The intention is to only have a single version of this API, potentially with 22 // new fields added over time in a backwards-compatible manner. Fields for 23 // alpha or beta features are allowed as long as they are defined so that not 24 // changing the defaults leaves those features disabled. 25 // 26 // The "v1" package name is just a reminder that API compatibility rules apply, 27 // not an indication of the stability of all features covered by it. 28 29 // The LoggingAlphaOptions and LoggingBetaOptions feature gates control whether 30 // these unstable features can get enabled. This can be used to ensure that 31 // command invocations do not accidentally rely on unstable features. 32 package v1 // import "k8s.io/component-base/logs/api/v1" 33