Documentation ¶
Overview ¶
Package components contains the definitions of the different components that can be used in a test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerAgent ¶
type DockerAgent struct { agent.DockerAgentOutput // Client cannot be initialized inline as it requires other information to create client Client agentclient.Agent ClientOptions []agentclientparams.Option }
DockerAgent represents an Agent running in a Docker container
type ExecuteOption ¶
type ExecuteOption func(*ExecuteParams) error
ExecuteOption alias to a functional option changing a given Params instance
func WithEnvVariables ¶
func WithEnvVariables(env EnvVar) ExecuteOption
WithEnvVariables allows to set env variable for the command that will be executed
type ExecuteParams ¶
type ExecuteParams struct {
EnvVariables EnvVar
}
ExecuteParams contains parameters for VM.Execute commands
type FakeIntake ¶
type FakeIntake struct { fakeintake.FakeintakeOutput // contains filtered or unexported fields }
FakeIntake represents a FakeIntake instance
func (*FakeIntake) Client ¶
func (fi *FakeIntake) Client() *client.Client
Client returns the FakeIntake client
type KubernetesAgent ¶ added in v0.53.0
type KubernetesAgent struct {
agent.KubernetesAgentOutput
}
KubernetesAgent is an agent running in a Kubernetes cluster
type KubernetesCluster ¶
type KubernetesCluster struct { kubernetes.ClusterOutput // contains filtered or unexported fields }
KubernetesCluster represents a Kubernetes cluster
func (*KubernetesCluster) Client ¶
func (kc *KubernetesCluster) Client() kubeClient.Interface
Client returns the Kubernetes client
type RemoteActiveDirectory ¶ added in v0.53.0
type RemoteActiveDirectory struct {
activedirectory.Output
}
RemoteActiveDirectory represents an Active Directory domain on a remote machine
type RemoteHost ¶
type RemoteHost struct { remote.HostOutput *client.Host // contains filtered or unexported fields }
RemoteHost represents a remote host
func (*RemoteHost) DownloadAgentLogs ¶ added in v0.54.0
func (h *RemoteHost) DownloadAgentLogs(localPath string) error
DownloadAgentLogs downloads the agent logs from the remote host
type RemoteHostAgent ¶
type RemoteHostAgent struct { agent.HostAgentOutput Client agentclient.Agent ClientOptions []agentclientparams.Option }
RemoteHostAgent represents an Agent running directly on a Host
type RemoteHostDocker ¶ added in v0.55.0
type RemoteHostDocker struct { docker.ManagerOutput Client *client.Docker }
RemoteHostDocker represents an Agent running directly on a Host
func (*RemoteHostDocker) GetClient ¶ added in v0.55.0
func (d *RemoteHostDocker) GetClient() *dclient.Client
GetClient returns the Docker client for the host
type RemoteHostUpdater ¶ added in v0.53.0
type RemoteHostUpdater struct {
updater.HostUpdaterOutput
}
RemoteHostUpdater represents an Updater running directly on a Host