aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/generate.go
blob: 1f6e35142b8c1bb41f12af653ded2975d6616e7b (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/v2/pkg/bindings/generate"
	"github.com/containers/libpod/v2/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)
}