Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceType ¶
type ResourceType int
ResourceType is the type of the resource returned
const ( DNSName ResourceType = iota + 1 PublicIP PrivateIP None )
A list of supported resource types
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator contains a validator for identifying type of resource
func NewValidator ¶
NewValidator creates a validator for identifying type of resource
func (*Validator) Identify ¶
func (v *Validator) Identify(item string) ResourceType
Identify returns the resourcetype for an item
Click to show internal directories.
Click to hide internal directories.