options

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Overview

Package options implements options code.

Index

Constants

This section is empty.

Variables

View Source
var (
	// PowerVSProviderIDFormat is used to identify the Provider ID format for Power VS Machine.
	// Deprecated: Instead use ProviderIDFormat.
	PowerVSProviderIDFormat string
	// ProviderIDFormat is used to identify the Provider ID format for Machine.
	ProviderIDFormat string
)

Functions

This section is empty.

Types

type ProviderIDFormatType added in v0.4.0

type ProviderIDFormatType string

ProviderIDFormatType enum attribute to identify Power VS or VPC ProviderID format.

const (
	// ProviderIDFormatV1 will set provider id to machine as follows
	// For VPC machines: ibmvpc://<cluster_name>/<vm_hostname>
	// For Power VS machines: ibmpowervs://<cluster_name>/<vm_hostname>
	// Deprecated: ProviderIDFormatV1 is deprecated and will be removed in a future release. see https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud/issues/1868 for more details.
	// use ProviderIDFormatV2 instead ProviderIDFormatV1.
	ProviderIDFormatV1 ProviderIDFormatType = "v1"

	// ProviderIDFormatV2 will set provider id to machine as follows
	// For VPC machines: ibm://<account_id>///<cluster_id>/<vpc_machine_id>
	// For Power VS machines: ibmpowervs://<region>/<zone>/<service_instance_id>/<powervs_machine_id>
	ProviderIDFormatV2 ProviderIDFormatType = "v2"
)

Jump to

Keyboard shortcuts

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