Documentation ¶
Overview ¶
Package winazurehost contains the definition of the Azure Windows Host environment.
Index ¶
- func Provisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
- func ProvisionerNoAgent(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
- func ProvisionerNoAgentNoFakeIntake(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
- func ProvisionerNoFakeIntake(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
- func Run(ctx *pulumi.Context, env *environments.WindowsHost, params *ProvisionerParams) error
- type ProvisionerOption
- func WithActiveDirectoryOptions(opts ...activedirectory.Option) ProvisionerOption
- func WithAgentClientOptions(opts ...agentclientparams.Option) ProvisionerOption
- func WithAgentOptions(opts ...agentparams.Option) ProvisionerOption
- func WithDefenderOptions(opts ...defender.Option) ProvisionerOption
- func WithFakeIntakeOptions(opts ...fakeintake.Option) ProvisionerOption
- func WithInstaller(opts ...installer.Option) ProvisionerOption
- func WithInstanceOptions(opts ...compute.VMOption) ProvisionerOption
- func WithName(name string) ProvisionerOption
- func WithoutAgent() ProvisionerOption
- func WithoutFakeIntake() ProvisionerOption
- type ProvisionerParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provisioner ¶
func Provisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
Provisioner creates a VM environment with a Windows VM, a FakeIntake and a Host Agent configured to talk to each other. FakeIntake and Agent creation can be deactivated by using WithoutFakeIntake and WithoutAgent options.
func ProvisionerNoAgent ¶
func ProvisionerNoAgent(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
ProvisionerNoAgent wraps Provisioner with hardcoded WithoutAgent options.
func ProvisionerNoAgentNoFakeIntake ¶
func ProvisionerNoAgentNoFakeIntake(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
ProvisionerNoAgentNoFakeIntake wraps Provisioner with hardcoded WithoutAgent and WithoutFakeIntake options.
func ProvisionerNoFakeIntake ¶
func ProvisionerNoFakeIntake(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.WindowsHost]
ProvisionerNoFakeIntake wraps Provisioner with hardcoded WithoutFakeIntake option.
func Run ¶
func Run(ctx *pulumi.Context, env *environments.WindowsHost, params *ProvisionerParams) error
Run deploys a Windows environment given a pulumi.Context
Types ¶
type ProvisionerOption ¶
type ProvisionerOption func(*ProvisionerParams) error
ProvisionerOption is a provisioner option.
func WithActiveDirectoryOptions ¶
func WithActiveDirectoryOptions(opts ...activedirectory.Option) ProvisionerOption
WithActiveDirectoryOptions adds Active Directory to the EC2 VM.
func WithAgentClientOptions ¶
func WithAgentClientOptions(opts ...agentclientparams.Option) ProvisionerOption
WithAgentClientOptions adds options to the Agent client.
func WithAgentOptions ¶
func WithAgentOptions(opts ...agentparams.Option) ProvisionerOption
WithAgentOptions adds options to the Agent.
func WithDefenderOptions ¶
func WithDefenderOptions(opts ...defender.Option) ProvisionerOption
WithDefenderOptions configures Windows Defender on an EC2 VM.
func WithFakeIntakeOptions ¶
func WithFakeIntakeOptions(opts ...fakeintake.Option) ProvisionerOption
WithFakeIntakeOptions adds options to the FakeIntake.
func WithInstaller ¶
func WithInstaller(opts ...installer.Option) ProvisionerOption
WithInstaller configures Datadog Installer on an EC2 VM.
func WithInstanceOptions ¶
func WithInstanceOptions(opts ...compute.VMOption) ProvisionerOption
WithInstanceOptions adds options to the VM.
func WithName ¶
func WithName(name string) ProvisionerOption
WithName sets the name of the provisioner.
func WithoutAgent ¶
func WithoutAgent() ProvisionerOption
WithoutAgent disables the creation of the Agent.
func WithoutFakeIntake ¶
func WithoutFakeIntake() ProvisionerOption
WithoutFakeIntake disables the creation of the FakeIntake.
type ProvisionerParams ¶
type ProvisionerParams struct {
// contains filtered or unexported fields
}
ProvisionerParams is a set of parameters for the Provisioner.