computing

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPProtocolTCP = "TCP"
	IPProtocolUDP = "UDP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SecurityGroupRole

type SecurityGroupRole struct {
	Cluster string `json:"cluster"`
	Role    string `json:"role"`
}

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 (s *Service) DeleteEndpoint() error

func (*Service) DeleteNetwork

func (s *Service) DeleteNetwork() error

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 (s *Service) ReconcileNetwork() error

func (*Service) SDKToInstance

func (*Service) StopAndTerminateInstanceWithTimeout

func (s *Service) StopAndTerminateInstanceWithTimeout(instanceID string) error

func (*Service) StopInstance

func (s *Service) StopInstance(instanceID string) error

func (*Service) TerminateInstance

func (s *Service) TerminateInstance(instanceID string) error

Jump to

Keyboard shortcuts

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