Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { Client *client.Client Identifier string Dependencies struct { *Bucket } Resource *map[string]string }
func NewCredentials ¶
func NewCredentials(client *client.Client, identifier string, bucket *Bucket) *Credentials
type DefaultNetwork ¶
func NewDefaultNetwork ¶
func NewDefaultNetwork(client *client.Client) *DefaultNetwork
type FirewallRule ¶
type FirewallRule struct { Client *client.Client Identifier string Attributes struct { Rule universal.FirewallRule Direction FirewallRuleDirection Action FirewallRuleAction Priority uint16 } Dependencies struct { *DefaultNetwork } Resource *compute.Firewall }
func NewFirewallRule ¶
func NewFirewallRule(client *client.Client, identifier string, defaultNetwork *DefaultNetwork, rule universal.FirewallRule, direction FirewallRuleDirection, action FirewallRuleAction, priority uint16) *FirewallRule
type FirewallRuleAction ¶
type FirewallRuleAction string
const ( FirewallRuleActionDeny FirewallRuleAction = "DENY" FirewallRuleActionAllow FirewallRuleAction = "ALLOW" )
type FirewallRuleDirection ¶
type FirewallRuleDirection string
const ( FirewallRuleDirectionIngress FirewallRuleDirection = "INGRESS" FirewallRuleDirectionEgress FirewallRuleDirection = "EGRESS" )
type Image ¶
type InstanceGroupManager ¶
type InstanceGroupManager struct { Client *client.Client Identifier string Attributes struct { Parallelism uint16 Addresses []net.IP Status map[string]int Events []universal.Event } Dependencies struct { *InstanceTemplate } Resource *compute.InstanceGroupManager }
func NewInstanceGroupManager ¶
func NewInstanceGroupManager(client *client.Client, identifier string, instanceTemplate *InstanceTemplate, parallelism uint16) *InstanceGroupManager
func (*InstanceGroupManager) Create ¶
func (i *InstanceGroupManager) Create(ctx context.Context) error
type InstanceTemplate ¶
type InstanceTemplate struct { Client *client.Client Identifier string Attributes universal.Task Dependencies struct { *DefaultNetwork FirewallRules []*FirewallRule *Image *Credentials } Resource *compute.InstanceTemplate }
func NewInstanceTemplate ¶
func NewInstanceTemplate(client *client.Client, identifier string, defaultNetwork *DefaultNetwork, firewallRules []*FirewallRule, image *Image, credentials *Credentials, task universal.Task) *InstanceTemplate
Click to show internal directories.
Click to hide internal directories.