types

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Requirements

type Requirements struct {
	// Roles is the list of roles defined
	// in the Requirements file.
	Roles []Role

	// Children is the list of requirements
	// files included by the Requirement file.
	Childrens []*Requirements
}

Requirements represents the content Ansible Requirements file.

type Role

type Role struct {
	Source  string
	Scm     string
	Version string
	Name    string

	Include string
}

Role is an Ansible Role definition. If the value of the Include is different from the nil string, it means that the Role represents an Include of another requirement file. In this case all the other fields must be set to the nil string.

Jump to

Keyboard shortcuts

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