Versions in this module Expand all Collapse all v0 v0.0.3 Feb 9, 2018 Changes in this version + func Help() + func New(cfg *config.Arc) (*arc, error) + func RegisterClusterFactory(name string, f ClusterFactory) + func RegisterInstanceFactory(name string, f InstanceFactory) + func RegisterPodFactory(name string, f PodFactory) + type Cluster struct + func NewDefaultCluster(compute resource.Compute, prov provider.DataCenter, cfg *config.Cluster) (*Cluster, error) + func (c *Cluster) Audit(flags ...string) error + func (c *Cluster) Compute() resource.Compute + func (c *Cluster) Create(req *route.Request) route.Response + func (c *Cluster) Derived() resource.Cluster + func (c *Cluster) Destroy(req *route.Request) route.Response + func (c *Cluster) FindInstance(name string) resource.Instance + func (c *Cluster) FindInstanceByIP(ip string) resource.Instance + func (c *Cluster) FindPod(name string) resource.Pod + func (c *Cluster) MidAudit(flags ...string) error + func (c *Cluster) Pods() resource.Pods + func (c *Cluster) PostAudit(flags ...string) error + func (c *Cluster) PostCreate(req *route.Request) route.Response + func (c *Cluster) PostDestroy(req *route.Request) route.Response + func (c *Cluster) PostProvision(req *route.Request) route.Response + func (c *Cluster) PostReplace(req *route.Request) route.Response + func (c *Cluster) PostRestart(req *route.Request) route.Response + func (c *Cluster) PostStart(req *route.Request) route.Response + func (c *Cluster) PostStop(req *route.Request) route.Response + func (c *Cluster) PreAudit(flags ...string) error + func (c *Cluster) PreCreate(req *route.Request) route.Response + func (c *Cluster) PreDestroy(req *route.Request) route.Response + func (c *Cluster) PreProvision(req *route.Request) route.Response + func (c *Cluster) PreReplace(req *route.Request) route.Response + func (c *Cluster) PreRestart(req *route.Request) route.Response + func (c *Cluster) PreStart(req *route.Request) route.Response + func (c *Cluster) PreStop(req *route.Request) route.Response + func (c *Cluster) Provision(req *route.Request) route.Response + func (c *Cluster) Replace(req *route.Request) route.Response + func (c *Cluster) Restart(req *route.Request) route.Response + func (c *Cluster) Route(req *route.Request) route.Response + func (c *Cluster) SetDerived(d resource.Cluster) + func (c *Cluster) Start(req *route.Request) route.Response + func (c *Cluster) Stop(req *route.Request) route.Response + type ClusterFactory func(resource.Compute, provider.DataCenter, *config.Cluster) (resource.Cluster, error) + type Instance struct + func NewDefaultInstance(pod resource.Pod, subnet resource.Subnet, keypair resource.KeyPair, ...) (*Instance, error) + func (i *Instance) Audit(flags ...string) error + func (i *Instance) Create(req *route.Request) route.Response + func (i *Instance) Created() bool + func (i *Instance) Derived() resource.Instance + func (i *Instance) Destroy(req *route.Request) route.Response + func (i *Instance) Destroyed() bool + func (i *Instance) Dns() resource.Dns + func (i *Instance) FQDNMatch(fqdns []string) bool + func (i *Instance) Id() string + func (i *Instance) ImageId() string + func (i *Instance) KeyName() string + func (i *Instance) KeyPair() resource.KeyPair + func (i *Instance) MidAudit(flags ...string) error + func (i *Instance) Network() resource.Network + func (i *Instance) Pod() resource.Pod + func (i *Instance) PostAudit(flags ...string) error + func (i *Instance) PostCreate(req *route.Request) route.Response + func (i *Instance) PostDestroy(req *route.Request) route.Response + func (i *Instance) PostProvision(req *route.Request) route.Response + func (i *Instance) PostReplace(req *route.Request) route.Response + func (i *Instance) PostRestart(req *route.Request) route.Response + func (i *Instance) PostStart(req *route.Request) route.Response + func (i *Instance) PostStop(req *route.Request) route.Response + func (i *Instance) PreAudit(flags ...string) error + func (i *Instance) PreCreate(req *route.Request) route.Response + func (i *Instance) PreDestroy(req *route.Request) route.Response + func (i *Instance) PreProvision(req *route.Request) route.Response + func (i *Instance) PreReplace(req *route.Request) route.Response + func (i *Instance) PreRestart(req *route.Request) route.Response + func (i *Instance) PreStart(req *route.Request) route.Response + func (i *Instance) PreStop(req *route.Request) route.Response + func (i *Instance) PrivateDnsARecord() resource.DnsRecord + func (i *Instance) PrivateFQDN() string + func (i *Instance) PrivateHostname() string + func (i *Instance) PrivateIPAddress() string + func (i *Instance) ProviderRole() resource.ProviderRole + func (i *Instance) ProviderVolumes() []resource.ProviderVolume + func (i *Instance) Provision(req *route.Request) route.Response + func (i *Instance) PublicDnsARecord() resource.DnsRecord + func (i *Instance) PublicFQDN() string + func (i *Instance) PublicHostname() string + func (i *Instance) PublicIPAddress() string + func (i *Instance) Replace(req *route.Request) route.Response + func (i *Instance) Restart(req *route.Request) route.Response + func (i *Instance) RootUser() string + func (i *Instance) Route(req *route.Request) route.Response + func (i *Instance) SecurityGroups() []resource.SecurityGroup + func (i *Instance) SetDerived(d resource.Instance) + func (i *Instance) SetTags(t map[string]string) error + func (i *Instance) Start(req *route.Request) route.Response + func (i *Instance) StartPaging(req *route.Request) route.Response + func (i *Instance) Started() bool + func (i *Instance) State() string + func (i *Instance) Stop(req *route.Request) route.Response + func (i *Instance) StopPaging(req *route.Request) route.Response + func (i *Instance) Stopped() bool + func (i *Instance) Subnet() resource.Subnet + type InstanceFactory func(resource.Pod, resource.Subnet, resource.KeyPair, provider.DataCenter, ...) (resource.Instance, error) + type Pod struct + func NewDefaultPod(cluster resource.Cluster, prov provider.DataCenter, cfg *config.Pod) (*Pod, error) + func (p *Pod) Audit(flags ...string) error + func (p *Pod) Cluster() resource.Cluster + func (p *Pod) Create(req *route.Request) route.Response + func (p *Pod) Derived() resource.Pod + func (p *Pod) Destroy(req *route.Request) route.Response + func (p *Pod) DnsCNameRecords() []resource.DnsRecord + func (p *Pod) FindInstance(name string) resource.Instance + func (p *Pod) FindInstanceByIP(ip string) resource.Instance + func (p *Pod) Instances() resource.Instances + func (p *Pod) MidAudit(flags ...string) error + func (p *Pod) PkgName() string + func (p *Pod) PostAudit(flags ...string) error + func (p *Pod) PostCreate(req *route.Request) route.Response + func (p *Pod) PostDestroy(req *route.Request) route.Response + func (p *Pod) PostProvision(req *route.Request) route.Response + func (p *Pod) PostReplace(req *route.Request) route.Response + func (p *Pod) PostRestart(req *route.Request) route.Response + func (p *Pod) PostStart(req *route.Request) route.Response + func (p *Pod) PostStop(req *route.Request) route.Response + func (p *Pod) PreAudit(flags ...string) error + func (p *Pod) PreCreate(req *route.Request) route.Response + func (p *Pod) PreDestroy(req *route.Request) route.Response + func (p *Pod) PreProvision(req *route.Request) route.Response + func (p *Pod) PreReplace(req *route.Request) route.Response + func (p *Pod) PreRestart(req *route.Request) route.Response + func (p *Pod) PreStart(req *route.Request) route.Response + func (p *Pod) PreStop(req *route.Request) route.Response + func (p *Pod) PrimaryCname() resource.DnsRecord + func (p *Pod) PrimaryInstance() resource.Instance + func (p *Pod) Provision(req *route.Request) route.Response + func (p *Pod) Replace(req *route.Request) route.Response + func (p *Pod) Restart(req *route.Request) route.Response + func (p *Pod) Route(req *route.Request) route.Response + func (p *Pod) SecondaryInstances() []resource.Instance + func (p *Pod) SetDerived(d resource.Pod) + func (p *Pod) Start(req *route.Request) route.Response + func (p *Pod) Stop(req *route.Request) route.Response + type PodFactory func(resource.Cluster, provider.DataCenter, *config.Pod) (resource.Pod, error)