Documentation
¶
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) CreateMachineInstance(mi structs.MachineInstance) error
- func (s *Store) DeleteAllocation(id string) error
- func (s *Store) DeleteInstance(id string) error
- func (s *Store) DeleteMachineInstance(id string) error
- func (s *Store) DeleteMachineInstanceEvent(eventId ulid.ULID) error
- func (s *Store) Init() error
- func (s *Store) LoadAllocations() ([]structs.Allocation, error)
- func (s *Store) LoadInstances() ([]instance.Instance, error)
- func (s *Store) LoadMachineInstanceEvents() ([]api.MachineEvent, error)
- func (s *Store) LoadMachineInstances() ([]structs.MachineInstance, error)
- func (s *Store) PutAllocation(a structs.Allocation) error
- func (s *Store) PutInstance(instance instance.Instance) error
- func (s *Store) PutMachineInstanceEvent(event api.MachineEvent) error
- func (s *Store) UpdateMachineInstanceState(id string, mi structs.MachineInstanceState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CreateMachineInstance ¶
func (s *Store) CreateMachineInstance(mi structs.MachineInstance) error
func (*Store) DeleteAllocation ¶
func (*Store) DeleteInstance ¶
func (*Store) DeleteMachineInstance ¶
func (*Store) DeleteMachineInstanceEvent ¶
func (*Store) LoadAllocations ¶
func (s *Store) LoadAllocations() ([]structs.Allocation, error)
func (*Store) LoadMachineInstanceEvents ¶
func (s *Store) LoadMachineInstanceEvents() ([]api.MachineEvent, error)
func (*Store) LoadMachineInstances ¶
func (s *Store) LoadMachineInstances() ([]structs.MachineInstance, error)
func (*Store) PutAllocation ¶
func (s *Store) PutAllocation(a structs.Allocation) error
func (*Store) PutMachineInstanceEvent ¶
func (s *Store) PutMachineInstanceEvent(event api.MachineEvent) error
func (*Store) UpdateMachineInstanceState ¶
func (s *Store) UpdateMachineInstanceState(id string, mi structs.MachineInstanceState) error
Click to show internal directories.
Click to hide internal directories.