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

import (
	"context"

	"github.com/containers/libpod/pkg/bindings/generate"
	"github.com/containers/libpod/pkg/domain/entities"
	"github.com/pkg/errors"
)

func (ic *ContainerEngine) GenerateSystemd(ctx context.Context, nameOrID string, options entities.GenerateSystemdOptions) (*entities.GenerateSystemdReport, error) {
	return nil, errors.New("not implemented for tunnel")
}

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