manifests

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 63 Imported by: 42 modules, 78 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package manifests deals with creating manifests for all manifests to be installed for the cluster

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchedulerCfgFilename is the path of the Scheduler Config file
	SchedulerCfgFilename = filepath.Join(manifestDir, "cluster-scheduler-02-config.yml")
)

Functions

func OvnKubeConfig added in v0.4.15

func OvnKubeConfig(cns []configv1.ClusterNetworkEntry, sn []string, useHostRouting bool) ([]byte, error)

OvnKubeConfig creates a config file for the OVNKubernetes CNI provider

func ParseCertificates added in v0.4.15

func ParseCertificates(certificates string) (map[string]string, error)

ParseCertificates parses and verifies a PEM certificate bundle

Types

type AdditionalTrustBundleConfig added in v0.4.15

type AdditionalTrustBundleConfig struct {
	ConfigMap *corev1.ConfigMap
	File      *asset.File
}

AdditionalTrustBundleConfig generates the additional-trust-bundle-config.yaml files.

func (*AdditionalTrustBundleConfig) Dependencies added in v0.4.15

func (*AdditionalTrustBundleConfig) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*AdditionalTrustBundleConfig) Files added in v0.4.15

func (atbc *AdditionalTrustBundleConfig) Files() []*asset.File

Files returns the files generated by the asset.

func (*AdditionalTrustBundleConfig) Generate added in v0.4.15

func (atbc *AdditionalTrustBundleConfig) Generate(dependencies asset.Parents) error

Generate generates the CloudProviderConfig.

func (*AdditionalTrustBundleConfig) Load added in v0.4.15

Load loads the already-rendered files back from disk.

func (*AdditionalTrustBundleConfig) Name added in v0.4.15

Name returns a human friendly name for the asset.

type AwsCredsSecretData added in v0.4.0

type AwsCredsSecretData struct {
	Base64encodeAccessKeyID     string
	Base64encodeSecretAccessKey string
}

AwsCredsSecretData holds encoded credentials and is used to generate cloud-creds secret

type AzureCredsSecretData added in v0.4.15

type AzureCredsSecretData struct {
	Base64encodeSubscriptionID string
	Base64encodeClientID       string
	Base64encodeClientSecret   string
	Base64encodeTenantID       string
	Base64encodeResourcePrefix string
	Base64encodeResourceGroup  string
	Base64encodeRegion         string
}

AzureCredsSecretData holds encoded credentials and is used to generate cloud-creds secret

type CloudProviderConfig added in v0.4.15

type CloudProviderConfig struct {
	ConfigMap *corev1.ConfigMap
	File      *asset.File
}

CloudProviderConfig generates the cloud-provider-config.yaml files.

func (*CloudProviderConfig) Dependencies added in v0.4.15

func (*CloudProviderConfig) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*CloudProviderConfig) Files added in v0.4.15

func (cpc *CloudProviderConfig) Files() []*asset.File

Files returns the files generated by the asset.

func (*CloudProviderConfig) Generate added in v0.4.15

func (cpc *CloudProviderConfig) Generate(dependencies asset.Parents) error

Generate generates the CloudProviderConfig.

func (*CloudProviderConfig) Load added in v0.4.15

Load loads the already-rendered files back from disk.

func (*CloudProviderConfig) Name added in v0.4.15

func (*CloudProviderConfig) Name() string

Name returns a human friendly name for the asset.

type ClusterCSIDriverConfig added in v0.4.15

type ClusterCSIDriverConfig struct {
	File *asset.File
}

ClusterCSIDriverConfig generates the cluster-csi-driver-config.yaml file.

func (*ClusterCSIDriverConfig) Dependencies added in v0.4.15

func (*ClusterCSIDriverConfig) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*ClusterCSIDriverConfig) Files added in v0.4.15

func (csi *ClusterCSIDriverConfig) Files() []*asset.File

Files returns the files generated by the asset.

func (*ClusterCSIDriverConfig) Generate added in v0.4.15

func (csi *ClusterCSIDriverConfig) Generate(dependencies asset.Parents) error

Generate the ClusterCSIDriverConfig.

func (*ClusterCSIDriverConfig) Load added in v0.4.15

Load loads the already-rendered files back from disk.

func (*ClusterCSIDriverConfig) Name added in v0.4.15

Name returns a human friendly name for the asset.

type DNS added in v0.4.15

type DNS struct {
	FileList []*asset.File
}

DNS generates the cluster-dns-*.yml files.

func (*DNS) Dependencies added in v0.4.15

func (*DNS) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*DNS) Files added in v0.4.15

func (d *DNS) Files() []*asset.File

Files returns the files generated by the asset.

func (*DNS) Generate added in v0.4.15

func (d *DNS) Generate(dependencies asset.Parents) error

