Documentation ¶
Index ¶
- Constants
- type Service
- func (s *Service) AssociateFloatingIP(instanceID, floatingIP string) error
- func (s *Service) CreateBastion(clusterName string, openStackCluster *infrav1.OpenStackCluster) (*infrav1.Instance, error)
- func (s *Service) DeleteBastion(serverID string) error
- func (s *Service) GetAvailabilityZones() ([]availabilityzones.AvailabilityZone, error)
- func (s *Service) GetInstance(resourceID string) (instance *infrav1.Instance, err error)
- func (s *Service) InstanceCreate(clusterName string, machine *clusterv1.Machine, ...) (instance *infrav1.Instance, err error)
- func (s *Service) InstanceDelete(machine *clusterv1.Machine) error
- func (s *Service) InstanceExists(name string) (instance *infrav1.Instance, err error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(client *gophercloud.ProviderClient, clientOpts *clientconfig.ClientOpts, logger logr.Logger) (*Service, error)
func (*Service) AssociateFloatingIP ¶
func (*Service) CreateBastion ¶ added in v0.3.3
func (*Service) DeleteBastion ¶ added in v0.3.2
func (*Service) GetAvailabilityZones ¶ added in v0.3.0
func (s *Service) GetAvailabilityZones() ([]availabilityzones.AvailabilityZone, error)
func (*Service) GetInstance ¶
func (*Service) InstanceCreate ¶
func (s *Service) InstanceCreate(clusterName string, machine *clusterv1.Machine, openStackMachine *infrav1.OpenStackMachine, openStackCluster *infrav1.OpenStackCluster, userData string) (instance *infrav1.Instance, err error)
InstanceCreate creates a compute instance
Click to show internal directories.
Click to hide internal directories.