Documentation ¶
Index ¶
- Constants
- type FirewallModelBuilder
- type NetworkModelBuilder
- type OpenstackModelContext
- func (c *OpenstackModelContext) GetNetworkName() (string, error)
- func (c *OpenstackModelContext) LinkToNetwork() *openstacktasks.Network
- func (c *OpenstackModelContext) LinkToPort(name *string) *openstacktasks.Port
- func (c *OpenstackModelContext) LinkToRouter(name *string) *openstacktasks.Router
- func (c *OpenstackModelContext) LinkToSecurityGroup(name string) *openstacktasks.SecurityGroup
- func (c *OpenstackModelContext) LinkToSubnet(name *string) *openstacktasks.Subnet
- func (c *OpenstackModelContext) UseVIPACL() bool
- type SSHKeyModelBuilder
- type ServerGroupModelBuilder
Constants ¶
View Source
const ( IPProtocolTCP = string(rules.ProtocolTCP) IPProtocolUDP = string(rules.ProtocolUDP) IPV4 = string(rules.EtherType4) ProtocolIPEncap = "4" // IP in IPv4/IPv6 )
Variables ¶
This section is empty.
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
func (b *FirewallModelBuilder) Build(c *fi.ModelBuilderContext) error
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 ¶
func (b *NetworkModelBuilder) Build(c *fi.ModelBuilderContext) error
type OpenstackModelContext ¶
type OpenstackModelContext struct { *model.KopsModelContext // contains filtered or unexported fields }
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 ¶
func (b *SSHKeyModelBuilder) Build(c *fi.ModelBuilderContext) error
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
func (b *ServerGroupModelBuilder) Build(c *fi.ModelBuilderContext) error
Click to show internal directories.
Click to hide internal directories.