Generate generates the DNS config and its CRD.

func (*DNS) Load added in v0.4.15

func (d *DNS) Load(f asset.FileFetcher) (bool, error)

Load loads the already-rendered files back from disk.

func (*DNS) Name added in v0.4.15

func (*DNS) Name() string

Name returns a human friendly name for the asset.

type FeatureGate added in v0.4.15

type FeatureGate struct {
	FileList []*asset.File
	Config   configv1.FeatureGate
}

FeatureGate generates the feature gate manifest.

func (*FeatureGate) Dependencies added in v0.4.15

func (*FeatureGate) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*FeatureGate) Files added in v0.4.15

func (f *FeatureGate) Files() []*asset.File

Files returns the files generated by the asset.

func (*FeatureGate) Generate added in v0.4.15

func (f *FeatureGate) Generate(dependencies asset.Parents) error

Generate generates the FeatureGate CRD.

func (*FeatureGate) Load added in v0.4.15

func (f *FeatureGate) Load(ff asset.FileFetcher) (bool, error)

Load loads the already-rendered files back from disk.

func (*FeatureGate) Name added in v0.4.15

func (*FeatureGate) Name() string

Name returns a human-friendly name for the asset.

type GCPCredsSecretData added in v0.4.15

type GCPCredsSecretData struct {
	Base64encodeServiceAccount string
}

GCPCredsSecretData holds encoded credentials and is used to generate cloud-creds secret

type IBMCloudCredsSecretData added in v0.4.15

type IBMCloudCredsSecretData struct {
	Base64encodeAPIKey string
}

IBMCloudCredsSecretData holds encoded credentials and is used to generate cloud-creds secret

type ImageContentSourcePolicy added in v0.4.15

type ImageContentSourcePolicy struct {
	FileList []*asset.File
}

ImageContentSourcePolicy generates the image-content-source-policy.yaml files.

func (*ImageContentSourcePolicy) Dependencies added in v0.4.15

func (*ImageContentSourcePolicy) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*ImageContentSourcePolicy) Files added in v0.4.15

func (p *ImageContentSourcePolicy) Files() []*asset.File

Files returns the files generated by the asset.

func (*ImageContentSourcePolicy) Generate added in v0.4.15

func (p *ImageContentSourcePolicy) Generate(dependencies asset.Parents) error

Generate generates the ImageContentSourcePolicy config and its CRD.

func (*ImageContentSourcePolicy) Load added in v0.4.15

Load loads the already-rendered files back from disk.

func (*ImageContentSourcePolicy) Name added in v0.4.15

Name returns a human-friendly name for the asset.

type Infrastructure added in v0.4.15

type Infrastructure struct {
	FileList []*asset.File
}

Infrastructure generates the cluster-infrastructure-*.yml files.

func (*Infrastructure) Dependencies added in v0.4.15

func (*Infrastructure) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*Infrastructure) Files added in v0.4.15

func (i *Infrastructure) Files() []*asset.File

Files returns the files generated by the asset.

func (*Infrastructure) Generate added in v0.4.15

func (i *Infrastructure) Generate(dependencies asset.Parents) error

Generate generates the Infrastructure config and its CRD.

func (*Infrastructure) Load added in v0.4.15

func (i *Infrastructure) Load(f asset.FileFetcher) (bool, error)

Load returns false since this asset is not written to disk by the installer.

func (*Infrastructure) Name added in v0.4.15

func (*Infrastructure) Name() string

Name returns a human friendly name for the asset.

type Ingress added in v0.4.15

type Ingress struct {
	FileList []*asset.File
}

Ingress generates the cluster-ingress-*.yml files.

func (*Ingress) Dependencies added in v0.4.15

func (*Ingress) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*Ingress) Files added in v0.4.15

func (ing *Ingress) Files() []*asset.File

Files returns the files generated by the asset.

func (*Ingress) Generate added in v0.4.15

func (ing *Ingress) Generate(dependencies asset.Parents) error

Generate generates the ingress cluster config and default ingresscontroller.

A cluster ingress config is always created.

A default ingresscontroller is only created if the cluster is using an internal publishing strategy. In this case, the default ingresscontroller is also set to use the internal publishing strategy.

func (*Ingress) Load added in v0.4.15

func (ing *Ingress) Load(asset.FileFetcher) (bool, error)

Load returns false since this asset is not written to disk by the installer.

func (*Ingress) Name added in v0.4.15

func (*Ingress) Name() string

Name returns a human friendly name for the asset.

type Manifests added in v0.2.0

type Manifests struct {
	KubeSysConfig *configurationObject
	FileList      []*asset.File
}

Manifests generates the dependent operator config.yaml files

func (*Manifests) Dependencies added in v0.2.0

func (m *Manifests) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed by a Manifests asset.

