Documentation ¶
Index ¶
- Constants
- type SecurityGroupRole
- type Service
- func (s *Service) CreateInstance(scope *scope.MachineScope) (*infrav1alpha2.Instance, error)
- func (s *Service) DeleteEndpoint() error
- func (s *Service) DeleteNetwork() error
- func (s *Service) FilterInstancesByTag(vs []computing.ReservationSetItem, tags map[string]string) []computing.ReservationSetItem
- func (s *Service) GetCoreSecurityGroup(scope *scope.MachineScope) ([]string, error)
- func (s *Service) GetRunningInstanceByTag(scope *scope.MachineScope) (*infrav1alpha2.Instance, error)
- func (s *Service) InstanceIfExists(id *string) (*infrav1alpha2.Instance, error)
- func (s *Service) ReconcileNetwork() error
- func (s *Service) SDKToInstance(v computing.InstancesSetItem) (*infrav1alpha2.Instance, error)
- func (s *Service) StopAndTerminateInstanceWithTimeout(instanceID string) error
- func (s *Service) StopInstance(instanceID string) error
- func (s *Service) TerminateInstance(instanceID string) error
Constants ¶
View Source
const ( IPProtocolTCP = "TCP" IPProtocolUDP = "UDP" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecurityGroupRole ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(s *scope.ClusterScope) *Service
func (*Service) CreateInstance ¶
func (s *Service) CreateInstance(scope *scope.MachineScope) (*infrav1alpha2.Instance, error)
func (*Service) DeleteEndpoint ¶
func (*Service) DeleteNetwork ¶
func (*Service) FilterInstancesByTag ¶
func (s *Service) FilterInstancesByTag(vs []computing.ReservationSetItem, tags map[string]string) []computing.ReservationSetItem
func (*Service) GetCoreSecurityGroup ¶
func (s *Service) GetCoreSecurityGroup(scope *scope.MachineScope) ([]string, error)
func (*Service) GetRunningInstanceByTag ¶
func (s *Service) GetRunningInstanceByTag(scope *scope.MachineScope) (*infrav1alpha2.Instance, error)
func (*Service) InstanceIfExists ¶
func (s *Service) InstanceIfExists(id *string) (*infrav1alpha2.Instance, error)
func (*Service) ReconcileNetwork ¶
func (*Service) SDKToInstance ¶
func (s *Service) SDKToInstance(v computing.InstancesSetItem) (*infrav1alpha2.Instance, error)
func (*Service) StopAndTerminateInstanceWithTimeout ¶
func (*Service) StopInstance ¶
func (*Service) TerminateInstance ¶
Click to show internal directories.
Click to hide internal directories.