sdb

package
v0.0.0-...-6f1e256 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2013 License: BSD-3-Clause, GooglePatentClause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_API_VERSION = "2009-04-15"

Variables

This section is empty.

Functions

This section is empty.

Types

type AttrListType

type AttrListType string
const (
	ATTRIBUTE_LIST AttrListType = "Attribute."
	EXPECTED_LIST  AttrListType = "Expected."
)

type Attribute

type Attribute struct {
	Name    string
	Value   string
	Exists  *bool
	Replace *bool
}

func AttrEquals

func AttrEquals(name string, value string) Attribute

func AttrExists

func AttrExists(name string) Attribute

func AttrMissing

func AttrMissing(name string) Attribute

miscelanious helper functions.

type AttributeList

type AttributeList []Attribute

func (AttributeList) Values

func (self AttributeList) Values(afix AttrListType) (v url.Values)

type Domain

type Domain struct {
	URL *url.URL

	Name string
	// contains filtered or unexported fields
}

func (*Domain) Close

func (self *Domain) Close() (err error)

Closes the underlying connection

func (*Domain) DeleteAttribute

func (self *Domain) DeleteAttribute(s *aws.Signer, item string, attrs, expected AttributeList) (err error)

func (*Domain) GetAttribute

func (self *Domain) GetAttribute(s *aws.Signer, item string, attrs AttributeList, consist bool) (a []Attribute, err error)

func (*Domain) Select

func (self *Domain) Select(id *aws.Signer, what, where string, consist bool, items chan<- Item) (err error)

type Item

type Item struct {
	Name      string
	Attribute []Attribute
}

type Service

type Service struct {
	URL *url.URL
	// contains filtered or unexported fields
}

func NewService

func NewService(url_ *url.URL) *Service

func (*Service) Close

func (self *Service) Close() (err error)

Closes the underlying connection

func (*Service) CreateDomain

func (self *Service) CreateDomain(id *aws.Signer, name string) (err error)

func (*Service) DestroyDomain

func (self *Service) DestroyDomain(id *aws.Signer, name string) (err error)

func (*Service) Domain

func (self *Service) Domain(name string) *Domain

func (*Service) ListDomains

func (self *Service) ListDomains(id *aws.Signer) (out []string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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