// SPDX-License-Identifier: Apache-2.0
export class ErrorMessages {
    static LOCAL_CONFIG_DOES_NOT_EXIST = 'Please create a local configuration first. Run "solo deployment create"';
    static LOCAL_CONFIG_DEPLOYMENT_DOES_NOT_EXIST = 'The selected deployment does not correspond to a deployment in the local configuration';
    static LOCAL_CONFIG_GENERIC = 'Validation of local config failed';
    static LOCAL_CONFIG_INVALID_DEPLOYMENTS_FORMAT = 'Wrong deployments format';
    static LOCAL_CONFIG_CONTEXT_CLUSTER_MAPPING_FORMAT = 'Wrong clusterRefs format';
    static LOCAL_CONFIG_INVALID_SOLO_VERSION = 'Invalid solo version';
    static LOCAL_CONFIG_READING_BEFORE_LOADING = 'Attempting to read from local config before loading it';
    static LOCAL_CONFIG_MODIFY_BEFORE_LOADING = 'Attempting to modify local config before loading it';
    static LOCAL_CONFIG_WRITING_BEFORE_LOADING = 'Attempting to write local config before loading it';
    static INVALID_CONTEXT_FOR_CLUSTER = (context, cluster) => `Context ${context} is not valid for cluster ${cluster || ''}`;
    static INVALID_CONTEXT_FOR_CLUSTER_DETAILED = (context, cluster) => `Context ${context} is not valid for cluster ${cluster || ''}. ` +
        'Please select a valid context for the cluster or use kubectl to create a new context and try again';
    static REMOTE_CONFIGS_DO_NOT_MATCH = (cluster1, cluster2) => `The remote configurations in clusters ${cluster1} and ${cluster2} do not match. They need to be synced manually. ` +
        'Please select a valid context for the cluster or use kubectl to create a new context and try again.';
    static REMOTE_CONFIG_IS_INVALID = (cluster) => `The remote configuration in cluster ${cluster} is invalid and needs to be fixed manually`;
    static DEPLOYMENT_NAME_ALREADY_EXISTS = (deploymentName) => `A deployment named ${deploymentName} already exists. Please select a different name`;
}
//# sourceMappingURL=error-messages.js.map