summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/generate.go
blob: ebbfa143fe69e98ebb5c9b5df95a9d58c0d8d404 (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, nameOrIDs []string, options entities.GenerateKubeOptions) (*entities.GenerateKubeReport, error) {
	return generate.Kube(ic.ClientCxt, nameOrIDs, options)
}