Documentation ¶
Index ¶
- type IProviderTargetService
- type ProviderTargetService
- func (s *ProviderTargetService) Delete(target *provider.ProviderTarget) error
- func (s *ProviderTargetService) Find(targetName string) (*provider.ProviderTarget, error)
- func (s *ProviderTargetService) List() ([]*provider.ProviderTarget, error)
- func (s *ProviderTargetService) Map() (map[string]*provider.ProviderTarget, error)
- func (s *ProviderTargetService) Save(target *provider.ProviderTarget) error
- type ProviderTargetServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProviderTargetService ¶ added in v0.12.0
type IProviderTargetService interface { Delete(target *provider.ProviderTarget) error Find(targetName string) (*provider.ProviderTarget, error) List() ([]*provider.ProviderTarget, error) Map() (map[string]*provider.ProviderTarget, error) Save(target *provider.ProviderTarget) error }
func NewProviderTargetService ¶
func NewProviderTargetService(config ProviderTargetServiceConfig) IProviderTargetService
type ProviderTargetService ¶
type ProviderTargetService struct {
// contains filtered or unexported fields
}
func (*ProviderTargetService) Delete ¶
func (s *ProviderTargetService) Delete(target *provider.ProviderTarget) error
func (*ProviderTargetService) Find ¶
func (s *ProviderTargetService) Find(targetName string) (*provider.ProviderTarget, error)
func (*ProviderTargetService) List ¶
func (s *ProviderTargetService) List() ([]*provider.ProviderTarget, error)
func (*ProviderTargetService) Map ¶
func (s *ProviderTargetService) Map() (map[string]*provider.ProviderTarget, error)
func (*ProviderTargetService) Save ¶
func (s *ProviderTargetService) Save(target *provider.ProviderTarget) error
type ProviderTargetServiceConfig ¶
type ProviderTargetServiceConfig struct {
TargetStore provider.TargetStore
}
Click to show internal directories.
Click to hide internal directories.