Documentation ¶
Index ¶
- Constants
- func CreateDriver(config *types.Config, clusterConfig *types.ClusterConfig) (driver.ClusterDriver, error)
- type ClusterApiDriver
- func (cad *ClusterApiDriver) Close() error
- func (Cad *ClusterApiDriver) DefaultCNIInterfaces() []string
- func (cad *ClusterApiDriver) Delete() error
- func (cad *ClusterApiDriver) GetKubeAPIServerAddress() string
- func (cad *ClusterApiDriver) GetKubeconfigPath() string
- func (cad *ClusterApiDriver) Join(kubeconfigPath string, controlPlaneNodes int, workerNodes int) error
- func (cad *ClusterApiDriver) PostInstallHelpStanza() string
- func (cad *ClusterApiDriver) PostStart() error
- func (cad *ClusterApiDriver) Start() (bool, bool, error)
- func (cad *ClusterApiDriver) Stop() error
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) Stop ¶
func (cad *ClusterApiDriver) Stop() error
Click to show internal directories.
Click to hide internal directories.