Documentation
¶
Index ¶
- func CopyDir(src string, dst string, fs afero.Fs) error
- func DestroyDockerResources(ctx context.Context, enclave ...string) error
- func NewDockerClient() (*client.Client, error)
- func SetReverseProxyConfig(ctx context.Context) error
- func TestRPCEndpoints(ctx context.Context, apiClient *client.Client) error
- func WithRetry[T any](ctx context.Context, operation string, fn func() (T, error)) (T, error)
- type RPCEndpoint
- type ServicePort
- type ServiceWithoutLabels
- type TraefikHostTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
CopyDir copies a directory from src to dst using the provided filesystem. If no filesystem is provided, it uses the OS filesystem.
func DestroyDockerResources ¶ added in v1.13.3
DestroyDockerResources removes all Docker resources associated with the given enclave
func NewDockerClient ¶ added in v1.13.3
NewDockerClient creates a new Docker client and checks if Docker is available
func SetReverseProxyConfig ¶ added in v1.13.5
SetReverseProxyConfig recreates the Traefik container with correct configuration for service routing
func TestRPCEndpoints ¶ added in v1.13.5
Types ¶
type RPCEndpoint ¶ added in v1.13.5
type ServicePort ¶ added in v1.13.5
type ServiceWithoutLabels ¶ added in v1.13.5
type ServiceWithoutLabels struct {
Name string
ServiceUUID string
EnclaveUUID string
Ports []ServicePort
}
type TraefikHostTransport ¶ added in v1.13.5
type TraefikHostTransport struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.