airgun.entities.puppet_environment

Module Contents

Classes

PuppetEnvironmentEntity

ShowAllPuppetEnvironmentsView

Navigate to All Puppet Environment screen.

AddNewPuppetEnvironmentView

Navigate to Create Puppet Environment screen.

EditPuppetEnvironmentView

Navigate to Edit Puppet Environment screen.

ImportPuppetEnvironmentView

Navigate to Import Puppet Environment screen.

class airgun.entities.puppet_environment.PuppetEnvironmentEntity(browser)
endpoint_path = /foreman_puppet/environments
create(values)

Create puppet environment entity

read(entity_name, widget_names=None)

Read puppet environment entity values

update(entity_name, values)

Update puppet environment values

delete(value)

Delete puppet environment entity

search(value)

Search for puppet environment entity

import_environments(value)

Import puppet environments

class airgun.entities.puppet_environment.ShowAllPuppetEnvironmentsView(obj, navigate_obj, logger=None)

Navigate to All Puppet Environment screen.

VIEW
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.puppet_environment.AddNewPuppetEnvironmentView(obj, navigate_obj, logger=None)

Navigate to Create Puppet Environment screen.

VIEW
prerequisite
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.puppet_environment.EditPuppetEnvironmentView(obj, navigate_obj, logger=None)

Navigate to Edit Puppet Environment screen.

Parameters

entity_name – name of puppet environment

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.puppet_environment.ImportPuppetEnvironmentView(obj, navigate_obj, logger=None)

Navigate to Import Puppet Environment screen.

VIEW
prerequisite
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.