component

package
v4.2.277+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 25 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) NewAPIService added in v0.9.1

func (ComponentConfig) NewAdmissionControllerSecret

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

func (ComponentConfig) NewAlamedaNotificationChannel added in v0.9.1

func (c ComponentConfig) NewAlamedaNotificationChannel(str string) (*unstructuredv1.Unstructured, error)

func (ComponentConfig) NewAlamedaNotificationTopic added in v0.9.1

func (c ComponentConfig) NewAlamedaNotificationTopic(str string) (*unstructuredv1.Unstructured, error)

func (ComponentConfig) NewAlamedaScaler added in v0.2.12

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

func (ComponentConfig) NewCertificate added in v0.9.1

func (c ComponentConfig) NewCertificate(str string) (*certmanagerv1alpha1.Certificate, error)

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) NewDaemonSet added in v0.2.35

func (c ComponentConfig) NewDaemonSet(str string) *appsv1.DaemonSet

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) NewIssuer added in v0.9.1

func (c ComponentConfig) NewIssuer(str string) (*certmanagerv1alpha1.Issuer, error)

func (ComponentConfig) NewMutatingWebhookConfiguration added in v0.9.1

func (c ComponentConfig) NewMutatingWebhookConfiguration(str string) (*admissionregistration_v1beta1.MutatingWebhookConfiguration, error)

func (ComponentConfig) NewPersistentVolumeClaim

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

func (ComponentConfig) NewPodSecurityPolicy added in v0.2.35

func (c ComponentConfig) NewPodSecurityPolicy(str string) *v1beta1.PodSecurityPolicy

func (ComponentConfig) NewRole added in v0.9.1

func (c ComponentConfig) NewRole(str string) *rbacv1.Role

func (ComponentConfig) NewRoleBinding added in v0.9.1

func (c ComponentConfig) NewRoleBinding(str string) *rbacv1.RoleBinding

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) NewSecurityContextConstraints added in v0.9.1

func (c ComponentConfig) NewSecurityContextConstraints(str string) *securityv1.SecurityContextConstraints

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) NewTLSSecret added in v0.9.1

func (c ComponentConfig) NewTLSSecret(assetFile, cn string) (*corev1.Secret, error)

func (ComponentConfig) NewUnstructed added in v0.9.1

func (c ComponentConfig) NewUnstructed(str string) (*unstructuredv1.Unstructured, error)

func (ComponentConfig) NewValidatingWebhookConfiguration added in v0.9.1

func (c ComponentConfig) NewValidatingWebhookConfiguration(str string) (*admissionregistration_v1beta1.ValidatingWebhookConfiguration, error)

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