Documentation ¶
Index ¶
- Constants
- type BackupOperator
- type Config
- type Manager
- func (m Manager) GetOutput(ctx context.Context, clusterID uint, ...) (integratedservices.IntegratedServiceOutput, error)
- func (m Manager) Name() string
- func (m Manager) PrepareSpec(ctx context.Context, clusterID uint, ...) (integratedservices.IntegratedServiceSpec, error)
- func (m Manager) ValidateSpec(ctx context.Context, spec integratedservices.IntegratedServiceSpec) error
- type OutputResolver
- type SpecConverter
Constants ¶
View Source
const IntegratedServiceName = "backup"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupOperator ¶
type BackupOperator struct {
// contains filtered or unexported fields
}
Operator component implementing the operations related to the backup integrated service
func NewBackupOperator ¶
func NewBackupOperator( clusterGetter integratedserviceadapter.ClusterGetter, clusterService integratedservices.ClusterService, namespace string, logger common.Logger, ) BackupOperator
func (BackupOperator) Apply ¶
func (o BackupOperator) Apply(ctx context.Context, clusterID uint, spec integratedservices.IntegratedServiceSpec) error
func (BackupOperator) Deactivate ¶
func (o BackupOperator) Deactivate(ctx context.Context, clusterID uint, spec integratedservices.IntegratedServiceSpec) error
func (BackupOperator) Name ¶
func (o BackupOperator) Name() string
type Config ¶
type Config struct {
Namespace string
}
Config contains configuration for the dns integrated service.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager component implementing input / output manipulation as required for the backup integrated service
func NewManager ¶
func (Manager) GetOutput ¶
func (m Manager) GetOutput(ctx context.Context, clusterID uint, spec integratedservices.IntegratedServiceSpec) (integratedservices.IntegratedServiceOutput, error)
func (Manager) PrepareSpec ¶
func (m Manager) PrepareSpec(ctx context.Context, clusterID uint, spec integratedservices.IntegratedServiceSpec) (integratedservices.IntegratedServiceSpec, error)
func (Manager) ValidateSpec ¶
func (m Manager) ValidateSpec(ctx context.Context, spec integratedservices.IntegratedServiceSpec) error
type OutputResolver ¶
type OutputResolver struct{}
func (OutputResolver) Resolve ¶
func (o OutputResolver) Resolve(ctx context.Context, instance v1alpha1.ServiceInstance) (integratedservices.IntegratedServiceOutput, error)
type SpecConverter ¶
type SpecConverter struct{}
func (SpecConverter) ConvertSpec ¶
func (s SpecConverter) ConvertSpec(ctx context.Context, service v1alpha1.ServiceInstance) (integratedservices.IntegratedServiceSpec, error)
Click to show internal directories.
Click to hide internal directories.