deployment

package
v0.0.0-...-73c8340 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoFetcher

type InfoFetcher interface {
	FetchOrgUserIDUsingDeploymentKey(context.Context, string) (uuid.UUID, uuid.UUID, uuid.UUID, error)
}

InfoFetcher fetches information about deployments using the key.

type Service

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

Service is the deployment service.

func New

New creates a deployment service.

func (*Service) RegisterVizierDeployment

RegisterVizierDeployment will use the deployment key to generate or fetch the vizier key.

type VizierProvisioner

type VizierProvisioner interface {
	// ProvisionVizier creates the vizier, with specified org_id, user_id, cluster_uid. Returns
	// Cluster ID or error. If it already exists it will return the current cluster ID. Will return an error if the cluster is
	// currently active (ie. Not disconnected).
	ProvisionOrClaimVizier(context.Context, uuid.UUID, uuid.UUID, string, string) (uuid.UUID, string, error)
}

VizierProvisioner provisions a new Vizier.

Jump to

Keyboard shortcuts

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