Documentation ¶
Overview ¶
Copyright 2020-2021 The UnDistro authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func CalicoObject(flavor string) (unstructured.Unstructured, error)
- func CoreDNSVersion(k8sVersion string) string
- func DefaultRegion(infra string) string
- func ReconcileIntegration(ctx context.Context, r client.Client, cl *appv1alpha1.Cluster) error
- func ReconcileLaunchTemplate(ctx context.Context, r client.Client, cl *appv1alpha1.Cluster, ...) error
- func ReconcileNetwork(ctx context.Context, r client.Client, cl *appv1alpha1.Cluster, ...) error
- func RegionNames(provider metadatav1alpha1.Provider) []string
- type Account
- type MetadataFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalicoObject ¶ added in v0.36.6
func CalicoObject(flavor string) (unstructured.Unstructured, error)
func CoreDNSVersion ¶ added in v0.34.8
https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md
func DefaultRegion ¶ added in v0.22.0
func ReconcileIntegration ¶ added in v0.35.0
ReconcileIntegration from clouds
func ReconcileLaunchTemplate ¶ added in v0.19.3
func ReconcileLaunchTemplate(ctx context.Context, r client.Client, cl *appv1alpha1.Cluster, capiCluster *capi.Cluster) error
ReconcileLaunchTemplate from clouds
func ReconcileNetwork ¶ added in v0.18.9
func ReconcileNetwork(ctx context.Context, r client.Client, cl *appv1alpha1.Cluster, capiCluster *capi.Cluster) error
ReconcileNetwork from clouds
func RegionNames ¶ added in v0.32.0
func RegionNames(provider metadatav1alpha1.Provider) []string
Types ¶
type Account ¶ added in v0.19.5
func GetAccount ¶ added in v0.19.5
type MetadataFunc ¶ added in v0.32.0
func GetFlavors ¶ added in v0.32.0
func GetFlavors(provider metadatav1alpha1.Provider) MetadataFunc
func GetMachineMetadata ¶ added in v0.32.0
func GetMachineMetadata(provider metadatav1alpha1.Provider) MetadataFunc