Versions in this module Expand all Collapse all v0 v0.4.0 Mar 31, 2022 Changes in this version + type EtcdStore struct + func NewEtcdStore(ctx context.Context, conf *v1beta1.EtcdStorageSpec, opts ...EtcdStoreOption) *EtcdStore + func (e *EtcdStore) ClusterExists(ctx context.Context, ref *core.Reference) (bool, error) + func (e *EtcdStore) CreateCluster(ctx context.Context, cluster *core.Cluster) error + func (e *EtcdStore) CreateRole(ctx context.Context, role *core.Role) error + func (e *EtcdStore) CreateRoleBinding(ctx context.Context, roleBinding *core.RoleBinding) error + func (e *EtcdStore) CreateToken(ctx context.Context, ttl time.Duration, opts ...storage.TokenCreateOption) (*core.BootstrapToken, error) + func (e *EtcdStore) DeleteCluster(ctx context.Context, ref *core.Reference) error + func (e *EtcdStore) DeleteRole(ctx context.Context, ref *core.Reference) error + func (e *EtcdStore) DeleteRoleBinding(ctx context.Context, ref *core.Reference) error + func (e *EtcdStore) DeleteToken(ctx context.Context, ref *core.Reference) error + func (e *EtcdStore) GetCluster(ctx context.Context, ref *core.Reference) (*core.Cluster, error) + func (e *EtcdStore) GetRole(ctx context.Context, ref *core.Reference) (*core.Role, error) + func (e *EtcdStore) GetRoleBinding(ctx context.Context, ref *core.Reference) (*core.RoleBinding, error) + func (e *EtcdStore) GetToken(ctx context.Context, ref *core.Reference) (*core.BootstrapToken, error) + func (e *EtcdStore) KeyValueStore(prefix string) (storage.KeyValueStore, error) + func (e *EtcdStore) KeyringStore(ctx context.Context, prefix string, ref *core.Reference) (storage.KeyringStore, error) + func (e *EtcdStore) ListClusters(ctx context.Context, matchLabels *core.LabelSelector, ...) (*core.ClusterList, error) + func (e *EtcdStore) ListRoleBindings(ctx context.Context) (*core.RoleBindingList, error) + func (e *EtcdStore) ListRoles(ctx context.Context) (*core.RoleList, error) + func (e *EtcdStore) ListTokens(ctx context.Context) ([]*core.BootstrapToken, error) + func (e *EtcdStore) UpdateCluster(ctx context.Context, ref *core.Reference, ...) (*core.Cluster, error) + func (e *EtcdStore) UpdateToken(ctx context.Context, ref *core.Reference, ...) (*core.BootstrapToken, error) + type EtcdStoreOption func(*EtcdStoreOptions) + func WithPrefix(prefix string) EtcdStoreOption + type EtcdStoreOptions struct + func (o *EtcdStoreOptions) Apply(opts ...EtcdStoreOption)