openstack

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 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 {
	AllowRules []FirewallRule
	DenyRules  []FirewallRule
}

type FirewallRule

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

type Instance

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

type Networking

type Networking struct {
	SecurityGroups []SecurityGroup
}

type OpenStack

type OpenStack struct {
	Compute    Compute
	Networking Networking
}

type SecurityGroup

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

type SecurityGroupRule

type SecurityGroupRule struct {
	Metadata  iacTypes.Metadata
	IsIngress iacTypes.BoolValue
	EtherType iacTypes.IntValue    // 4 or 6 for ipv4/ipv6
	Protocol  iacTypes.StringValue // e.g. tcp
	PortMin   iacTypes.IntValue
	PortMax   iacTypes.IntValue
	CIDR      iacTypes.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