manifests

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 ClusterK8sIO added in v0.4.0

type ClusterK8sIO struct {
	Raw []byte
}

ClusterK8sIO generates the `Cluster.machine.openshift.io/v1beta1` object.

func (*ClusterK8sIO) Dependencies added in v0.4.0

func (c *ClusterK8sIO) Dependencies() []asset.Asset

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

func (*ClusterK8sIO) Generate added in v0.4.0

func (c *ClusterK8sIO) Generate(dependencies asset.Parents) error

Generate generates the Worker asset.

func (*ClusterK8sIO) Name added in v0.4.0

func (c *ClusterK8sIO) Name() string

Name returns a human friendly name for the ClusterK8sIO Asset.

type DNS added in v0.8.0

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

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

func (*DNS) Dependencies added in v0.8.0

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

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

func (*DNS) Files added in v0.8.0

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

Files returns the files generated by the asset.

func (*DNS) Generate added in v0.8.0

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

Generate generates the DNS config and its CRD.

func (*DNS) Load added in v0.8.0

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

Load loads the already-rendered files back from disk.

func (*DNS) Name added in v0.8.0

func (*DNS) Name() string

Name returns a human friendly name for the asset.

type Infrastructure added in v0.10.0

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

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

func (*Infrastructure) Dependencies added in v0.10.0

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

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

func (*Infrastructure) Files added in v0.10.0

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

Files returns the files generated by the asset.

func (*Infrastructure) Generate added in v0.10.0

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

Generate generates the Infrastructure config and its CRD.

func (*Infrastructure) Load added in v0.10.0

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.10.0

func (*Infrastructure) Name() string

Name returns a human friendly name for the asset.

type Ingress added in v0.5.0

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

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

func (*Ingress) Dependencies added in v0.5.0

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

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

func (*Ingress) Files added in v0.5.0

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

Files returns the files generated by the asset.

func (*Ingress) Generate added in v0.5.0

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

Generate generates the ingress config and its CRD.

func (*Ingress) Load added in v0.5.0

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

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

func (*Ingress) Name added in v0.5.0

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) ClusterNetwork added in v0.4.0

func (no *Networking) ClusterNetwork() (*clusterv1a1.ClusterNetworkingConfig, error)

ClusterNetwork returns the ClusterNetworkingConfig for the ClusterConfig object. This is called by ClusterK8sIO, which captures generalized cluster state but shouldn't need to be fully networking aware.

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
}

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

type Openshift added in v0.6.0

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

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

func (*Openshift) Dependencies added in v0.6.0

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

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

func (*Openshift) Files added in v0.6.0

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

Files returns the files generated by the asset.

func (*Openshift) Generate added in v0.6.0

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

Generate generates the respective operator config.yml files

func (*Openshift) Load added in v0.6.0

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

Load returns the openshift asset from disk.

func (*Openshift) Name added in v0.6.0

func (o *Openshift) Name() string

Name returns a human friendly name for the operator

type Scheduler added in v0.15.0

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

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

func (*Scheduler) Dependencies added in v0.15.0

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

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

func (*Scheduler) Files added in v0.15.0

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

Files returns the files generated by the asset.

func (*Scheduler) Generate added in v0.15.0

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

Generate generates the scheduler config and its CRD.

func (*Scheduler) Load added in v0.15.0

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.15.0

func (*Scheduler) Name() string

Name returns a human friendly name for the asset.

Jump to

Keyboard shortcuts

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