wordpress

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InternalHTTPPort represents the internal port used by the runtime container
	InternalHTTPPort = 8080
)

Variables

View Source
var (
	// WordpressSecret component
	WordpressSecret = component{/* contains filtered or unexported fields */}
	// WordpressDeployment component
	WordpressDeployment = component{/* contains filtered or unexported fields */}
	// WordpressCron component
	WordpressCron = component{/* contains filtered or unexported fields */}
	// WordpressDBUpgrade component
	WordpressDBUpgrade = component{/* contains filtered or unexported fields */}
	// WordpressService component
	WordpressService = component{/* contains filtered or unexported fields */}
	// WordpressIngress component
	WordpressIngress = component{/* contains filtered or unexported fields */}
	// WordpressCodePVC component
	WordpressCodePVC = component{/* contains filtered or unexported fields */}
	// WordpressMediaPVC component
	WordpressMediaPVC = component{/* contains filtered or unexported fields */}
)

Functions

This section is empty.

Types

type Wordpress

type Wordpress struct {
	*wordpressv1alpha1.Wordpress
}

Wordpress embeds wordpressv1alpha1.Wordpress and adds utility functions

func New

New wraps a wordpressv1alpha1.Wordpress into a Wordpress object

func (*Wordpress) ComponentLabels

func (o *Wordpress) ComponentLabels(component component) labels.Set

ComponentLabels returns labels for a label set for a wordpressv1alpha1.Wordpress component

func (*Wordpress) ComponentName

func (o *Wordpress) ComponentName(component component) string

ComponentName returns the object name for a component

func (*Wordpress) ImageTagVersion

func (o *Wordpress) ImageTagVersion() string

ImageTagVersion returns the version from the image tag in a format suitable fro kubernetes object names and labels

func (*Wordpress) JobPodLabels

func (o *Wordpress) JobPodLabels() labels.Set

JobPodLabels return labels to apply to cli job pods

func (*Wordpress) JobPodTemplateSpec

func (wp *Wordpress) JobPodTemplateSpec(cmd ...string) (out corev1.PodTemplateSpec)

JobPodTemplateSpec generates a pod template spec suitable for use in wp-cli jobs

func (*Wordpress) Labels

func (o *Wordpress) Labels() labels.Set

Labels returns default label set for wordpressv1alpha1.Wordpress

func (*Wordpress) SetDefaults

func (o *Wordpress) SetDefaults()

SetDefaults sets Wordpress field defaults

func (*Wordpress) Unwrap

func (o *Wordpress) Unwrap() *wordpressv1alpha1.Wordpress

Unwrap returns the wrapped wordpressv1alpha1.Wordpress object

func (*Wordpress) WebPodLabels

func (o *Wordpress) WebPodLabels() labels.Set

WebPodLabels return labels to apply to web pods

func (*Wordpress) WebPodTemplateSpec

func (wp *Wordpress) WebPodTemplateSpec() (out corev1.PodTemplateSpec)

WebPodTemplateSpec generates a pod template spec suitable for use in Wordpress deployment

Jump to

Keyboard shortcuts

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