domainmanager

package
v0.0.0-...-80ec3b1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	// contains filtered or unexported fields
}

Domain defines the scoping for entitlements, ie Network

func NewDomain

func NewDomain(name string) *Domain

NewDomain instantiates a new domain according the provided string name

func (*Domain) AddEntitlementIDs

func (d *Domain) AddEntitlementIDs(entitlementIDs ...string)

AddEntitlementIDs adds entitlements by IDs to the given domain

func (*Domain) AddSubdomains

func (d *Domain) AddSubdomains(subdomains ...*Domain)

AddSubdomains adds subdomains to the given domain

type DomainManager

type DomainManager struct {
	// contains filtered or unexported fields
}

DomainManager keeps a map of domains by name

func NewDomainManager

func NewDomainManager() *DomainManager

NewDomainManager instantiates an empty Domainmanager

func (*DomainManager) AddFullDomainWithEntitlementID

func (m *DomainManager) AddFullDomainWithEntitlementID(fulldomain []string, entitlementID string) error

AddFullDomainWithEntitlementID adds entitlements by IDs to a list of domains

Jump to

Keyboard shortcuts

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