ibm

package
v0.0.0-...-05e4b24 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IBMPowerProvider

func IBMPowerProvider(platform string, config map[string]string, systemNamespace string) cloud.CloudProvider

func IBMZProvider

func IBMZProvider(arch string, config map[string]string, systemNamespace string) cloud.CloudProvider

Types

type IBMPowerDynamicConfig

type IBMPowerDynamicConfig struct {
	SystemNamespace string
	Secret          string
	Key             string
	Image           string
	Url             string
	CRN             string
	Network         string
	Cores           float64
	Memory          float64
	System          string
	UserData        string
	ProcType        string
}

func (IBMPowerDynamicConfig) CountInstances

func (r IBMPowerDynamicConfig) CountInstances(kubeClient client.Client, ctx context.Context, instanceTag string) (int, error)

func (IBMPowerDynamicConfig) GetInstanceAddress

func (r IBMPowerDynamicConfig) GetInstanceAddress(kubeClient client.Client, ctx context.Context, instanceId cloud.InstanceIdentifier) (string, error)

func (IBMPowerDynamicConfig) LaunchInstance

func (r IBMPowerDynamicConfig) LaunchInstance(kubeClient client.Client, ctx context.Context, taskRunName string, instanceTag string, _ map[string]string) (cloud.InstanceIdentifier, error)

func (IBMPowerDynamicConfig) ListInstances

func (r IBMPowerDynamicConfig) ListInstances(kubeClient client.Client, ctx context.Context, instanceTag string) ([]cloud.CloudVMInstance, error)

func (IBMPowerDynamicConfig) SshUser

func (r IBMPowerDynamicConfig) SshUser() string

func (IBMPowerDynamicConfig) TerminateInstance

func (r IBMPowerDynamicConfig) TerminateInstance(kubeClient client.Client, ctx context.Context, instanceId cloud.InstanceIdentifier) error

type IBMZDynamicConfig

type IBMZDynamicConfig struct {
	SystemNamespace string
	Secret          string
	Region          string
	Key             string
	Subnet          string
	Vpc             string
	SecurityGroup   string
	ImageId         string
	Url             string
	Profile         string
	PrivateIP       bool
}

func (IBMZDynamicConfig) CountInstances

func (r IBMZDynamicConfig) CountInstances(kubeClient client.Client, ctx context.Context, instanceTag string) (int, error)

func (IBMZDynamicConfig) GetInstanceAddress

func (r IBMZDynamicConfig) GetInstanceAddress(kubeClient client.Client, ctx context.Context, instanceId cloud.InstanceIdentifier) (string, error)

func (IBMZDynamicConfig) LaunchInstance

func (r IBMZDynamicConfig) LaunchInstance(kubeClient client.Client, ctx context.Context, taskRunName string, instanceTag string, _ map[string]string) (cloud.InstanceIdentifier, error)

func (IBMZDynamicConfig) ListInstances

func (r IBMZDynamicConfig) ListInstances(kubeClient client.Client, ctx context.Context, instanceTag string) ([]cloud.CloudVMInstance, error)

func (IBMZDynamicConfig) SshUser

func (r IBMZDynamicConfig) SshUser() string

func (IBMZDynamicConfig) TerminateInstance

func (r IBMZDynamicConfig) TerminateInstance(kubeClient client.Client, ctx context.Context, instanceId cloud.InstanceIdentifier) error

type SecretCredentialsProvider

type SecretCredentialsProvider struct {
	Name      string
	Namespace string
	Client    client.Client
}

Jump to

Keyboard shortcuts

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