service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ListEnvParams

type ListEnvParams struct {
	*client.GetEnvVarsForServiceParams
	// contains filtered or unexported fields
}

type Repo

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

func NewRepo

func NewRepo(c serviceRepoClient) *Repo

func (*Repo) CreateService

func (*Repo) DeployService

func (s *Repo) DeployService(ctx context.Context, serviceId string) (*client.CreateDeployResponse, error)

func (*Repo) GetService

func (s *Repo) GetService(ctx context.Context, id string) (*client.Service, error)

func (*Repo) ListEnvVars

func (s *Repo) ListEnvVars(ctx context.Context, serviceId string, params *client.GetEnvVarsForServiceParams) ([]*client.EnvVar, error)

func (*Repo) ListServices

func (s *Repo) ListServices(ctx context.Context, params *client.ListServicesParams) ([]*client.Service, error)

func (*Repo) UpdateEnvVars

func (s *Repo) UpdateEnvVars(ctx context.Context, serviceId string, envVars []client.EnvVarInput) (*client.UpdateEnvVarsForServiceResponse, error)

Jump to

Keyboard shortcuts

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