manifests

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: Apache-2.0 Imports: 25 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.cluster.k8s.io/v1alpha1` 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 Ingress added in v0.5.0

type Ingress struct {
	FileList []*asset.File
	// contains filtered or unexported fields
}

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 loads the already-rendered files back from disk.

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 {
	FileList []*asset.File
	// contains filtered or unexported fields
}

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 loads the already-rendered files back from disk.

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

Jump to

Keyboard shortcuts

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