repository

package
v1.0.20-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllAppVersionByService

func GetAllAppVersionByService(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	service entity.Service,
) ([]entity.AppVersion, error)

func GetAllContainers

func GetAllContainers(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	service entity.Service,
) ([]entity.Container, error)

func GetAllOrgs

func GetAllOrgs(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
) ([]entity.Org, error)

func GetAllProjects

func GetAllProjects(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
) ([]entity.Project, error)

func GetLatestAppVersionByService

func GetLatestAppVersionByService(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	service entity.Service,
) ([]entity.AppVersion, error)

func GetNonSystemServicesByProject

func GetNonSystemServicesByProject(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	project entity.Project,
) ([]entity.Service, error)

func GetProjectById

func GetProjectById(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	projectId uuid.ProjectId,
) (*entity.Project, error)

func GetServiceById

func GetServiceById(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	serviceId uuid.ServiceStackId,
) (*entity.Service, error)

func GetServiceByIdOrName

func GetServiceByIdOrName(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	projectId uuid.ProjectId,
	serviceIdOrName string,
) (*entity.Service, error)

func GetServiceByName

func GetServiceByName(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	projectId uuid.ProjectId,
	serviceName types.String,
) (*entity.Service, error)

func GetServiceStackTypeById

func GetServiceStackTypeById(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
	serviceStackTypeId stringId.ServiceStackTypeId,
) (result entity.ServiceStackType, _ error)

func GetServiceStackTypes

func GetServiceStackTypes(
	ctx context.Context,
	restApiClient *zeropsRestApiClient.Handler,
) (result []entity.ServiceStackType, _ error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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