Documentation ¶
Index ¶
Constants ¶
View Source
const ( CloudsYamlFile = "/etc/ibmcloud/clouds.yaml" // TODO: make the timeout to be configurable WaitReadyRetryInterval = 5 * time.Second WaitReadyTimeout = 600 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GuestService ¶
type GuestService struct {
// contains filtered or unexported fields
}
func NewGuestService ¶
func NewGuestService(sess *session.Session) *GuestService
func NewInstanceServiceFromMachine ¶
func NewInstanceServiceFromMachine(kubeClient kubernetes.Interface, machine *clusterv1.Machine) (*GuestService, error)
func (*GuestService) CreateGuest ¶
func (gs *GuestService) CreateGuest(clusterName, hostName string, machineSpec *ibmcloudv1.IbmcloudMachineProviderSpec, userScript string)
func (*GuestService) DeleteGuest ¶
func (gs *GuestService) DeleteGuest(Id int) error
func (*GuestService) GetGuest ¶
func (gs *GuestService) GetGuest(name string) (*datatypes.Virtual_Guest, error)
FIXME: use API layer query instead of query all then compare here
type IBMCloudConfig ¶
Click to show internal directories.
Click to hide internal directories.