Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterStore ¶
type ClusterStore struct {
// contains filtered or unexported fields
}
func NewClusterStore ¶
func NewClusterStore(client *clientv3.Client, root string) *ClusterStore
func (*ClusterStore) Create ¶
func (s *ClusterStore) Create(item *StoredCluster) storage.PutOp[*StoredCluster]
func (*ClusterStore) Get ¶
func (s *ClusterStore) Get() storage.GetOp[*StoredCluster]
func (*ClusterStore) Key ¶
func (s *ClusterStore) Key() string
type Store ¶
type Store struct {
Cluster *ClusterStore
// contains filtered or unexported fields
}
type StoredCluster ¶
type StoredCluster struct {
storage.StoredValue
ID string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.