Documentation ¶
Index ¶
- type FilePersistenceProvider
- func (file *FilePersistenceProvider) CreateFilePathComplete(instance string, object *runtime.Object)
- func (file *FilePersistenceProvider) DeleteObject(instance string, kind schema.GroupVersionKind, key persistence.ObjectKey) error
- func (file *FilePersistenceProvider) GetAllObjects(instance string, kind schema.GroupVersionKind) []*runtime.Object
- func (file *FilePersistenceProvider) GetObject(instance string, kind schema.GroupVersionKind, key persistence.ObjectKey) *runtime.Object
- func (file *FilePersistenceProvider) Initialize(id *persistence.MachineId)
- func (file *FilePersistenceProvider) InstanceStatus(instance string) *persistence.PersistenceProviderStatus
- func (file *FilePersistenceProvider) Instances() []string
- func (file *FilePersistenceProvider) PutObject(instance string, object *runtime.Object) (key persistence.ObjectKey, e error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePersistenceProvider ¶
type FilePersistenceProvider struct {
// contains filtered or unexported fields
}
FilePersistenceProvider represents a persistence provider that is able to persist control-plane data to a file, and can retrieve data according to the PersistenceProvider interface.
func (*FilePersistenceProvider) CreateFilePathComplete ¶
func (file *FilePersistenceProvider) CreateFilePathComplete(instance string, object *runtime.Object)
func (*FilePersistenceProvider) DeleteObject ¶
func (file *FilePersistenceProvider) DeleteObject(instance string, kind schema.GroupVersionKind, key persistence.ObjectKey) error
func (*FilePersistenceProvider) GetAllObjects ¶
func (file *FilePersistenceProvider) GetAllObjects(instance string, kind schema.GroupVersionKind) []*runtime.Object
func (*FilePersistenceProvider) GetObject ¶
func (file *FilePersistenceProvider) GetObject(instance string, kind schema.GroupVersionKind, key persistence.ObjectKey) *runtime.Object
func (*FilePersistenceProvider) Initialize ¶
func (file *FilePersistenceProvider) Initialize(id *persistence.MachineId)
func (*FilePersistenceProvider) InstanceStatus ¶
func (file *FilePersistenceProvider) InstanceStatus(instance string) *persistence.PersistenceProviderStatus
func (*FilePersistenceProvider) Instances ¶
func (file *FilePersistenceProvider) Instances() []string
func (*FilePersistenceProvider) PutObject ¶
func (file *FilePersistenceProvider) PutObject(instance string, object *runtime.Object) (key persistence.ObjectKey, e error)
Click to show internal directories.
Click to hide internal directories.