aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/generate.go
blob: 966f707b19600174518f4d12bce5889f4fffce4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package tunnel

import (
	"context"

	"github.com/containers/podman/v2/pkg/bindings/generate"
	"github.com/containers/podman/v2/pkg/domain/entities"
)

func (ic *ContainerEngine) GenerateSystemd(ctx context.Context, nameOrID string, options entities.GenerateSystemdOptions) (*entities.GenerateSystemdReport, error) {
	return generate.Systemd(ic.ClientCxt, nameOrID, options)
}

func (ic *ContainerEngine) GenerateKube(ctx context.Context, nameOrID string, options entities.GenerateKubeOptions) (*entities.GenerateKubeReport, error) {
	return generate.Kube(ic.ClientCxt, nameOrID, options)
}