manifests

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 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

type AwsCredsSecretData struct {
	Base64encodeAccessKeyID     string
	Base64encodeSecretAccessKey string
}

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

type DNS

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

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

func (*DNS) Dependencies

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

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

func (*DNS) Files

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

Files returns the files generated by the asset.

func (*DNS) Generate

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

Generate generates the DNS config and its CRD.

func (*DNS) Load

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

Load loads the already-rendered files back from disk.

func (*DNS) Name

func (*DNS) Name() string

Name returns a human friendly name for the asset.

type Infrastructure

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

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

func (*Infrastructure) Dependencies

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

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

func (*Infrastructure) Files

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

Files returns the files generated by the asset.

func (*Infrastructure) Generate

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

Generate generates the Infrastructure config and its CRD.

func (*Infrastructure) Load

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

func (*Infrastructure) Name() string

Name returns a human friendly name for the asset.

type Ingress

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

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

func (*Ingress) Dependencies

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

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

func (*Ingress) Files

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

Files returns the files generated by the asset.

func (*Ingress) Generate

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

Generate generates the ingress config and its CRD.

func (*Ingress) Load

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

func (*Ingress) Name() string

Name returns a human friendly name for the asset.

type Manifests

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

Manifests generates the dependent operator config.yaml files

func (*Manifests) Dependencies

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

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

func (*Manifests) Files

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

Files returns the files generated by the asset.

func (*Manifests) Generate

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

Generate generates the respective operator config.yml files

func (*Manifests) Load

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

Load returns the manifests asset from disk.

func (*Manifests) Name

func (m *Manifests) Name() string

Name returns a human friendly name for the operator

type Networking

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

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

func (*Networking) Dependencies

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

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

func (*Networking) Files

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

Files returns the files generated by the asset.

func (*Networking) Generate

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

Generate generates the network operator config and its CRD.

func (*Networking) Load

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

func (no *Networking) Name() string

Name returns a human friendly name for the operator.

type OpenStackCredsSecretData

type OpenStackCredsSecretData struct {
	Base64encodeCloudCreds string
}

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

type Openshift

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

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

func (*Openshift) Dependencies

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

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

func (*Openshift) Files

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

Files returns the files generated by the asset.

func (*Openshift) Generate

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

Generate generates the respective operator config.yml files

func (*Openshift) Load

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

Load returns the openshift asset from disk.

func (*Openshift) Name

func (o *Openshift) Name() string

Name returns a human friendly name for the operator

type Scheduler

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

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

func (*Scheduler) Dependencies

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

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

func (*Scheduler) Files

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

Files returns the files generated by the asset.

func (*Scheduler) Generate

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

Generate generates the scheduler config and its CRD.

func (*Scheduler) Load

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

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