defender

package
v0.57.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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