models

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLink(links []LinkEntity, resource string) (string, error)

Types

type ChangeInfo

type ChangeInfo struct {
	CreatedDate  base.Time
	CreatedBy    string
	ModifiedDate base.Time
	ModifiedBy   string
}

type LinkEntity

type LinkEntity struct {
	Rel   string
	Href  string
	Id    string
	Name  string
	Verbs []string
}
type Links []LinkEntity

func (Links) Get

func (l Links) Get(resource string) (string, error)

type PortRestriction

type PortRestriction struct {
	Protocol string
	Port     int64
	PortTo   int64
}

type SourceRestriction

type SourceRestriction struct {
	CIDR string
}

type Status

type Status struct {
	OperationId string
	URI         string
}

Jump to

Keyboard shortcuts

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