Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitContentsKey ¶
type GitContentsKey struct {
OrgID uuid.UUID
Fleet string
TemplateVersion string
Repository string
TargetRevision string
Path string
}
func (*GitContentsKey) ComposeKey ¶
func (k *GitContentsKey) ComposeKey() string
type GitRevisionKey ¶
type GitRevisionKey struct {
OrgID uuid.UUID
Fleet string
TemplateVersion string
Repository string
TargetRevision string
}
func (*GitRevisionKey) ComposeKey ¶
func (k *GitRevisionKey) ComposeKey() string
type HttpKey ¶
func (*HttpKey) ComposeKey ¶
type K8sSecretKey ¶
type K8sSecretKey struct {
OrgID uuid.UUID
Fleet string
TemplateVersion string
Namespace string
Name string
}
func (*K8sSecretKey) ComposeKey ¶
func (k *K8sSecretKey) ComposeKey() string
type KVStore ¶
type KVStore interface {
Close()
SetNX(ctx context.Context, key string, value []byte) (bool, error)
Get(ctx context.Context, key string) ([]byte, error)
GetOrSetNX(ctx context.Context, key string, value []byte) ([]byte, error)
DeleteKeysForTemplateVersion(ctx context.Context, key string) error
DeleteAllKeys(ctx context.Context) error
PrintAllKeys(ctx context.Context) // For debugging
}
type RepositoryUrlKey ¶
type RepositoryUrlKey struct {
OrgID uuid.UUID
Fleet string
TemplateVersion string
Repository string
}
func (*RepositoryUrlKey) ComposeKey ¶
func (k *RepositoryUrlKey) ComposeKey() string
type TemplateVersionKey ¶
func (*TemplateVersionKey) ComposeKey ¶
func (k *TemplateVersionKey) ComposeKey() string
Click to show internal directories.
Click to hide internal directories.