component

package
v4.2.151+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentConfig

type ComponentConfig struct {
	NameSpace         string
	PodTemplateConfig PodTemplateConfig
}

func NewComponentConfig

func NewComponentConfig(namespace string, ptc PodTemplateConfig) *ComponentConfig

func (ComponentConfig) NewAdmissionControllerSecret

func (c ComponentConfig) NewAdmissionControllerSecret() (*corev1.Secret, error)

func (ComponentConfig) NewAlamedaScaler added in v0.2.12

func (c ComponentConfig) NewAlamedaScaler(str string) *autoscaling_v1alpha1.AlamedaScaler

func (ComponentConfig) NewClusterRole

func (c ComponentConfig) NewClusterRole(str string) *rbacv1.ClusterRole

func (ComponentConfig) NewClusterRoleBinding

func (c ComponentConfig) NewClusterRoleBinding(str string) *rbacv1.ClusterRoleBinding

func (ComponentConfig) NewConfigMap

func (c ComponentConfig) NewConfigMap(str string) *corev1.ConfigMap

func (ComponentConfig) NewDeployment

func (c ComponentConfig) NewDeployment(str string) *appsv1.Deployment

func (ComponentConfig) NewInfluxDBSecret

func (c ComponentConfig) NewInfluxDBSecret() (*corev1.Secret, error)

func (ComponentConfig) NewIngress added in v0.2.30

func (c ComponentConfig) NewIngress(str string) *ingressv1beta1.Ingress

func (ComponentConfig) NewPersistentVolumeClaim

func (c ComponentConfig) NewPersistentVolumeClaim(str string) *corev1.PersistentVolumeClaim

func (ComponentConfig) NewRoute added in v0.2.19

func (c ComponentConfig) NewRoute(str string) *routev1.Route

func (ComponentConfig) NewSecret

func (c ComponentConfig) NewSecret(str string) (*corev1.Secret, error)

func (ComponentConfig) NewService

func (c ComponentConfig) NewService(str string) *corev1.Service

func (ComponentConfig) NewServiceAccount

func (c ComponentConfig) NewServiceAccount(str string) *corev1.ServiceAccount

func (ComponentConfig) NewStatefulSet added in v0.2.30

func (c ComponentConfig) NewStatefulSet(str string) *appsv1.StatefulSet

func (ComponentConfig) NewfedemeterSecret added in v0.2.30

func (c ComponentConfig) NewfedemeterSecret() (*corev1.Secret, error)

func (ComponentConfig) RegistryCustomResourceDefinition

func (c ComponentConfig) RegistryCustomResourceDefinition(str string) *apiextv1beta1.CustomResourceDefinition

func (*ComponentConfig) SetNameSpace

func (c *ComponentConfig) SetNameSpace(ns string)

type PodTemplateConfig added in v0.2.0

type PodTemplateConfig struct {
	corev1.PodSecurityContext
}

PodTemplateConfig specifies pod confiruation needed while deploying pod

func NewDefaultPodTemplateConfig added in v0.2.0

func NewDefaultPodTemplateConfig(ns corev1.Namespace) PodTemplateConfig

Jump to

Keyboard shortcuts

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