Documentation ¶
Index ¶
- func AreResponding(ctx context.Context, urls ...string) error
- func DeleteByImpersonatedUser(ctx context.Context, cfg config.Config, appName string) error
- func DeleteByServiceAccount(ctx context.Context, cfg config.Config, appName string) error
- func DeleteIfExist(ctx context.Context, cfg config.Config, appName string) error
- func Deploy(ctx context.Context, cfg config.Config, appName, toEnvironment string) (*applicationclient.TriggerPipelineDeployOK, error)
- func Get(ctx context.Context, cfg config.Config, appName string) (*models.Application, error)
- func GetDeployKey(ctx context.Context, cfg config.Config, appName string) (string, error)
- func HasDeployKey(ctx context.Context, cfg config.Config, appName, expectedDeployKey string) error
- func IsAliasDefined(ctx context.Context, cfg config.Config, appName string) error
- func IsDefined(ctx context.Context, cfg config.Config, appName string) error
- func IsDeployKeyDefined(ctx context.Context, cfg config.Config, appName string) error
- func IsResponding(ctx context.Context, url string) bool
- func IsRunningInActiveCluster(publicDomainName, canonicalDomainName string) bool
- func RegenerateDeployKey(ctx context.Context, cfg config.Config, ...) error
- func Register(ctx context.Context, cfg config.Config, ...) (*apiclient.RegisterApplicationOK, error)
- func TryGetCanonicalDomainName(ctx context.Context, cfg config.Config, ...) (string, error)
- func TryGetPublicDomainName(ctx context.Context, cfg config.Config, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreResponding ¶
AreResponding Checks if all endpoint responds
func DeleteByImpersonatedUser ¶
DeleteByImpersonatedUser Deletes an application by the impersonated user
func DeleteByServiceAccount ¶
DeleteByServiceAccount an application by the service account
func DeleteIfExist ¶
DeleteIfExist Delete application if it exists
func Deploy ¶
func Deploy(ctx context.Context, cfg config.Config, appName, toEnvironment string) (*applicationclient.TriggerPipelineDeployOK, error)
Deploy Deploy application
func GetDeployKey ¶
func HasDeployKey ¶
func IsAliasDefined ¶
IsAliasDefined Checks if app alias is defined
func IsDeployKeyDefined ¶
func IsResponding ¶
IsResponding Checks if endpoint is responding
func IsRunningInActiveCluster ¶
IsRunningInActiveCluster Check if app is running in active cluster
func RegenerateDeployKey ¶
func Register ¶
func Register(ctx context.Context, cfg config.Config, appName, appRepo, appSharedSecret, appCreator, configBranch, configurationItem string, appAdminGroup string, appReaderGroups []string) (*apiclient.RegisterApplicationOK, error)
Register Will register application
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.