- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for containerUsage (0.3 sec)
-
pkg/kubelet/nodestatus/setters.go
) Setter { return func(ctx context.Context, node *v1.Node) error { // Update image list of this node var imagesOnNode []v1.ContainerImage containerImages, err := imageListFunc() if err != nil { node.Status.Images = imagesOnNode return fmt.Errorf("error getting image list: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 12:12:04 UTC 2024 - 30.5K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.ContainerImage)(nil), (*core.ContainerImage)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_ContainerImage_To_core_ContainerImage(a.(*v1.ContainerImage), b.(*core.ContainerImage), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*core.ContainerImage)(nil), (*v1.ContainerImage)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters_test.go
// copy the imageList, we do not want to mutate it in-place and accidentally edit a test case images := make([]kubecontainer.Image, len(imageList)) copy(images, imageList) // sort images by size sort.Sort(sliceutils.ByImageSize(images)) // convert to []v1.ContainerImage and truncate the list of names
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
// to an image name and its size in bytes. func (n *NodeWrapper) Images(images map[string]int64) *NodeWrapper { var containerImages []v1.ContainerImage for name, size := range images { containerImages = append(containerImages, v1.ContainerImage{Names: []string{name}, SizeBytes: size}) } n.Status.Images = containerImages return n } // Taints applies taints to the inner node.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
func (in *ContainerImage) DeepCopyInto(out *ContainerImage) { *out = *in if in.Names != nil { in, out := &in.Names, &out.Names *out = make([]string, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. func (in *ContainerImage) DeepCopy() *ContainerImage { if in == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
func (in *ContainerImage) DeepCopyInto(out *ContainerImage) { *out = *in if in.Names != nil { in, out := &in.Names, &out.Names *out = make([]string, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. func (in *ContainerImage) DeepCopy() *ContainerImage { if in == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/generated.pb.go
var xxx_messageInfo_Container proto.InternalMessageInfo func (m *ContainerImage) Reset() { *m = ContainerImage{} } func (*ContainerImage) ProtoMessage() {} func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptor_6c07b07c062484ab, []int{30} } func (m *ContainerImage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ContainerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 1.8M bytes - Viewed (0) -
pkg/apis/core/types.go
type PodSignature struct { // Reference to controller whose pods should avoid this node. // +optional PodController *metav1.OwnerReference } // ContainerImage describe a container image type ContainerImage struct { // Names by which this image is known. // +optional Names []string // The size of the image in bytes. // +optional SizeBytes int64 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 268.9K bytes - Viewed (0)