func (*Manifests) Files added in v0.2.0

func (m *Manifests) Files() []*asset.File

Files returns the files generated by the asset.

func (*Manifests) Generate added in v0.2.0

func (m *Manifests) Generate(dependencies asset.Parents) error

Generate generates the respective operator config.yml files

func (*Manifests) Load added in v0.3.0

func (m *Manifests) Load(f asset.FileFetcher) (bool, error)

Load returns the manifests asset from disk.

func (*Manifests) Name added in v0.2.0

func (m *Manifests) Name() string

Name returns a human friendly name for the operator

type Networking added in v0.4.0

type Networking struct {
	Config   *configv1.Network
	FileList []*asset.File
}

Networking generates the cluster-network-*.yml files.

func (*Networking) Dependencies added in v0.4.0

func (no *Networking) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate network configuration.

func (*Networking) Files added in v0.4.0

func (no *Networking) Files() []*asset.File

Files returns the files generated by the asset.

func (*Networking) Generate added in v0.4.0

func (no *Networking) Generate(dependencies asset.Parents) error

Generate generates the network operator config and its CRD.

func (*Networking) Load added in v0.4.0

func (no *Networking) Load(f asset.FileFetcher) (bool, error)

Load returns false since this asset is not written to disk by the installer.

func (*Networking) Name added in v0.4.0

func (no *Networking) Name() string

Name returns a human friendly name for the operator.

type OpenStackCredsSecretData added in v0.4.0

type OpenStackCredsSecretData struct {
	Base64encodeCloudCreds    string
	Base64encodeCloudCredsINI string
}

OpenStackCredsSecretData holds encoded credentials and is used to generate cloud-creds secret

type Openshift added in v0.4.15

type Openshift struct {
	FileList []*asset.File
}

Openshift generates the dependent resource manifests for openShift (as against bootkube)

func (*Openshift) Dependencies added in v0.4.15

func (o *Openshift) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed by the Openshift asset

func (*Openshift) Files added in v0.4.15

func (o *Openshift) Files() []*asset.File

Files returns the files generated by the asset.

func (*Openshift) Generate added in v0.4.15

func (o *Openshift) Generate(dependencies asset.Parents) error

Generate generates the respective operator config.yml files

func (*Openshift) Load added in v0.4.15

func (o *Openshift) Load(f asset.FileFetcher) (bool, error)

Load returns the openshift asset from disk.

func (*Openshift) Name added in v0.4.15

func (o *Openshift) Name() string

Name returns a human friendly name for the operator

type OvirtCredsSecretData added in v0.4.15

type OvirtCredsSecretData struct {
	Base64encodeURL      string
	Base64encodeUsername string
	Base64encodePassword string
	Base64encodeInsecure string
	Base64encodeCABundle string
}

OvirtCredsSecretData holds encoded credentials and is used to generated cloud-creds secret

type Proxy added in v0.4.15

type Proxy struct {
	FileList []*asset.File
	Config   *configv1.Proxy
}

Proxy generates the cluster-proxy-*.yml files.

func (*Proxy) Dependencies added in v0.4.15

func (*Proxy) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*Proxy) Files added in v0.4.15

func (p *Proxy) Files() []*asset.File

Files returns the files generated by the asset.

func (*Proxy) Generate added in v0.4.15

func (p *Proxy) Generate(dependencies asset.Parents) error

Generate generates the Proxy config and its CRD.

func (*Proxy) Load added in v0.4.15

func (p *Proxy) Load(f asset.FileFetcher) (bool, error)

Load loads the already-rendered files back from disk.

func (*Proxy) Name added in v0.4.15

func (*Proxy) Name() string

Name returns a human-friendly name for the asset.

type Scheduler added in v0.4.15

type Scheduler struct {
	FileList []*asset.File
}

Scheduler generates the cluster-scheduler-*.yml files.

func (*Scheduler) Dependencies added in v0.4.15

func (*Scheduler) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*Scheduler) Files added in v0.4.15

func (s *Scheduler) Files() []*asset.File

Files returns the files generated by the asset.

func (*Scheduler) Generate added in v0.4.15

func (s *Scheduler) Generate(dependencies asset.Parents) error

Generate generates the scheduler config and its CRD.

func (*Scheduler) Load added in v0.4.15

func (s *Scheduler) Load(f asset.FileFetcher) (bool, error)

Load returns false since this asset is not written to disk by the installer.

func (*Scheduler) Name added in v0.4.15

func (*Scheduler) Name() string

Name returns a human friendly name for the asset.

type VSphereCredsSecretData added in v0.4.15

type VSphereCredsSecretData struct {
	VCenter              string
	Base64encodeUsername string
	Base64encodePassword string
}

VSphereCredsSecretData holds encoded credentials and is used to generated cloud-creds secret

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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