Documentation ¶
Index ¶
- func ApplyTemplate(in []byte, templateData any) ([]byte, error)
- func ConvertFSToBytes(inFS FS, name string, templateData any) ([][]byte, error)
- func Copy(srcFile, dstFile string) error
- func CopyDir(src fs.FS, dest string) error
- func CopyDirectory(scrDir, dest string) error
- func CopyFile(src fs.File, dest string) error
- func CreateIfNotExists(dir string, perm os.FileMode) error
- func Exists(filePath string) bool
- func GeneratePassword() (string, error)
- func GetCLIStartTimeAnnotationValue(annotations map[string]string) (string, error)
- func GetLastObservedSyncTimeAnnotationValue(annotations map[string]string) (string, error)
- func SetCLIStartTimeAnnotationValue(annotations map[string]string, timeStamp string)
- func SetLastObservedSyncTimeAnnotationValue(annotations map[string]string, timeStamp string)
- func UpdateSyncAnnotation(ctx context.Context, kubeClient client.Client, obj client.Object) error
- func WriteFS(src fs.FS, dest string) error
- type CorePackageTemplateConfig
- type FS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTemplate ¶ added in v0.3.0
func ConvertFSToBytes ¶
func CopyDirectory ¶ added in v0.2.0
func GeneratePassword ¶ added in v0.4.0
func GetCLIStartTimeAnnotationValue ¶ added in v0.2.0
func GetLastObservedSyncTimeAnnotationValue ¶ added in v0.2.0
func SetCLIStartTimeAnnotationValue ¶ added in v0.2.0
func SetLastObservedSyncTimeAnnotationValue ¶ added in v0.2.0
func UpdateSyncAnnotation ¶ added in v0.2.0
Types ¶
type CorePackageTemplateConfig ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.