Update tests to run also on macOS

This commit is contained in:
Ciprian Hacman
2023-09-11 19:25:59 +03:00
parent af7c925522
commit f58f6cd208
10 changed files with 185 additions and 0 deletions
@@ -1,3 +1,5 @@
//go:build unix
/*
Copyright 2020 The Kubernetes Authors All rights reserved.
@@ -1,3 +1,5 @@
//go:build unix
/*
Copyright 2020 The Kubernetes Authors All rights reserved.
@@ -0,0 +1,24 @@
/*
Copyright 2023 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package types
const defaultProcPath = ""
func (ssc *SystemStatsConfig) validateProcPath() error {
// not supported
return nil
}