capi

package
v0.0.0-...-28d9058 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: UPL-1.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverName       = "oci"
	ClusterNameLabel = "cluster.x-k8s.io/cluster-name"

	OciCcmChart         = "oci-ccm"
	OciCcmNamespace     = "kube-system"
	OciCcmRelease       = "oci-ccm"
	OciCcmVersion       = "1.28.0"
	OciCcmSecretName    = "oci-cloud-controller-manager"
	OciCcmCsiSecretName = "oci-volume-provisioner"
)

Variables

This section is empty.

Functions

func CreateDriver

func CreateDriver(config *types.Config, clusterConfig *types.ClusterConfig) (driver.ClusterDriver, error)

Types

type ClusterApiDriver

type ClusterApiDriver struct {
	Ephemeral           bool
	BootstrapKubeConfig string
	KubeConfig          string
	Config              *types.Config
	ClusterConfig       *types.ClusterConfig
	ClusterResources    string
	ResourceNamespace   string
	FromTemplate        bool
	Deleted             bool
}

func (*ClusterApiDriver) Close

func (cad *ClusterApiDriver) Close() error

func (*ClusterApiDriver) DefaultCNIInterfaces

func (Cad *ClusterApiDriver) DefaultCNIInterfaces() []string

func (*ClusterApiDriver) Delete

func (cad *ClusterApiDriver) Delete() error

func (*ClusterApiDriver) GetKubeAPIServerAddress

func (cad *ClusterApiDriver) GetKubeAPIServerAddress() string

func (*ClusterApiDriver) GetKubeconfigPath

func (cad *ClusterApiDriver) GetKubeconfigPath() string

func (*ClusterApiDriver) Join

func (cad *ClusterApiDriver) Join(kubeconfigPath string, controlPlaneNodes int, workerNodes int) error

func (*ClusterApiDriver) PostInstallHelpStanza

func (cad *ClusterApiDriver) PostInstallHelpStanza() string

func (*ClusterApiDriver) PostStart

func (cad *ClusterApiDriver) PostStart() error

func (*ClusterApiDriver) Start

func (cad *ClusterApiDriver) Start() (bool, bool, error)

func (*ClusterApiDriver) Stop

func (cad *ClusterApiDriver) Stop() error

Jump to

Keyboard shortcuts

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