mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
4
vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/handler.go
generated
vendored
4
vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/handler.go
generated
vendored
@ -84,6 +84,10 @@ type StatsProvider interface {
|
||||
|
||||
// GetPodCgroupRoot returns the literal cgroupfs value for the cgroup containing all pods
|
||||
GetPodCgroupRoot() string
|
||||
|
||||
// GetPodByCgroupfs provides the pod that maps to the specified cgroup literal, as well
|
||||
// as whether the pod was found.
|
||||
GetPodByCgroupfs(cgroupfs string) (*v1.Pod, bool)
|
||||
}
|
||||
|
||||
type handler struct {
|
||||
|
7
vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/testing/mock_stats_provider.go
generated
vendored
7
vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/testing/mock_stats_provider.go
generated
vendored
@ -25,7 +25,6 @@ import v1 "github.com/google/cadvisor/info/v1"
|
||||
import v1alpha1 "k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1"
|
||||
import volume "k8s.io/kubernetes/pkg/volume"
|
||||
|
||||
// DO NOT EDIT
|
||||
// GENERATED BY mockery
|
||||
|
||||
// StatsProvider is an autogenerated mock type for the StatsProvider type
|
||||
@ -65,6 +64,12 @@ func (_m *StatsProvider) GetCgroupStats(cgroupName string, updateStats bool) (*v
|
||||
return r0, r1, r2
|
||||
}
|
||||
|
||||
// GetPodByCgroupfs provides the pod that maps to the specified cgroup, as well
|
||||
// as whether the pod was found.
|
||||
func (_m *StatsProvider) GetPodByCgroupfs(cgroupfs string) (*corev1.Pod, bool) {
|
||||
return nil, false
|
||||
}
|
||||
|
||||
// GetContainerInfo provides a mock function with given fields: podFullName, uid, containerName, req
|
||||
func (_m *StatsProvider) GetContainerInfo(podFullName string, uid types.UID, containerName string, req *v1.ContainerInfoRequest) (*v1.ContainerInfo, error) {
|
||||
ret := _m.Called(podFullName, uid, containerName, req)
|
||||
|
Reference in New Issue
Block a user