Documentation ¶
Index ¶
- type Bucket
- type PlanRepository
- type Resource
- type ResourceBackend
- type ResourceBackends
- type ResourceType
- type Resources
- type ResourcesRepository
- func (repo *ResourcesRepository) Close() error
- func (repo *ResourcesRepository) GetAll(ctx context.Context) ([]resource.YAML, error)
- func (repo *ResourcesRepository) GetRelationsForNamespace(ctx context.Context, namespaceID string) (map[string]bool, error)
- func (repo *ResourcesRepository) InitCache(ctx context.Context, refreshDelay time.Duration) error
- type SchemaRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type PlanRepository ¶ added in v0.8.0
type PlanRepository struct {
// contains filtered or unexported fields
}
func NewPlanRepository ¶ added in v0.8.0
func NewPlanRepository(b Bucket) *PlanRepository
type ResourceBackend ¶
type ResourceBackend struct { Name string `json:"name" yaml:"name"` ResourceTypes []ResourceType `json:"resource_types" yaml:"resource_types"` }
type ResourceBackends ¶
type ResourceBackends struct {
Backends []ResourceBackend `json:"backends" yaml:"backends"`
}
type ResourceType ¶
type ResourcesRepository ¶
type ResourcesRepository struct { Bucket Bucket // contains filtered or unexported fields }
TODO(kushsharma): marked for deletion
func NewResourcesRepository ¶
func NewResourcesRepository(logger log.Logger, b Bucket) *ResourcesRepository
func (*ResourcesRepository) Close ¶
func (repo *ResourcesRepository) Close() error
func (*ResourcesRepository) GetRelationsForNamespace ¶
type SchemaRepository ¶
type SchemaRepository struct {
// contains filtered or unexported fields
}
func NewSchemaConfigRepository ¶
func NewSchemaConfigRepository(b Bucket) *SchemaRepository
func (*SchemaRepository) GetDefinition ¶
func (s *SchemaRepository) GetDefinition(ctx context.Context) (*schema.ServiceDefinition, error)
GetDefinition returns the service definition from the bucket
Click to show internal directories.
Click to hide internal directories.