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 ECSCluster ¶
type ECSCluster struct {
ecs.ClusterOutput
ECSClient *clientecs.Client
}
ECSCluster is an ECS Cluster
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 ¶
type KubernetesAgent struct {
agent.KubernetesAgentOutput
}
KubernetesAgent is an agent running in a Kubernetes cluster
type KubernetesCluster ¶
type KubernetesCluster struct {
kubernetes.ClusterOutput
KubernetesClient *client.KubernetesClient
}
KubernetesCluster represents a Kubernetes cluster
func (*KubernetesCluster) Client ¶
func (kc *KubernetesCluster) Client() kubeClient.Interface
Client returns the Kubernetes client
type RemoteActiveDirectory ¶
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 ¶
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 ¶
type RemoteHostDocker struct {
docker.ManagerOutput
Client *client.Docker
}
RemoteHostDocker represents an Agent running directly on a Host
type RemoteHostUpdater ¶
type RemoteHostUpdater struct {
updater.HostUpdaterOutput
}
RemoteHostUpdater represents an Updater running directly on a Host