Documentation
¶
Index ¶
- Constants
- func CreateEnv(ctx context.Context, c client.Client, envName string, envArgs *types.EnvMeta) (string, error)
- func CreateOrUpdateEnv(ctx context.Context, c client.Client, envName string, envArgs *types.EnvMeta) (string, error)
- func DeleteEnv(envName string) (string, error)
- func GetCurrentEnvName() (string, error)
- func GetEnvByName(name string) (*types.EnvMeta, error)
- func GetEnvDirByName(name string) string
- func GetStringPointer(v string) *string
- func ListEnvs(envName string) ([]*types.EnvMeta, error)
- func SetEnv(envName string) (string, error)
- func UpdateEnv(ctx context.Context, c client.Client, envName string, namespace string) (string, error)
Constants ¶
View Source
const ProductionACMEServer = "https://acme-v02.api.letsencrypt.org/directory"
ProductionACMEServer is the production ACME Server from let's encrypt
Variables ¶
This section is empty.
Functions ¶
func CreateEnv ¶
func CreateEnv(ctx context.Context, c client.Client, envName string, envArgs *types.EnvMeta) (string, error)
CreateEnv will only create. If env already exists, return error
func CreateOrUpdateEnv ¶
func CreateOrUpdateEnv(ctx context.Context, c client.Client, envName string, envArgs *types.EnvMeta) (string, error)
Create or update env. If it does not exist, create it and set to the new env. If it exists, update it and set to the new env.
func GetCurrentEnvName ¶
func GetEnvDirByName ¶
func GetStringPointer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.