Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConfig ¶
IsConfig identifica se uma string representa uma configuração inline
Ex. - aws::ssm::my-parameter-name (aws parameter store) - aws::secrets::my-secret-name (aws secretsmanager) - aws::s3::my-bucket-name::my-file-key (aws s3 bucket) - local::file::c:\my-folder\my-filename.json (local file) - local::env::my-env-variable-name (environment variable)
Types ¶
type ContentType ¶
type ContentType string
const ( CSV ContentType = "csv" JSON ContentType = "json" YAML ContentType = "yaml" )
type String ¶
type String string
func GetValue ¶
GetValue é a função responsável por recuperar as configurações nos serviços de qualquer provedor cloud
func (*String) CastTo ¶
func (s *String) CastTo(contentType ContentType) (interface{}, error)
CastTo é o método que possibilita converter um objeto String em um mapa que consiga representar melhor um json, yaml ou csv
Click to show internal directories.
Click to hide internal directories.