Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClusterAPIGitHubManifestsFormat = "https://github.com/kubernetes-sigs/cluster-api//config?ref=%s"

    ClusterAPIGitHubManifestsFormat is a convenience string to get Cluster API manifests at an exact revision. Set ClusterAPI.KustomizePath = fmt.Sprintf(ClusterAPIGitHubManifestsFormat, <some git ref>).

    View Source
    var KubeadmBootstrapGitHubManifestsFormat = "https://github.com/kubernetes-sigs/cluster-api//bootstrap/kubeadm/config?ref=%s"

      KubeadmBootstrapGitHubManifestsFormat is a convenience string to get Cluster API manifests at an exact revision. Set KubeadmBootstrap.KustomizePath = fmt.Sprintf(KubeadmBootstrapGitHubManifestsFormat, <some git ref>).

      View Source
      var KubeadmControlPlaneGitHubManifestsFormat = "https://github.com/kubernetes-sigs/cluster-api//controlplane/kubeadm/config?ref=%s"

        KubeadmControlPlaneGitHubManifestsFormat is a convenience string to get Cluster API manifests at an exact revision. Set KubeadmControlPlane.KustomizePath = fmt.Sprintf(KubeadmControlPlaneGitHubManifestsFormat, <some git ref>).

        Functions

        This section is empty.

        Types

        type CertManager

        type CertManager struct {
        	// ReleaseVersion defines the release version. Must be set.
        	ReleaseVersion string
        }

          Generator generates the components for cert manager.

          func (*CertManager) GetName

          func (g *CertManager) GetName() string

            GetName returns the name of the components being generated.

            func (*CertManager) Manifests

            func (g *CertManager) Manifests(_ context.Context) ([]byte, error)

              Manifests return the generated components and any error if there is one.

              type ClusterAPI

              type ClusterAPI struct {
              	// KustomizePath is a URL, relative or absolute filesystem path to a kustomize file that generates Cluster API manifests.
              	// KustomizePath takes precedence over Version.
              	KustomizePath string
              	// Version defines the release version. If GitRef is not set Version must be set and will not use kustomize
              	Version string
              }

                Generator generates provider components for CAPI

                func (*ClusterAPI) GetName

                func (g *ClusterAPI) GetName() string

                  GetName returns the name of the components being generated.

                  func (*ClusterAPI) Manifests

                  func (g *ClusterAPI) Manifests(ctx context.Context) ([]byte, error)

                    Manifests return the generated components and any error if there is one.

                    type KubeadmBootstrap

                    type KubeadmBootstrap struct {
                    	// KustomizePath is a URL, relative or absolute filesystem path to a kustomize file that generates the Kubeadm Bootstrap manifests.
                    	// KustomizePath takes precedence over Version.
                    	KustomizePath string
                    	// Version defines the release version. If GitRef is not set Version must be set and will not use kustomize.
                    	Version string
                    }

                      KubeadmBootstrap generates provider components for the Kubeadm bootstrap provider.

                      func (*KubeadmBootstrap) GetName

                      func (g *KubeadmBootstrap) GetName() string

                        GetName returns the name of the components being generated.

                        func (*KubeadmBootstrap) Manifests

                        func (g *KubeadmBootstrap) Manifests(ctx context.Context) ([]byte, error)

                          Manifests return the generated components and any error if there is one.

                          type KubeadmControlPlane

                          type KubeadmControlPlane struct {
                          	// KustomizePath is a URL, relative or absolute filesystem path to a kustomize file that generates the Kubeadm Control Plane provider manifests.
                          	// KustomizePath takes precedence over Version.
                          	KustomizePath string
                          	// Version defines the release version. If GitRef is not set Version must be set and will not use kustomize.
                          	Version string
                          }

                            KubeadmControlPlane generates provider components for the Kubeadm Control Plane provider.

                            func (*KubeadmControlPlane) GetName

                            func (g *KubeadmControlPlane) GetName() string

                              GetName returns the name of the components being generated.

                              func (*KubeadmControlPlane) Manifests

                              func (g *KubeadmControlPlane) Manifests(ctx context.Context) ([]byte, error)

                                Manifests return the generated components and any error if there is one.