Documentation ¶
Index ¶
- func CreateAppInputSecret(spec *cfapp.CloudflowApplicationSpec, config *Config) (*corev1.Secret, error)
- func CreateEmptyStreamletSecret(appID string, name string, ownerReference metav1.OwnerReference) *corev1.Secret
- func CreateInputSecret(appID string, data map[string]string) *corev1.Secret
- func ReferencedPersistentVolumeClaimsExist(config *Config, namespace string, ...) error
- func UpdateSecretWithOwnerReference(cloudflowCROwnerReference metav1.OwnerReference, secret *corev1.Secret) *corev1.Secret
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAppInputSecret ¶
func CreateAppInputSecret(spec *cfapp.CloudflowApplicationSpec, config *Config) (*corev1.Secret, error)
CreateAppInputSecret creates input secret
func CreateEmptyStreamletSecret ¶
func CreateEmptyStreamletSecret(appID string, name string, ownerReference metav1.OwnerReference) *corev1.Secret
CreateEmptyStreamletSecret creates empty streamlet secret
func CreateInputSecret ¶
func ReferencedPersistentVolumeClaimsExist ¶
func ReferencedPersistentVolumeClaimsExist(config *Config, namespace string, applicationSpec cfapp.CloudflowApplicationSpec, k8sClient *kubernetes.Clientset) error
ReferencedPersistentVolumeClaimsExist checks if all the PVCs exist.
func UpdateSecretWithOwnerReference ¶
func UpdateSecretWithOwnerReference(cloudflowCROwnerReference metav1.OwnerReference, secret *corev1.Secret) *corev1.Secret
UpdateSecretWithOwnerReference updates the secret with the ownerreference passed in
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config keeps the configuration that has been built up so far.
func GetAppConfiguration ¶
func MountExistingPVCs ¶
func MountExistingPVCs(applicationSpec cfapp.CloudflowApplicationSpec, config *Config) (*Config, error)
Click to show internal directories.
Click to hide internal directories.