Documentation ¶
Index ¶
- Constants
- func AlreadyLoggedIn(account models.User)
- func BackupCreated(backupName string, short bool)
- func BackupRestored()
- func Changes(changes core.ChangesByEnvironment)
- func CiAdded()
- func CiConfigurations(services []keystonefile.CiService)
- func CiNoSecretsForEnvironment(environmentName string)
- func CiSecretSent(serviceName, environmentName, usage string)
- func CiSecretsRemoved(environmentName string)
- func CiServiceRemoved(serviceName string)
- func CiServiceSetupSuccessfully()
- func DeletionSuccess(projectName string)
- func DeviceList(devices []models.Device)
- func DeviceRevokeSuccess()
- func EnterValue(secretName string)
- func Environment(environment string)
- func EnvironmentList(environments []string, currentEnvironment string)
- func EnvironmentSendSuccess()
- func EnvironmentUsing(environmentName string)
- func Error(err error) bool
- func ExecutingHook(hook string)
- func FileAddSuccess(filePath string, numberOfEnvironments int)
- func FileAskForFileContentForEnvironment(filePath, environmentName string)
- func FileContentsForEnvironments(fileName string, environments []models.Environment, ...)
- func FileFailUserInput(err error)
- func FileFailedGetContentFromEditor(err error)
- func FileIsNowOptional(filePath string)
- func FileIsNowRequired(filePath string)
- func FileKept()
- func FileNotManaged(filePath string)
- func FileRemovedSuccess(filePath string)
- func FileSetSuccess(filePath string)
- func Files(files []core.FileDescriptor, filter string, quiet bool)
- func HookAddedSuccessfully()
- func HookCommand(hook string)
- func HookPathDoesNotExist(path string)
- func InviteSuccess(usersUIDs []string, email string)
- func LoginLink(name, url string)
- func LoginSucces()
- func Logout()
- func Logs(logs []models.ActivityLogLite)
- func ManageUrl(url string)
- func MembersAdded()
- func MembersByRole(members []models.ProjectMember)
- func NoFilesTracked()
- func OrganizationAccessibleProjects(projects []models.Project)
- func OrganizationCreated(organization models.Organization)
- func OrganizationMembers(members []models.ProjectMember)
- func OrganizationRenamed(from, to string)
- func OrganizationStatusUpdate(organization models.Organization)
- func Organizations(organizations []models.Organization, user models.User)
- func ProjectInitSuccess()
- func Projects(projects []models.Project)
- func RemovedMembers()
- func SecretAlreadyExitsts(values map[core.EnvironmentName]core.SecretValue)
- func SecretIsNow(secretName, prop string)
- func SecretIsSetForEnvironment(secretName string, nbEnvironments int)
- func SecretRemoved(secretName string)
- func SecretTable(secrets []core.Secret, environments []string)
- func SecretUpdated(secretName, environmentName string)
- func SetRoleOk()
- func ThereIsNoHookYet()
- func UpgradeUrl(url string)
- func User(currentAccount models.User)
- func Version()
- func WarningFreeOrga(roles []models.Role)
- func WelcomeBack(account models.User)
Constants ¶
const ( FileFilterAll = "all" FileFilterAvailableOnly string = "available" FileFilterModifiedOnly string = "modified" )
const ( OPTIONAL string = "optional" REQUIRED string = "required" )
Variables ¶
This section is empty.
Functions ¶
func AlreadyLoggedIn ¶
AlreadyLoggedIn function Message when user is logged in
func BackupCreated ¶
BackupCreated function Messages when backup is created
func Changes ¶
func Changes( changes core.ChangesByEnvironment, )
TODO: should handle a `quiet` setting ? printChanges displays changes for environments to the user
func CiConfigurations ¶
func CiConfigurations(services []keystonefile.CiService)
/ Displays the list of CI services configurations
func CiNoSecretsForEnvironment ¶
func CiNoSecretsForEnvironment(environmentName string)
CiNoSecretsForEnvironment function Message when there are no secrets for environment in the CI service
func CiSecretSent ¶
func CiSecretSent(serviceName, environmentName, usage string)
CiSecretSent function Message when secrets were sent successfully
func CiSecretsRemoved ¶
func CiSecretsRemoved(environmentName string)
CiSecretsRemoved function Message on secrets successfully removed from the CI service
func CiServiceRemoved ¶
func CiServiceRemoved(serviceName string)
CiServiceRemoved function Message when CI service removal happened successfully
func CiServiceSetupSuccessfully ¶
func CiServiceSetupSuccessfully()
CiServiceSetupSuccessfully function Message when CI setup happened successfully
func DeletionSuccess ¶
func DeletionSuccess(projectName string)
DeletionSuccess function Message when porject destruction is successful
func DeviceList ¶
DeviceList function Prints a list of devices
func DeviceRevokeSuccess ¶
func DeviceRevokeSuccess()
DeviceRevokeSuccess function Message when device is revoked
func EnterValue ¶
func EnterValue(secretName string)
EnterValue function Asks the user to enter value for a secret
func Environment ¶
func Environment(environment string)
Environment function display environment name
func EnvironmentList ¶
EnvironmentList function displays a list of environment Emphasize the current one
func EnvironmentSendSuccess ¶
func EnvironmentSendSuccess()
EnvironmentSendSuccess function Message when sharing envirionments is successfull
func EnvironmentUsing ¶
func EnvironmentUsing(environmentName string)
EnvironmentUsing function Message after switch
func ExecutingHook ¶
func ExecutingHook(hook string)
func FileAddSuccess ¶
FileAddSuccess function Message when adding a file is successfull
func FileAskForFileContentForEnvironment ¶
func FileAskForFileContentForEnvironment(filePath, environmentName string)
FileAskForFileContentForEnvironment function Ask file content
func FileContentsForEnvironments ¶
func FileContentsForEnvironments( fileName string, environments []models.Environment, getContent func(string, string) ([]byte, error), )
FileContentsForEnvironments function displays the contents of a file for each environment
func FileFailUserInput ¶
func FileFailUserInput(err error)
FileFailUserInput function Message when input from $EDITOR failed
func FileFailedGetContentFromEditor ¶
func FileFailedGetContentFromEditor(err error)
FileFailUserInput function Message when input from $EDITOR failed
func FileIsNowOptional ¶
func FileIsNowOptional(filePath string)
FileIsNowOptional function Message when setting the file as optional
func FileIsNowRequired ¶
func FileIsNowRequired(filePath string)
FileIsNowOptional function Message when setting the file as required
func FileKept ¶
func FileKept()
FileKept function Message informing the file is kept in cache after ks file rm
func FileNotManaged ¶
func FileNotManaged(filePath string)
FileNotManaged function Message when the file is not managed by Keystone
func FileRemovedSuccess ¶
func FileRemovedSuccess(filePath string)
FileRemovedSuccess function Message when file removal happened successfully
func FileSetSuccess ¶
func FileSetSuccess(filePath string)
FileSetSuccess function Message when file content updated successfully
func Files ¶
func Files( files []core.FileDescriptor, filter string, quiet bool, )
Display the files, with filters and with a shorter version if quiet is on
func HookAddedSuccessfully ¶
func HookAddedSuccessfully()
func HookCommand ¶
func HookCommand(hook string)
func HookPathDoesNotExist ¶
func HookPathDoesNotExist(path string)
func InviteSuccess ¶
InviteSuccess function Message when invitation is successful
func LoginLink ¶
func LoginLink(name, url string)
LoginLink function displays the link the user must follow to start the oauth process on a third party service
func ManageUrl ¶
func ManageUrl(url string)
ManageUrl function displays the link the user must follow to manage their subscritption
func MembersByRole ¶
func MembersByRole(members []models.ProjectMember)
MembersByRole function displays list of project members, grouped by role
func OrganizationAccessibleProjects ¶
OrganizationAccessibleProjects function displays a list of projects in an organization the user has access to
func OrganizationCreated ¶
func OrganizationCreated(organization models.Organization)
OrganizationCreated function Message when organization is created
func OrganizationMembers ¶
func OrganizationMembers(members []models.ProjectMember)
OrganizationMembers function displays a list of orgnaiztion members
func OrganizationRenamed ¶
func OrganizationRenamed(from, to string)
OrganizationRenamed function Message when the organization was renamed
func OrganizationStatusUpdate ¶
func OrganizationStatusUpdate(organization models.Organization)
OrganizationStatusUpdate function displays the organizaiton private status
func Organizations ¶
func Organizations(organizations []models.Organization, user models.User)
Organizations function displays a list of organizations withe ownership information
func ProjectInitSuccess ¶
func ProjectInitSuccess()
ProjectInitSuccess function Message when project has been created
func RemovedMembers ¶
func RemovedMembers()
RemovedMembers function Message when members are removed
func SecretAlreadyExitsts ¶
func SecretAlreadyExitsts(values map[core.EnvironmentName]core.SecretValue)
SecretAlreadyExitsts function Messsage when secret already exists
func SecretIsNow ¶
func SecretIsNow(secretName, prop string)
SecretIsNow function Message when changing the required status of a secret
func SecretIsSetForEnvironment ¶
SecretIsSetForEnvironment function Message when secret add is successfull
func SecretRemoved ¶
func SecretRemoved(secretName string)
SecretRemoved function Message when secret rm is successfull
func SecretTable ¶
SecretTable function displays the secret table
func SecretUpdated ¶
func SecretUpdated(secretName, environmentName string)
SecretUpdated function Message when secret set is successfull
func ThereIsNoHookYet ¶
func ThereIsNoHookYet()
func UpgradeUrl ¶
func UpgradeUrl(url string)
UpgradeUrl function displays a link the user must follow to upgrade their organization
func WarningFreeOrga ¶
WarningFreeOrga function Message telling some things are not possible for free organizaitons
Types ¶
This section is empty.