Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for logsapi (0.11 sec)

  1. pkg/proxy/apis/config/v1alpha1/defaults_test.go

    					TCPCloseWaitTimeout:   &metav1.Duration{Duration: 1 * time.Hour},
    				},
    				ConfigSyncPeriod: metav1.Duration{Duration: 15 * time.Minute},
    				Logging: logsapi.LoggingConfiguration{
    					Format:         "text",
    					FlushFrequency: logsapi.TimeOrMetaDuration{Duration: metav1.Duration{Duration: 5 * time.Second}, SerializeAsString: true},
    				},
    			},
    		},
    		{
    			name: "metrics and healthz address with no port",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/register_test.go

    */
    
    package config
    
    import (
    	"reflect"
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	componentconfigtesting "k8s.io/component-base/config/testing"
    	logsapi "k8s.io/component-base/logs/api/v1"
    	tracingapi "k8s.io/component-base/tracing/api/v1"
    )
    
    func TestComponentConfigSetup(t *testing.T) {
    	pkginfo := &componentconfigtesting.ComponentConfigPackage{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 16:55:02 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/register_test.go

    limitations under the License.
    */
    
    package config
    
    import (
    	"reflect"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	componentconfigtesting "k8s.io/component-base/config/testing"
    	logsapi "k8s.io/component-base/logs/api/v1"
    )
    
    func TestComponentConfigSetup(t *testing.T) {
    	pkginfo := &componentconfigtesting.ComponentConfigPackage{
    		ComponentName:      "kube-proxy",
    		GroupName:          GroupName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 06:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				EnforceNodeAllocatable:                    DefaultNodeAllocatableEnforcement,
    				VolumePluginDir:                           DefaultVolumePluginDir,
    				Logging: logsapi.LoggingConfiguration{
    					Format:         "text",
    					FlushFrequency: logsapi.TimeOrMetaDuration{Duration: metav1.Duration{Duration: 5 * time.Second}, SerializeAsString: true},
    				},
    				EnableSystemLogHandler:        utilpointer.Bool(true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_test.go

    				Verbosity:   8,
    			},
    		},
    		Options: logsapi.FormatOptions{
    			JSON: logsapi.JSONOptions{
    				OutputRoutingOptions: logsapi.OutputRoutingOptions{
    					InfoBufferSize: resource.QuantityValue{Quantity: resource.MustParse("0")},
    				},
    			},
    			Text: logsapi.TextOptions{
    				OutputRoutingOptions: logsapi.OutputRoutingOptions{
    					InfoBufferSize: resource.QuantityValue{Quantity: resource.MustParse("0")},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/testing/testserver.go

    )
    
    func init() {
    	// If instantiated more than once or together with other servers, the
    	// servers would try to modify the global logging state. This must get
    	// ignored during testing.
    	logsapi.ReapplyHandling = logsapi.ReapplyHandlingIgnoreUnchanged
    }
    
    // TearDownFunc is to be called to tear down a test server.
    type TearDownFunc func()
    
    // TestServer return values supplied by kube-test-ApiServer
    type TestServer struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 10:35:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/testing/testserver.go

    )
    
    func init() {
    	// If instantiated more than once or together with other servers, the
    	// servers would try to modify the global logging state. This must get
    	// ignored during testing.
    	logsapi.ReapplyHandling = logsapi.ReapplyHandlingIgnoreUnchanged
    }
    
    // TearDownFunc is to be called to tear down a test server.
    type TearDownFunc func()
    
    // TestServer return values supplied by kube-test-ApiServer
    type TestServer struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/server.go

    	clientgoinformers "k8s.io/client-go/informers"
    	"k8s.io/client-go/rest"
    	cliflag "k8s.io/component-base/cli/flag"
    	"k8s.io/component-base/cli/globalflag"
    	"k8s.io/component-base/logs"
    	logsapi "k8s.io/component-base/logs/api/v1"
    	_ "k8s.io/component-base/metrics/prometheus/workqueue"
    	"k8s.io/component-base/term"
    	"k8s.io/component-base/version"
    	"k8s.io/component-base/version/verflag"
    	"k8s.io/klog/v2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/v1alpha1/defaults.go

    package v1alpha1
    
    import (
    	"fmt"
    	"time"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	kruntime "k8s.io/apimachinery/pkg/runtime"
    	kubeproxyconfigv1alpha1 "k8s.io/kube-proxy/config/v1alpha1"
    
    	logsapi "k8s.io/component-base/logs/api/v1"
    	"k8s.io/kubernetes/pkg/cluster/ports"
    	"k8s.io/kubernetes/pkg/kubelet/qos"
    	proxyutil "k8s.io/kubernetes/pkg/proxy/util"
    	netutils "k8s.io/utils/net"
    	"k8s.io/utils/ptr"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go

    	"k8s.io/client-go/kubernetes"
    	restclient "k8s.io/client-go/rest"
    	logsapi "k8s.io/component-base/logs/api/v1"
    	"k8s.io/klog/v2"
    )
    
    func init() {
    	// If instantiated more than once or together with other servers, the
    	// servers would try to modify the global logging state. This must get
    	// ignored during testing.
    	logsapi.ReapplyHandling = logsapi.ReapplyHandlingIgnoreUnchanged
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 9K bytes
    - Viewed (1)
Back to top