project

package
v0.0.0-...-ba1a8ec Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactInterface

type ArtifactInterface interface {
	Get(name string) (result *model.Artifact, err error)
	Delete(name string) (err error)
	List(query *options.ArtifactsListOptions) (result *[]model.Artifact, err error)
}

type ProjectsInterface

type ProjectsInterface interface {
	RepositoryInterface
}

ProjectsInterface holds the methods that discover server-supported API groups, versions and resources.

type ProjectsV2Client

type ProjectsV2Client struct {
	// contains filtered or unexported fields
}

ProjectsV2Client is used to interact with features provided by the admissionregistration.k8s.io group.

func NewProjectsV1Client

func NewProjectsV1Client(restClient *rest2.Config) (*ProjectsV2Client, error)

func (*ProjectsV2Client) Delete

func (p *ProjectsV2Client) Delete(name string) (err error)

func (*ProjectsV2Client) Get

func (p *ProjectsV2Client) Get(name string) (result *models.Project, err error)

func (*ProjectsV2Client) List

func (p *ProjectsV2Client) List(query *options.ProjectsListOptions) (results *[]models.Project, err error)

func (*ProjectsV2Client) RESTClient

func (p *ProjectsV2Client) RESTClient() rest2.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*ProjectsV2Client) Repositories

func (p *ProjectsV2Client) Repositories(project string) RepositoryInterface

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func (*Repository) Artifacts

func (r *Repository) Artifacts(Repository string) *artifact

func (*Repository) Delete

func (r *Repository) Delete(name string) (err error)

func (*Repository) Get

func (r *Repository) Get(name string) (result *model.Repository, err error)

func (*Repository) List

func (r *Repository) List(query *options.RepositoriesListOptions) (result *[]model.Repository, err error)

type RepositoryInterface

type RepositoryInterface interface {
	Artifacts(Repository string) *artifact
	List(query *options.RepositoriesListOptions) (result *[]model.Repository, err error)
	Get(name string) (result *model.Repository, err error)
	Delete(name string) (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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