Documentation ¶
Index ¶
- Constants
- type FirewallModelBuilder
- type NetworkModelBuilder
- type OpenstackModelContext
- 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
- 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 ¶
type FirewallModelBuilder struct { *OpenstackModelContext Lifecycle *fi.Lifecycle }
FirewallModelBuilder configures firewall network objects
func (*FirewallModelBuilder) Build ¶
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
}
func (*OpenstackModelContext) LinkToNetwork ¶
func (c *OpenstackModelContext) LinkToNetwork() *openstacktasks.Network
func (*OpenstackModelContext) LinkToPort ¶
func (c *OpenstackModelContext) LinkToPort(name *string) *openstacktasks.Port
func (*OpenstackModelContext) LinkToRouter ¶
func (c *OpenstackModelContext) LinkToRouter(name *string) *openstacktasks.Router
func (*OpenstackModelContext) LinkToSecurityGroup ¶
func (c *OpenstackModelContext) LinkToSecurityGroup(name string) *openstacktasks.SecurityGroup
func (*OpenstackModelContext) LinkToSubnet ¶
func (c *OpenstackModelContext) LinkToSubnet(name *string) *openstacktasks.Subnet
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 ¶
type ServerGroupModelBuilder struct { *OpenstackModelContext BootstrapScript *model.BootstrapScript Lifecycle *fi.Lifecycle }
ServerGroupModelBuilder configures server group objects
func (*ServerGroupModelBuilder) Build ¶
func (b *ServerGroupModelBuilder) Build(c *fi.ModelBuilderContext) error
Click to show internal directories.
Click to hide internal directories.