Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
type Factory interface { Users() UserStore Secrets() SecretStore Close() error }
Factory 仓库层
type SecretStore ¶
type UserStore ¶
type UserStore interface { Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) error Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) error Delete(ctx context.Context, username string, opts metav1.DeleteOptions) error Get(ctx context.Context, username string, opts metav1.GetOptions) (*v1.User, error) List(ctx context.Context, options *metav1.ListOptions) (*v1.UserList, error) }
Click to show internal directories.
Click to hide internal directories.