repository

package
v0.2.36 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 9 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceClient

type ServiceClient interface {
	// List returns list of repos
	List(ctx context.Context, query *repository2.RepoQuery) (*v1alpha1.RepositoryList, error)
	// ListApps returns list of apps in the repo
	ListApps(ctx context.Context, query *repository2.RepoAppsQuery) (*repository2.RepoAppsResponse, error)
	// GetAppDetails returns application details by given path
	GetAppDetails(ctx context.Context, query *repository2.RepoAppDetailsQuery) (*apiclient.RepoAppDetailsResponse, error)
	// Create creates a repo
	Create(ctx context.Context, query *repository2.RepoCreateRequest) (*v1alpha1.Repository, error)
	// Update updates a repo
	Update(ctx context.Context, query *repository2.RepoUpdateRequest) (*v1alpha1.Repository, error)
	// Delete deletes a repo
	Delete(ctx context.Context, query *repository2.RepoQuery) (*repository2.RepoResponse, error)
}

type ServiceClientImpl

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

func NewServiceClientImpl

func NewServiceClientImpl(
	settings *settings.ArgoCDSettings,
	logger *zap.SugaredLogger,
) *ServiceClientImpl

func (ServiceClientImpl) Create

func (ServiceClientImpl) Delete

func (ServiceClientImpl) GetAppDetails

func (ServiceClientImpl) List

func (ServiceClientImpl) ListApps

func (ServiceClientImpl) Update

Jump to

Keyboard shortcuts

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