model

package
v0.0.0-...-ce4079a Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	RolesPath() string

	RestClient() restclient.RestClient

	RestApi() restapi.RestApi

	RepoUrlToRoleName(repoUrl string) string

	IsDuplicateRole(name string) bool

	InstallRole(role rolesfile.Role)
}

type Role

type Role struct {
	rolesfile.Role
	logging.SerialLogger
	// contains filtered or unexported fields
}

func NewRole

func NewRole(fileRole rolesfile.Role, logger logging.SerialLogger) Role

Jump to

Keyboard shortcuts

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