openstack

package
v0.68.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 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 {
	Instances []Instance
	Firewall  Firewall
}

type Firewall

type Firewall struct {
	types.Metadata
	AllowRules []FirewallRule
	DenyRules  []FirewallRule
}

type FirewallRule

type FirewallRule struct {
	types.Metadata
	Source          types.StringValue
	Destination     types.StringValue
	SourcePort      types.StringValue
	DestinationPort types.StringValue
	Enabled         types.BoolValue
}

type Instance

type Instance struct {
	types.Metadata
	AdminPassword types.StringValue
}

type Networking

type Networking struct {
	SecurityGroups []SecurityGroup
}

type OpenStack

type OpenStack struct {
	Compute    Compute
	Networking Networking
}

type SecurityGroup

type SecurityGroup struct {
	types.Metadata
	Name        types.StringValue
	Description types.StringValue
	Rules       []SecurityGroupRule
}

type SecurityGroupRule

type SecurityGroupRule struct {
	types.Metadata
	IsIngress types.BoolValue
	EtherType types.IntValue    // 4 or 6 for ipv4/ipv6
	Protocol  types.StringValue // e.g. tcp
	PortMin   types.IntValue
	PortMax   types.IntValue
	CIDR      types.StringValue
}

SecurityGroupRule describes https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_rule_v2

Jump to

Keyboard shortcuts

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