Documentation ¶
Index ¶
Constants ¶
View Source
const ( DockerTimeout = 5 * time.Minute TickerInterval = 5 * time.Second )
View Source
const ( ApplicationName = "openclarity" ContainerStateRunning = "running" ContainerStateExited = "exited" ContainerStateDead = "dead" ContainerStateHealthy = "healthy" )
Variables ¶
This section is empty.
Functions ¶
func ClientOptsWithSSHConn ¶
func ClientOptsWithSSHConn(_ context.Context, workDir string, keys *utils.SSHKeyPair, input *utils.SSHForwardInput) ([]client.Opt, error)
Types ¶
type DockerHelper ¶
type DockerHelper struct {
// contains filtered or unexported fields
}
func (*DockerHelper) ServicesReady ¶
func (e *DockerHelper) ServicesReady(ctx context.Context) (bool, error)
func (*DockerHelper) WaitForDockerReady ¶
func (e *DockerHelper) WaitForDockerReady(ctx context.Context) error
type Service ¶
type Service struct { ID string Namespace string Application string Component string State envtypes.ServiceState }
Service is the types.Service interface implementation.
func (Service) GetApplicationName ¶
func (Service) GetComponentName ¶
func (Service) GetNamespace ¶
func (Service) GetState ¶
func (s Service) GetState() envtypes.ServiceState
type ServiceCollection ¶
func (ServiceCollection) AsServices ¶
func (c ServiceCollection) AsServices() envtypes.Services
func (ServiceCollection) ServiceNames ¶
func (c ServiceCollection) ServiceNames() []string
Click to show internal directories.
Click to hide internal directories.