func (c *ContainerdUtil) Spec(ctn containerd.Container) (*oci.Spec, error) {
	ctx, cancel := context.WithTimeout(context.Background(), c.queryTimeout)
	defer cancel()
	ctxNamespace := namespaces.WithNamespace(ctx, c.namespace)

	return ctn.Spec(ctxNamespace)
}
// Spec interfaces with the containerd api to get container OCI Spec
Spec interfaces with the containerd api to get container OCI Spec
// Spec interfaces with the containerd api to get container OCI Spec
func (c *ContainerdUtil) Spec(ctn containerd.Container) (*oci.Spec, error) {
	ctx, cancel := context.WithTimeout(context.Background(), c.queryTimeout)
	defer cancel()
	ctxNamespace := namespaces.WithNamespace(ctx, c.namespace)
	return ctn.Spec(ctxNamespace)
}
func ( c * ContainerdUtil ) Spec ( ctn containerd . Container ) ( * oci . Spec , error ) { ctx , cancel := context . WithTimeout ( context . Background ( ) , c . queryTimeout ) defer cancel ( ) ctxNamespace := namespaces . WithNamespace ( ctx , c . namespace ) return ctn . Spec ( ctxNamespace ) }
Spec interfaces with the containerd api to get container OCI Spec
Spec interfaces with the containerd api to get container OCI Spec