Documentation ¶
Index ¶
- Constants
- Variables
- func SetupOCIAuth(ctx context.Context, client kubernetes.Interface, v *Variables) error
- type NodePool
- type Subnet
- type Variables
- func (v *Variables) GetCAPIClusterKubeConfig(ctx context.Context) (*store.KubeConfig, error)
- func (v *Variables) GetConfigurationProvider() common.ConfigurationProvider
- func (v *Variables) IsSingleNodeCluster() bool
- func (v *Variables) NodeCount() (*types.NodeCount, error)
- func (v *Variables) ParseNodePools() ([]NodePool, error)
- func (v *Variables) SetDockerConfigJson() error
- func (v *Variables) SetDynamicValues(ctx context.Context) error
- func (v *Variables) SetQuickCreateVCNInfo(ctx context.Context, di dynamic.Interface) error
- func (v *Variables) SetUpdateValues(ctx context.Context, vNew *Variables) error
- func (v *Variables) Version() *types.KubernetesVersion
Constants ¶
View Source
const ( DefaultOCICPUs = 2 DefaultMemoryGbs = 16 DefaultVolumeGbs = 100 DefaultNodePVTransitEncryption = true DefaultVMShape = "VM.Standard.E4.Flex" ProviderId = `oci://{{ ds["id"] }}` )
View Source
const ( ImagePullConfigJson = `` /* 136-byte string literal not displayed */ DefaultVerrazzanoResource = `` /* 946-byte string literal not displayed */ )
Variables ¶
Functions ¶
func SetupOCIAuth ¶
SetupOCIAuth dynamically loads OCI authentication
Types ¶
type Variables ¶
type Variables struct { Name string DisplayName string Namespace string QuickCreateVCN bool VCNID string WorkerNodeSubnet string ControlPlaneSubnet string LoadBalancerSubnet string PodSubnet string // Parsed subnets Subnets []Subnet `json:"subnets,omitempty"` PodCIDR string ClusterCIDR string // Cluster topology and configuration KubernetesVersion string CNIType string SSHPublicKey string RawNodePools []string ApplyYAMLS []string // Parsed node pools NodePools []NodePool // ImageID is looked up by display name ImageDisplayName string ImageID string ActualImage string // Private registry PrivateRegistry string // Image pull secret CreateImagePullSecrets bool DeleteImagePullSecrets bool ImagePullSecretUsername string ImagePullSecretPassword string ImagePullSecretEmail string DockerConfigJson string // OCI Credentials CloudCredentialId string CompartmentID string Fingerprint string PrivateKey string PrivateKeyPassphrase string Region string Tenancy string User string // Verrazzano settings InstallVerrazzano bool // Set to true during Updates UninstallVerrazzano bool VerrazzanoResource string VerrazzanoVersion string VerrazzanoTag string // Supplied for templating ProviderId string }
Variables are parameters for cluster lifecycle operations
func NewFromOptions ¶
NewFromOptions creates a new Variables given *types.DriverOptions
func (*Variables) GetCAPIClusterKubeConfig ¶
GetCAPIClusterKubeConfig fetches the cluster's kubeconfig
func (*Variables) GetConfigurationProvider ¶
func (v *Variables) GetConfigurationProvider() common.ConfigurationProvider
GetConfigurationProvider creates a new configuration provider from Variables
func (*Variables) IsSingleNodeCluster ¶
func (*Variables) ParseNodePools ¶
func (*Variables) SetDockerConfigJson ¶ added in v0.3.0
SetDockerConfigJson sets the docker configuration payload for the image pull secret
func (*Variables) SetDynamicValues ¶
SetDynamicValues sets dynamic values
func (*Variables) SetQuickCreateVCNInfo ¶
func (*Variables) SetUpdateValues ¶
SetUpdateValues are the values potentially changed during an update operation
func (*Variables) Version ¶
func (v *Variables) Version() *types.KubernetesVersion
Version is the cluster Kubernetes version
Click to show internal directories.
Click to hide internal directories.