types

package
v0.0.0-...-8766ec0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IChartPackager

type IChartPackager interface {
	Package(ch *chart.Chart) ([]byte, error)
}

IChartPackager defines the operation to package a helm chart

type IChartRetriever

type IChartRetriever interface {
	Retrieve(storeChartOpts common.RetrieveChartOptions) (*chart.Chart, string, error)
}

IChartRetriever defines operations to retrieve a helm chart

type IChartStorer

type IChartStorer interface {
	Store(storeChartOpts common.StoreChartOptions) (string, error)
}

IChartStorer defines operation to store a helm chart

type IProjectHandler

type IProjectHandler interface {
	CreateProject(project models.Project) (*models.EventContext, *models.Error)
	DeleteProject(project models.Project) (*models.EventContext, *models.Error)
	GetProject(project models.Project) (*models.Project, *models.Error)
	GetAllProjects() ([]*models.Project, error)
	UpdateConfigurationServiceProject(project models.Project) (*models.EventContext, *models.Error)
}

IProjectHandler defines operations to create/delete/get keptn projects

type IResourceHandler

type IResourceHandler interface {
	GetResource(scope utils.ResourceScope, options ...utils.URIOption) (*models.Resource, error)
}

IResourceHandler defines operations to retrieve keptn resources

type IServiceHandler

type IServiceHandler interface {
	CreateServiceInStage(project string, stage string, serviceName string) (*models.EventContext, *models.Error)
	DeleteServiceFromStage(project string, stage string, serviceName string) (*models.EventContext, *models.Error)
	GetService(project, stage, service string) (*models.Service, error)
	GetAllServices(project string, stage string) ([]*models.Service, error)
}

IServiceHandler defines operations to create/delete/get keptn services

type IStagesHandler

type IStagesHandler interface {
	CreateStage(project string, stageName string) (*models.EventContext, *models.Error)
	GetAllStages(project string) ([]*models.Stage, error)
}

IStagesHandler defines operations to create or get deployment stages

Jump to

Keyboard shortcuts

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