Documentation ¶
Index ¶
- type KubernetesNamespaceProtectedEntity
- func (this *KubernetesNamespaceProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID) (bool, error)
- func (this *KubernetesNamespaceProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
- func (this *KubernetesNamespaceProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
- func (this *KubernetesNamespaceProtectedEntity) GetDataReader(context.Context) (io.ReadCloser, error)
- func (this *KubernetesNamespaceProtectedEntity) GetID() astrolabe.ProtectedEntityID
- func (this *KubernetesNamespaceProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
- func (this *KubernetesNamespaceProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
- func (this *KubernetesNamespaceProtectedEntity) GetMetadataReader(context.Context) (io.Reader, error)
- func (this *KubernetesNamespaceProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
- func (this *KubernetesNamespaceProtectedEntity) Snapshot(ctx context.Context) (astrolabe.ProtectedEntitySnapshotID, error)
- type KubernetesNamespaceProtectedEntityTypeManager
- func (this *KubernetesNamespaceProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, ...) (astrolabe.ProtectedEntity, error)
- func (this *KubernetesNamespaceProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, pe astrolabe.ProtectedEntityInfo, ...) (astrolabe.ProtectedEntity, error)
- func (this *KubernetesNamespaceProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
- func (this *KubernetesNamespaceProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
- func (this *KubernetesNamespaceProtectedEntityTypeManager) GetTypeName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesNamespaceProtectedEntity ¶
type KubernetesNamespaceProtectedEntity struct {
// contains filtered or unexported fields
}
func NewKubernetesNamespaceProtectedEntity ¶
func NewKubernetesNamespaceProtectedEntity(knpetm *KubernetesNamespaceProtectedEntityTypeManager, namespace *v1.Namespace) (*KubernetesNamespaceProtectedEntity, error)
func (*KubernetesNamespaceProtectedEntity) DeleteSnapshot ¶
func (this *KubernetesNamespaceProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID) (bool, error)
func (*KubernetesNamespaceProtectedEntity) GetCombinedInfo ¶
func (this *KubernetesNamespaceProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
func (*KubernetesNamespaceProtectedEntity) GetComponents ¶
func (this *KubernetesNamespaceProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
func (*KubernetesNamespaceProtectedEntity) GetDataReader ¶
func (this *KubernetesNamespaceProtectedEntity) GetDataReader(context.Context) (io.ReadCloser, error)
func (*KubernetesNamespaceProtectedEntity) GetID ¶
func (this *KubernetesNamespaceProtectedEntity) GetID() astrolabe.ProtectedEntityID
func (*KubernetesNamespaceProtectedEntity) GetInfo ¶
func (this *KubernetesNamespaceProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
func (*KubernetesNamespaceProtectedEntity) GetInfoForSnapshot ¶
func (this *KubernetesNamespaceProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
func (*KubernetesNamespaceProtectedEntity) GetMetadataReader ¶
func (*KubernetesNamespaceProtectedEntity) ListSnapshots ¶
func (this *KubernetesNamespaceProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
func (*KubernetesNamespaceProtectedEntity) Snapshot ¶
func (this *KubernetesNamespaceProtectedEntity) Snapshot(ctx context.Context) (astrolabe.ProtectedEntitySnapshotID, error)
type KubernetesNamespaceProtectedEntityTypeManager ¶
type KubernetesNamespaceProtectedEntityTypeManager struct {
// contains filtered or unexported fields
}
func NewKubernetesNamespaceProtectedEntityTypeManagerFromConfig ¶
func NewKubernetesNamespaceProtectedEntityTypeManagerFromConfig(params map[string]interface{}, s3URLBase string, logger logrus.FieldLogger) (*KubernetesNamespaceProtectedEntityTypeManager, error)
func (*KubernetesNamespaceProtectedEntityTypeManager) Copy ¶
func (this *KubernetesNamespaceProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (*KubernetesNamespaceProtectedEntityTypeManager) CopyFromInfo ¶
func (this *KubernetesNamespaceProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, pe astrolabe.ProtectedEntityInfo, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (*KubernetesNamespaceProtectedEntityTypeManager) GetProtectedEntities ¶
func (this *KubernetesNamespaceProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
func (*KubernetesNamespaceProtectedEntityTypeManager) GetProtectedEntity ¶
func (this *KubernetesNamespaceProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) ( astrolabe.ProtectedEntity, error)
func (*KubernetesNamespaceProtectedEntityTypeManager) GetTypeName ¶
func (this *KubernetesNamespaceProtectedEntityTypeManager) GetTypeName() string
Click to show internal directories.
Click to hide internal directories.