Documentation
¶
Index ¶
- type BackupPointReader
- type BackupPointReaderEx
- type BackupPointWriter
- type BackupReader
- type BackupReaderEx
- type BackupWriter
- type CloudProviderEx
- type CloudProviderReader
- type CloudProviderWriter
- type ClusterReader
- type ClusterReaderEx
- type ClusterWriter
- type CronBackupReader
- type CronBackupReaderEx
- type CronBackupWriter
- type DNSReader
- type DNSReaderEx
- type DNSWriter
- type NodeReader
- type NodeReaderEx
- type NodeWriter
- type Operator
- type OperatorReader
- type OperatorWriter
- type RecoveryReader
- type RecoveryReaderEx
- type RecoveryWriter
- type RegionReader
- type RegionReaderEx
- type RegionWriter
- type RegistryEx
- type RegistryReader
- type RegistryWriter
- type TemplateReader
- type TemplateReaderEx
- type TemplateWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupPointReader ¶
type BackupPointReader interface { ListBackupPoints(ctx context.Context, query *query.Query) (*v1.BackupPointList, error) GetBackupPoint(ctx context.Context, name string, resourceVersion string) (*v1.BackupPoint, error) WatchBackupPoints(ctx context.Context, query *query.Query) (watch.Interface, error) BackupPointReaderEx }
type BackupPointReaderEx ¶
type BackupPointWriter ¶
type BackupPointWriter interface { CreateBackupPoint(ctx context.Context, backupPoint *v1.BackupPoint) (*v1.BackupPoint, error) UpdateBackupPoint(ctx context.Context, backupPoint *v1.BackupPoint) (*v1.BackupPoint, error) DeleteBackupPoint(ctx context.Context, name string) error }
type BackupReader ¶
type BackupReaderEx ¶
type BackupWriter ¶
type CloudProviderEx ¶ added in v1.2.0
type CloudProviderReader ¶ added in v1.2.0
type CloudProviderReader interface { GetCloudProvider(ctx context.Context, name string) (*v1.CloudProvider, error) ListCloudProviders(ctx context.Context, query *query.Query) (*v1.CloudProviderList, error) WatchCloudProviders(ctx context.Context, query *query.Query) (watch.Interface, error) CloudProviderEx }
type CloudProviderWriter ¶ added in v1.2.0
type CloudProviderWriter interface { CreateCloudProvider(ctx context.Context, cp *v1.CloudProvider) (*v1.CloudProvider, error) UpdateCloudProvider(ctx context.Context, cp *v1.CloudProvider) (*v1.CloudProvider, error) DeleteCloudProvider(ctx context.Context, name string) error }
type ClusterReader ¶
type ClusterReaderEx ¶
type ClusterWriter ¶
type CronBackupReader ¶
type CronBackupReader interface { ListCronBackups(ctx context.Context, query *query.Query) (*v1.CronBackupList, error) GetCronBackup(ctx context.Context, name string, resourceVersion string) (*v1.CronBackup, error) WatchCronBackups(ctx context.Context, query *query.Query) (watch.Interface, error) CronBackupReaderEx }
type CronBackupReaderEx ¶
type CronBackupWriter ¶
type CronBackupWriter interface { CreateCronBackup(ctx context.Context, cronBackup *v1.CronBackup) (*v1.CronBackup, error) UpdateCronBackup(ctx context.Context, cronBackup *v1.CronBackup) (*v1.CronBackup, error) DeleteCronBackup(ctx context.Context, name string) error DeleteCronBackupCollection(ctx context.Context, query *query.Query) error }
type DNSReaderEx ¶
type NodeReader ¶
type NodeReaderEx ¶
type NodeWriter ¶
type Operator ¶
type Operator interface { ClusterReader ClusterWriter RegionReader RegionWriter NodeReader NodeWriter BackupReader BackupWriter BackupPointReader BackupPointWriter CronBackupReader CronBackupWriter DNSReader DNSWriter TemplateReader TemplateWriter CloudProviderReader CloudProviderWriter RegistryReader RegistryWriter }
func NewClusterOperator ¶
func NewClusterOperator(clusterStorage, nodeStorage, regionStorage, backupStorage, recoveryStorage, backupPointStorage, cronBackupStorage, dnsStorage, templateStorage, cloudProviderStorage, registryStorage rest.StandardStorage) Operator
type OperatorReader ¶
type OperatorReader interface { ClusterReader RegionReader NodeReader BackupReader BackupPointReader CronBackupReader DNSReader }
type OperatorWriter ¶
type OperatorWriter interface { ClusterWriter RegionWriter NodeWriter BackupWriter BackupPointWriter CronBackupWriter DNSWriter }
type RecoveryReader ¶
type RecoveryReaderEx ¶
type RecoveryWriter ¶
type RegionReader ¶
type RegionReaderEx ¶
type RegionWriter ¶
type RegistryEx ¶ added in v1.3.1
type RegistryReader ¶ added in v1.3.1
type RegistryWriter ¶ added in v1.3.1
type TemplateReader ¶
type TemplateReaderEx ¶
type TemplateWriter ¶
type TemplateWriter interface { CreateTemplate(ctx context.Context, template *v1.Template) (*v1.Template, error) UpdateTemplate(ctx context.Context, template *v1.Template) (*v1.Template, error) DeleteTemplate(ctx context.Context, name string) error DeleteTemplateCollection(ctx context.Context, query *query.Query) error }
Click to show internal directories.
Click to hide internal directories.