Documentation
¶
Index ¶
- Variables
- func IsMissing(err error) bool
- type Input
- type Material
- type PublicInfo
- type Service
- func (s *Service) Delete(ctx context.Context, project, environment, service string) error
- func (s *Service) List(ctx context.Context, project, environment string) ([]PublicInfo, error)
- func (s *Service) Materials(ctx context.Context, project, environment string) (map[string]Material, error)
- func (s *Service) Save(ctx context.Context, project, environment, service, updatedBy string, ...) (PublicInfo, error)
- type Store
- type StoredCredential
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidCredential = errors.New("invalid data service credential") ErrCredentialMissing = errors.New("data service credential is not configured") )
Functions ¶
Types ¶
type PublicInfo ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
type Store ¶
type Store interface {
ListDataServiceCredentials(context.Context, string, string) ([]StoredCredential, error)
GetDataServiceCredential(context.Context, string, string, string) (StoredCredential, error)
SaveDataServiceCredential(context.Context, StoredCredential) error
DeleteDataServiceCredential(context.Context, string, string, string) error
}
Click to show internal directories.
Click to hide internal directories.