Documentation ¶
Index ¶
- Constants
- func GetCredentials(cfg azureconfig.Config, l hclog.Logger) (string, string, error)
- func GetCredentialsFromCli(cfg azureconfig.Config, l hclog.Logger) (string, string, bool, error)
- func NewPlugin(cfg azureconfig.Config) plugin.Plugin
- type Plugin
- type Store
- func (s *Store) Count(itemType string, group string) (int, error)
- func (s *Store) CreateTableIfNotExists() error
- func (s *Store) Delete(itemType string, name string) error
- func (s *Store) List(itemType string, group string) ([]string, error)
- func (s *Store) Read(itemType string, name string) ([]byte, error)
- func (s *Store) Save(itemType string, group string, name string, data []byte) error
Constants ¶
View Source
const ConnectionEnvironmentVariable = "AZURE_STORAGE_CONNECTION_STRING"
View Source
const PluginInterface = crudstore.PluginInterface + ".azure.table"
View Source
const UserAgent = "porter.azure.storage.plugin"
Variables ¶
This section is empty.
Functions ¶
func GetCredentials ¶
func GetCredentials(cfg azureconfig.Config, l hclog.Logger) (string, string, error)
func GetCredentialsFromCli ¶
func NewPlugin ¶
func NewPlugin(cfg azureconfig.Config) plugin.Plugin
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements the backing store for claims in azure table storage
func (*Store) CreateTableIfNotExists ¶
Click to show internal directories.
Click to hide internal directories.