Documentation ¶
Index ¶
- Constants
- type CRDStore
- func (crds *CRDStore) BytesToCluster(bytes []byte) (*cluster.Cluster, error)
- func (crds *CRDStore) Commit(c *cluster.Cluster) error
- func (crds *CRDStore) Destroy() error
- func (crds *CRDStore) Exists() bool
- func (crds *CRDStore) GetCluster() (*cluster.Cluster, error)
- func (crds *CRDStore) List() ([]string, error)
- func (crds *CRDStore) Read(relativePath string) ([]byte, error)
- func (crds *CRDStore) ReadStore() ([]byte, error)
- func (crds *CRDStore) Rename(existingRelativePath, newRelativePath string) error
- type CRDStoreOptions
Constants ¶
View Source
const ( RetryAttempts = 10 SleepSecondsPerAttempt = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDStore ¶
type CRDStore struct { ClusterName string BasePath string AbsolutePath string // contains filtered or unexported fields }
func NewCRDStore ¶
func NewCRDStore(o *CRDStoreOptions) *CRDStore
func (*CRDStore) BytesToCluster ¶
type CRDStoreOptions ¶
Click to show internal directories.
Click to hide internal directories.