Documentation ¶
Index ¶
- func BuildDockerImagePath(dockerRepository string, imageVersion string) string
- func FileHash(filePath string) (string, error)
- func GetSSHPublicKey(filePath string) (pulumi.StringOutput, error)
- func IndentMultilineString(s string, indentation int) string
- func JSONMustMarshal(v any) string
- func KubeConfigYAMLToJSON(kubeConfig pulumi.StringOutput) pulumi.StringInput
- func MergeMaps(a, b map[string]interface{}, mergeSlices bool) map[string]interface{}
- func MergeOptions[T any](current []T, opts ...T) []T
- func MergeYAML(oldValuesYamlContent string, newValuesYamlContent string) (string, error)
- func MergeYAMLWithSlices(oldValuesYamlContent string, newValuesYamlContent string) (string, error)
- func NewImagePullSecret(e config.Env, namespace string, opts ...pulumi.ResourceOption) (*corev1.Secret, error)
- func ParseImageReference(imageRef string) (imagePath string, tag string)
- func Pointer[T any](value T) *T
- func PulumiDependsOn(resources ...pulumi.Resource) pulumi.ResourceOption
- func ReadSecretFile(filePath string) (pulumi.StringOutput, error)
- func StrHash(all ...string) string
- func StringPtr(s string) pulumi.StringPtrInput
- type RandomGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDockerImagePath ¶
func GetSSHPublicKey ¶
func GetSSHPublicKey(filePath string) (pulumi.StringOutput, error)
func IndentMultilineString ¶
func JSONMustMarshal ¶
func KubeConfigYAMLToJSON ¶
func KubeConfigYAMLToJSON(kubeConfig pulumi.StringOutput) pulumi.StringInput
KubeConfigYAMLToJSON safely converts a yaml kubeconfig to a json string.
func MergeOptions ¶
func MergeOptions[T any](current []T, opts ...T) []T
func MergeYAMLWithSlices ¶
func NewImagePullSecret ¶
func NewImagePullSecret(e config.Env, namespace string, opts ...pulumi.ResourceOption) (*corev1.Secret, error)
NewImagePullSecret creates an image pull secret based on environment
func ParseImageReference ¶
func PulumiDependsOn ¶
func PulumiDependsOn(resources ...pulumi.Resource) pulumi.ResourceOption
func ReadSecretFile ¶
func ReadSecretFile(filePath string) (pulumi.StringOutput, error)
func StringPtr ¶
func StringPtr(s string) pulumi.StringPtrInput
Types ¶
type RandomGenerator ¶
type RandomGenerator struct {
// contains filtered or unexported fields
}
func NewRandomGenerator ¶
func NewRandomGenerator(e config.Env, name string, options ...func(*RandomGenerator)) *RandomGenerator
func (*RandomGenerator) RandomString ¶
func (r *RandomGenerator) RandomString(name string, length int, special bool) (*random.RandomString, error)
Click to show internal directories.
Click to hide internal directories.