Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigCheckInitiatorVector = "VectorInitiator" ConfigCheckInitiatorPipieline = "PipelineInitiator" )
Variables ¶
View Source
var ( ValidationError = errors.New("config validation error") ConfigcheckTimeoutError = errors.New("timeout waiting configcheck pod result") )
Functions ¶
This section is empty.
Types ¶
type ConfigCheck ¶
type ConfigCheck struct { Config []byte Client client.Client ClientSet *kubernetes.Clientset Name string Namespace string Initiator string Image string ImagePullPolicy corev1.PullPolicy Envs []corev1.EnvVar Hash string Tolerations []corev1.Toleration Resources corev1.ResourceRequirements SecurityContext *corev1.PodSecurityContext ContainerSecurityContext *corev1.SecurityContext CompressedConfig bool ConfigReloaderImage string ConfigReloaderResources corev1.ResourceRequirements }
func New ¶
func New( config []byte, c client.Client, cs *kubernetes.Clientset, va *vectorv1alpha1.Vector, ) *ConfigCheck
func (*ConfigCheck) CleanAll ¶ added in v0.0.23
func (cc *ConfigCheck) CleanAll(ctx context.Context) error
func (*ConfigCheck) ConfigReloaderInitContainer ¶ added in v0.0.23
func (cc *ConfigCheck) ConfigReloaderInitContainer() *corev1.Container
Click to show internal directories.
Click to hide internal directories.