openstackmodel

package
v1.28.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 16 Imported by: 25

Documentation

Index

Constants

View Source
const (
	IPProtocolTCP   = string(rules.ProtocolTCP)
	IPProtocolUDP   = string(rules.ProtocolUDP)
	IPV4            = string(rules.EtherType4)
	IPV6            = string(rules.EtherType6)
	ProtocolIPEncap = "4" // IP in IPv4/IPv6
)
View Source
const MAX_TAG_LENGTH_OPENSTACK = 60

Constants for truncating Tags

Variables

View Source
var TRUNCATE_OPT = truncate.TruncateStringOptions{
	MaxLength:     MAX_TAG_LENGTH_OPENSTACK,
	AlwaysAddHash: false,
	HashLength:    6,
}

Functions

This section is empty.

Types

type FirewallModelBuilder added in v1.15.1

type FirewallModelBuilder struct {
	*OpenstackModelContext
	Lifecycle fi.Lifecycle
	Rules     map[string]*openstacktasks.SecurityGroupRule
}

FirewallModelBuilder configures firewall network objects

func (*FirewallModelBuilder) Build added in v1.15.1

Build - schedule security groups and security group rule tasks for Openstack

type NetworkModelBuilder

type NetworkModelBuilder struct {
	*OpenstackModelContext
	Lifecycle fi.Lifecycle
}

NetworkModelBuilder configures network objects

func (*NetworkModelBuilder) Build

type OpenstackModelContext

type OpenstackModelContext struct {
	*model.KopsModelContext
	// contains filtered or unexported fields
}

func (*OpenstackModelContext) APIResourceName added in v1.26.0

func (c *OpenstackModelContext) APIResourceName() string

func (*OpenstackModelContext) GetNetworkName added in v1.16.0

func (c *OpenstackModelContext) GetNetworkName() (string, error)

func (*OpenstackModelContext) LinkToNetwork

func (c *OpenstackModelContext) LinkToNetwork() *openstacktasks.Network

func (*OpenstackModelContext) LinkToPort added in v1.15.1

func (c *OpenstackModelContext) LinkToPort(name *string) *openstacktasks.Port

func (*OpenstackModelContext) LinkToRouter

func (c *OpenstackModelContext) LinkToRouter(name *string) *openstacktasks.Router

func (*OpenstackModelContext) LinkToSecurityGroup added in v1.15.1

func (c *OpenstackModelContext) LinkToSecurityGroup(name string) *openstacktasks.SecurityGroup

func (*OpenstackModelContext) LinkToSubnet

func (c *OpenstackModelContext) LinkToSubnet(name *string) *openstacktasks.Subnet

func (*OpenstackModelContext) UseVIPACL added in v1.18.0

func (c *OpenstackModelContext) UseVIPACL() bool

type SSHKeyModelBuilder

type SSHKeyModelBuilder struct {
	*OpenstackModelContext
	Lifecycle fi.Lifecycle
}

SSHKeyModelBuilder configures SSH objects

func (*SSHKeyModelBuilder) Build

type ServerGroupModelBuilder added in v1.15.1

type ServerGroupModelBuilder struct {
	*OpenstackModelContext
	BootstrapScriptBuilder *model.BootstrapScriptBuilder
	Lifecycle              fi.Lifecycle
}

ServerGroupModelBuilder configures server group objects

func (*ServerGroupModelBuilder) Build added in v1.15.1

Jump to

Keyboard shortcuts

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