defender

package
v0.85.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package defender contains code to control the behavior of Windows defender in the E2E tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDefenderDisabled

func WithDefenderDisabled() func(*Configuration) error

WithDefenderDisabled configures the NewDefender component to disable Windows NewDefender

func WithDefenderUninstalled

func WithDefenderUninstalled() func(*Configuration) error

WithDefenderUninstalled configures the NewDefender component to uninstall Windows NewDefender

Types

type Configuration

type Configuration struct {
	Disabled  bool
	Uninstall bool
}

Configuration represents the Windows NewDefender configuration

type Manager

type Manager struct {
	Resources []pulumi.Resource
	// contains filtered or unexported fields
}

Manager contains the resources to manage Windows Defender

func NewDefender

func NewDefender(e *config.CommonEnvironment, host *remote.Host, options ...Option) (*Manager, error)

NewDefender creates a new instance of the Windows NewDefender component

type Option

type Option = func(*Configuration) error

Option is an optional function parameter type for Configuration options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL