jetstream

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JetStreamStore

type JetStreamStore struct {
	JetStreamStoreOptions
	// contains filtered or unexported fields
}

func (*JetStreamStore) CreateCluster

func (s *JetStreamStore) CreateCluster(_ context.Context, cluster *corev1.Cluster) error

func (*JetStreamStore) CreateRole

func (s *JetStreamStore) CreateRole(_ context.Context, role *corev1.Role) error

func (*JetStreamStore) CreateRoleBinding

func (s *JetStreamStore) CreateRoleBinding(_ context.Context, rb *corev1.RoleBinding) error

func (*JetStreamStore) CreateToken

func (*JetStreamStore) DeleteCluster

func (s *JetStreamStore) DeleteCluster(ctx context.Context, ref *corev1.Reference) error

func (*JetStreamStore) DeleteRole

func (s *JetStreamStore) DeleteRole(_ context.Context, ref *corev1.Reference) error

func (*JetStreamStore) DeleteRoleBinding

func (s *JetStreamStore) DeleteRoleBinding(_ context.Context, ref *corev1.Reference) error

func (*JetStreamStore) DeleteToken

func (s *JetStreamStore) DeleteToken(ctx context.Context, ref *corev1.Reference) error

func (*JetStreamStore) GetCluster

func (s *JetStreamStore) GetCluster(_ context.Context, ref *corev1.Reference) (*corev1.Cluster, error)

func (*JetStreamStore) GetRole

func (s *JetStreamStore) GetRole(_ context.Context, ref *corev1.Reference) (*corev1.Role, error)

func (*JetStreamStore) GetRoleBinding

func (s *JetStreamStore) GetRoleBinding(ctx context.Context, ref *corev1.Reference) (*corev1.RoleBinding, error)

func (*JetStreamStore) GetToken

func (*JetStreamStore) KeyValueStore

func (s *JetStreamStore) KeyValueStore(prefix string) storage.KeyValueStore

func (*JetStreamStore) KeyringStore

func (s *JetStreamStore) KeyringStore(prefix string, ref *corev1.Reference) storage.KeyringStore

func (*JetStreamStore) ListClusters

func (s *JetStreamStore) ListClusters(ctx context.Context, matchLabels *corev1.LabelSelector, matchOptions corev1.MatchOptions) (*corev1.ClusterList, error)

func (*JetStreamStore) ListRoleBindings

func (s *JetStreamStore) ListRoleBindings(ctx context.Context) (*corev1.RoleBindingList, error)

func (*JetStreamStore) ListRoles

func (s *JetStreamStore) ListRoles(ctx context.Context) (*corev1.RoleList, error)

func (*JetStreamStore) ListTokens

func (s *JetStreamStore) ListTokens(ctx context.Context) ([]*corev1.BootstrapToken, error)

func (*JetStreamStore) UpdateCluster

func (s *JetStreamStore) UpdateCluster(ctx context.Context, ref *corev1.Reference, mutator storage.ClusterMutator) (*corev1.Cluster, error)

func (*JetStreamStore) UpdateToken

func (*JetStreamStore) WatchCluster

func (s *JetStreamStore) WatchCluster(ctx context.Context, cluster *corev1.Cluster) (<-chan storage.WatchEvent[*corev1.Cluster], error)

func (*JetStreamStore) WatchClusters

func (s *JetStreamStore) WatchClusters(ctx context.Context, knownClusters []*corev1.Cluster) (<-chan storage.WatchEvent[*corev1.Cluster], error)

type JetStreamStoreOption

type JetStreamStoreOption func(*JetStreamStoreOptions)

type JetStreamStoreOptions

type JetStreamStoreOptions struct {
	BucketPrefix string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL