summaryrefslogtreecommitdiff
path: root/libpod/runtime_pod_unsupported.go
blob: 0c7ff8655a0f61d462e19312639024792fb37793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//go:build !linux
// +build !linux

package libpod

import (
	"context"
	"errors"

	"github.com/containers/podman/v4/pkg/specgen"
)

// NewPod makes a new, empty pod
func (r *Runtime) NewPod(ctx context.Context, p specgen.PodSpecGenerator, options ...PodCreateOption) (_ *Pod, deferredErr error) {
	return nil, errors.New("not implemented (*Runtime) NewPod")
}

// AddInfra adds the created infra container to the pod state
func (r *Runtime) AddInfra(ctx context.Context, pod *Pod, infraCtr *Container) (*Pod, error) {
	return nil, errors.New("not implemented (*Runtime) AddInfra")
}

// SavePod is a helper function to save the pod state from outside of libpod
func (r *Runtime) SavePod(pod *Pod) error {
	return errors.New("not implemented (*Runtime) SavePod")
}

func (r *Runtime) removePod(ctx context.Context, p *Pod, removeCtrs, force bool, timeout *uint) error {
	return errors.New("not implemented (*Runtime) removePod")
}