Documentation ¶
Index ¶
- func NewEnvironmentVariableService(config EnvironmentVariableServiceConfig) services.IEnvironmentVariableService
- type EnvironmentVariableService
- func (s *EnvironmentVariableService) Delete(ctx context.Context, key string) error
- func (s *EnvironmentVariableService) List(ctx context.Context) ([]*models.EnvironmentVariable, error)
- func (s *EnvironmentVariableService) Map(ctx context.Context) (services.EnvironmentVariables, error)
- func (s *EnvironmentVariableService) Save(ctx context.Context, environmentVariable *models.EnvironmentVariable) error
- type EnvironmentVariableServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnvironmentVariableService ¶
func NewEnvironmentVariableService(config EnvironmentVariableServiceConfig) services.IEnvironmentVariableService
Types ¶
type EnvironmentVariableService ¶
type EnvironmentVariableService struct {
// contains filtered or unexported fields
}
func (*EnvironmentVariableService) Delete ¶
func (s *EnvironmentVariableService) Delete(ctx context.Context, key string) error
func (*EnvironmentVariableService) List ¶
func (s *EnvironmentVariableService) List(ctx context.Context) ([]*models.EnvironmentVariable, error)
func (*EnvironmentVariableService) Map ¶
func (s *EnvironmentVariableService) Map(ctx context.Context) (services.EnvironmentVariables, error)
func (*EnvironmentVariableService) Save ¶
func (s *EnvironmentVariableService) Save(ctx context.Context, environmentVariable *models.EnvironmentVariable) error
type EnvironmentVariableServiceConfig ¶
type EnvironmentVariableServiceConfig struct {
EnvironmentVariableStore stores.EnvironmentVariableStore
}
Click to show internal directories.
Click to hide internal directories.