deployment

package
v1.1.27 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	Name         string           `json:"name"`
	Kind         base.Kind        `json:"kind,omitempty"`
	Links        base.Links       `json:"links,omitempty"`
	LastModified string           `json:"lastModified,omitempty"`
	Status       DeploymentStatus `json:"status,omitempty"`
}

type DeploymentIdentity added in v1.1.25

type DeploymentIdentity struct {
	Link      string   `json:"link,omitempty"`
	Version   *float32 `json:"version,omitempty"`
	AppliedAt string   `json:"appliedAt,omitempty"`
}

type DeploymentStatus

type DeploymentStatus struct {
	Endpoint                  string                       `json:"endpoint,omitempty"`
	Remote                    string                       `json:"remote,omitempty"`
	LastProcessedVersion      *float32                     `json:"lastProcessedVersion,omitempty"`
	ExpectedDeploymentVersion *float32                     `json:"expectedDeploymentVersion,omitempty"`
	Identity                  DeploymentIdentity           `json:"identity,omitempty"`
	Internal                  any                          `json:"internal,omitempty"`
	Ready                     bool                         `json:"ready,omitempty"`
	Deploying                 bool                         `json:"deploying,omitempty"`
	Versions                  []DeploymentVersion          `json:"versions,omitempty"`
	JobExecutions             []cronjob.JobExecutionStatus `json:"jobExecutions,omitempty"`
	Message                   string                       `json:"message,omitempty"`
	DesiredScale              *float32                     `json:"desiredScale,omitempty"`
}

type DeploymentVersion

type DeploymentVersion struct {
	Name         string                      `json:"name,omitempty"`
	Created      string                      `json:"created,omitempty"`
	Workload     *float32                    `json:"workload,omitempty"`
	Gvc          *float32                    `json:"gvc,omitempty"`
	Containers   DeploymentVersionContainers `json:"containers,omitempty"`
	Ready        bool                        `json:"ready,omitempty"`
	Message      string                      `json:"message,omitempty"`
	Zone         string                      `json:"zone,omitempty"`
	DesiredScale *float32                    `json:"desiredScale,omitempty"`
}

type DeploymentVersionContainers

type DeploymentVersionContainers map[string]containerstatus.ContainerStatus

Jump to

Keyboard shortcuts

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