...
1 package state
2
3 import (
4 "context"
5
6 "github.com/redhat-developer/odo/pkg/api"
7 )
8
9 type Client interface {
10
11 Init(ctx context.Context) error
12
13
14 SetForwardedPorts(ctx context.Context, fwPorts []api.ForwardedPort) error
15
16
17 GetForwardedPorts(ctx context.Context) ([]api.ForwardedPort, error)
18
19
20 SaveExit(ctx context.Context) error
21
22
23 SetAPIServerPort(ctx context.Context, port int) error
24
25
26 GetAPIServerPorts(ctx context.Context) ([]api.DevControlPlane, error)
27
28 GetOrphanFiles(ctx context.Context) ([]string, error)
29 }
30
View as plain text