compute

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compute

type Compute struct {
	Firewalls     []Firewall
	LoadBalancers []LoadBalancer
	Droplets      []Droplet
}

type Droplet

type Droplet struct {
	types.Metadata
	SSHKeys []types.StringValue
}

func (Droplet) GetMetadata

func (d Droplet) GetMetadata() *types.Metadata

func (Droplet) GetRawValue

func (d Droplet) GetRawValue() interface{}

type Firewall

type Firewall struct {
	OutboundRules []OutboundFirewallRule
	InboundRules  []InboundFirewallRule
}

type ForwardingRule

type ForwardingRule struct {
	EntryProtocol types.StringValue
}

type InboundFirewallRule

type InboundFirewallRule struct {
	SourceAddresses []types.StringValue
}

type LoadBalancer

type LoadBalancer struct {
	ForwardingRules []ForwardingRule
}

type OutboundFirewallRule

type OutboundFirewallRule struct {
	DestinationAddresses []types.StringValue
}

Jump to

Keyboard shortcuts

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