Documentation ¶
Index ¶
- type ComponentConfig
- func (c ComponentConfig) NewAdmissionControllerSecret() (*corev1.Secret, error)
- func (c ComponentConfig) NewAlamedaScaler(str string) *autoscaling_v1alpha1.AlamedaScaler
- func (c ComponentConfig) NewClusterRole(str string) *rbacv1.ClusterRole
- func (c ComponentConfig) NewClusterRoleBinding(str string) *rbacv1.ClusterRoleBinding
- func (c ComponentConfig) NewConfigMap(str string) *corev1.ConfigMap
- func (c ComponentConfig) NewDeployment(str string) *appsv1.Deployment
- func (c ComponentConfig) NewInfluxDBSecret() (*corev1.Secret, error)
- func (c ComponentConfig) NewPersistentVolumeClaim(str string) *corev1.PersistentVolumeClaim
- func (c ComponentConfig) NewSecret(str string) (*corev1.Secret, error)
- func (c ComponentConfig) NewService(str string) *corev1.Service
- func (c ComponentConfig) NewServiceAccount(str string) *corev1.ServiceAccount
- func (c ComponentConfig) RegistryCustomResourceDefinition(str string) *apiextv1beta1.CustomResourceDefinition
- func (c *ComponentConfig) SetNameSpace(ns string)
- type PodTemplateConfig
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) NewPersistentVolumeClaim ¶
func (c ComponentConfig) NewPersistentVolumeClaim(str string) *corev1.PersistentVolumeClaim
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) 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
Click to show internal directories.
Click to hide internal directories.