deployment

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 3 Imported by: 2

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 DeploymentStatus

type DeploymentStatus struct {
	Endpoint                  string                       `json:"endpoint,omitempty"`
	Remote                    string                       `json:"remote,omitempty"`
	LastProcessedVersion      float32                      `json:"lastProcessedVersion"`
	ExpectedDeploymentVersion float32                      `json:"expectedDeploymentVersion"`
	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"`
}

type DeploymentVersion

type DeploymentVersion struct {
	Name       string                      `json:"name,omitempty"`
	Created    string                      `json:"created,omitempty"`
	Workload   float32                     `json:"workload"`
	Gvc        float32                     `json:"gvc"`
	Containers DeploymentVersionContainers `json:"containers,omitempty"`
	Ready      bool                        `json:"ready,omitempty"`
	Message    string                      `json:"message,omitempty"`
	Zone       string                      `json:"zone,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