repository

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

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) Delete

func (KubepkgRepository) Delete(ctx context.Context, group string, name string) error

func (KubepkgRepository) DeleteVersion

func (r KubepkgRepository) DeleteVersion(ctx context.Context, group string, name string, channel kubepkg.Channel, version string) error

func (*KubepkgRepository) Get

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) Put

func (KubepkgRepository) PutVersion

func (r KubepkgRepository) PutVersion(ctx context.Context, group string, name string, channel kubepkg.Channel, info kubepkg.VersionInfo) error

Jump to

Keyboard shortcuts

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