package
Version:
v1.13.0
Opens a new window with list of versions in this module.
Published: Jan 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Delete(to Setter, name, service, futureType string)
-
func Get(from Getter, name, service, futureType string) *infrav1.Future
-
func Has(from Getter, name, service, futureType string) bool
-
func Set(to Setter, future *infrav1.Future)
-
type Getter
-
type Setter
Delete deletes the specified future.
Get returns the future with the given name, if the future does not exists,
it returns nil.
Has returns true if a future with the given name exists.
Set sets the given future.
NOTE: If a future already exists, we update it.
Getter interface defines methods that an object should implement in order to
use the futures package for getting long running operation states.
Setter interface defines methods that an object should implement in order to
use the futures package for setting futures.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.