Documentation ¶
Overview ¶
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
- type KubepkgRepository
- func (KubepkgRepository) Delete(ctx context.Context, group string, name string) error
- func (r KubepkgRepository) DeleteVersion(ctx context.Context, group string, name string, channel kubepkg.Channel, ...) error
- func (r *KubepkgRepository) Get(ctx context.Context, group string, name string, channel kubepkg.Channel, ...) (*v1alpha1.KubePkg, error)
- func (r *KubepkgRepository) Latest(ctx context.Context, groupNameChannels []string) (map[string]*kubepkg.VersionInfo, error)
- func (r KubepkgRepository) List(ctx context.Context, groupName string, params kubepkg.KubepkgQueryParams) ([]*kubepkg.Kubepkg, error)
- func (KubepkgRepository) ListVersion(ctx context.Context, group string, name string, channel kubepkg.Channel, ...) ([]*kubepkg.VersionInfo, error)
- func (r *KubepkgRepository) Put(ctx context.Context, k *v1alpha1.KubePkg) (*v1alpha1.KubePkg, *kubepkg.Ref, error)
- func (r KubepkgRepository) PutVersion(ctx context.Context, group string, name string, channel kubepkg.Channel, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubepkgRepository ¶
type KubepkgRepository struct { }
func NewKubepkgRepository ¶
func NewKubepkgRepository() *KubepkgRepository
func (KubepkgRepository) DeleteVersion ¶
func (*KubepkgRepository) Latest ¶
func (r *KubepkgRepository) Latest(ctx context.Context, groupNameChannels []string) (map[string]*kubepkg.VersionInfo, error)
func (KubepkgRepository) List ¶
func (r KubepkgRepository) List(ctx context.Context, groupName string, params kubepkg.KubepkgQueryParams) ([]*kubepkg.Kubepkg, error)
func (KubepkgRepository) ListVersion ¶
func (KubepkgRepository) ListVersion( ctx context.Context, group string, name string, channel kubepkg.Channel, where sqlbuilder.SqlCondition, pager *datatypes.Pager, ) ([]*kubepkg.VersionInfo, error)
func (KubepkgRepository) PutVersion ¶
func (r KubepkgRepository) PutVersion(ctx context.Context, group string, name string, channel kubepkg.Channel, info kubepkg.VersionInfo) error
Click to show internal directories.
Click to hide internal directories.