Documentation ¶
Overview ¶
Package model represents an object carrying data. It can also have logic to update controller if its data changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { // Name of file to look for inside the path Name string ConfigurationsDir string CredentialsFileName string CredentialsFileType string CredentialsFilePath string CredentialsFilePermissions os.FileMode LogsDir string LogsFileName string LogsFileType string LogsFilePath string LogsFilePermissions os.FileMode WorkingDir string }
App represents the all the necessary information about tecli
type CredentialProfile ¶
type CredentialProfile struct { Name string `yaml:"name"` Description string `yaml:"description,omitempty"` Organization string `yaml:"organization"` UserToken string `yaml:"userToken"` TeamToken string `yaml:"teamToken"` OrganizationToken string `yaml:"organizationToken"` }
CredentialProfile model
type Credentials ¶
type Credentials struct {
Profiles []CredentialProfile `yaml:"profiles"`
}
Credentials model
Click to show internal directories.
Click to hide internal directories.