Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringArrayContains ¶
Types ¶
type FileFilter ¶
func AlwaysFilter ¶
func AlwaysFilter() FileFilter
type Storage ¶
type Storage interface { // GetName returns the name of the storage secret. GetName() string // GetLatest obtains the deployment resources for the specified version GetLatest() coh.Resources // GetPrevious obtains the deployment resources for the version prior to the specified version GetPrevious() coh.Resources // Store will store the deployment resources, this will create a new version in the store Store(context.Context, coh.Resources, coh.CoherenceResource) error // Destroy will destroy the store Destroy() // GetHash will return the hash label of the owning resource GetHash() (string, bool) // ResetHash resets the hash to match the Coherence resource ResetHash(context.Context, coh.CoherenceResource) error // IsJob returns true if the Coherence deployment is a Job IsJob(reconcile.Request) bool // GetDeletions returns an array of resources that existed in the previous version // but do not exist in the latest version GetDeletions() []coh.Resource }
func NewStorage ¶
func NewStorage(key client.ObjectKey, mgr manager.Manager, patcher patching.ResourcePatcher) (Storage, error)
NewStorage creates a new storage for the given key.
Click to show internal directories.
Click to hide internal directories.