Documentation
¶
Index ¶
- Constants
- func CheckAvailableNewVersion() (bool, string, string)
- func DeleteClusterById(clusterId string, dryRunDisabled bool)
- func DeleteClusterUnDeployedInError()
- func DeleteOldClustersWithInvalidCredentials(ageInDay int, dryRunDisabled bool)
- func DeleteOrganizationByClusterId(clusterId string, dryRunDisabled bool)
- func DeleteProjectById(projectId string, dryRunDisabled bool)
- func DeployAll(dryRunDisabled bool)
- func DeployById(clusterId string, dryRunDisabled bool)
- func DeployFailedClusters()
- func ExecLog(req *LogRequest)
- func ExecPortForward(req *PortForwardRequest)
- func ExecShell(req *ShellRequest)
- func ForceFailedDeploymentsToInternalErrorStatus()
- func GetCurrentVersion() string
- func GetLatestOnlineVersionNumber() (string, error)
- func GetLatestOnlineVersionUrl() (string, error)
- func GetVarsByClusterId(clusterID string) []utils.Var
- func LockById(clusterId string, reason string)
- func LockedClusters()
- func UnockById(clusterId string)
- func UpdateAll(dryRunDisabled bool, version string, providerKind string, parallelRun int)
- func UpdateById(clusterId string, dryRunDisabled bool, version string)
- type ListPodResponse
- type LogMessage
- type LogRequest
- type PodResponse
- type PortForwardRequest
- type ShellRequest
- type Timestamp
- type WebsocketPortForward
Constants ¶
View Source
const StdinBufferSize = 4096
Variables ¶
This section is empty.
Functions ¶
func DeleteClusterById ¶ added in v0.42.1
func DeleteClusterUnDeployedInError ¶ added in v0.44.4
func DeleteClusterUnDeployedInError()
func DeleteOldClustersWithInvalidCredentials ¶ added in v0.73.0
func DeleteProjectById ¶ added in v0.46.4
func DeployById ¶
func DeployFailedClusters ¶ added in v0.48.4
func DeployFailedClusters()
func ExecLog ¶ added in v0.64.0
func ExecLog(req *LogRequest)
func ExecPortForward ¶ added in v0.77.0
func ExecPortForward(req *PortForwardRequest)
func ExecShell ¶
func ExecShell(req *ShellRequest)
func ForceFailedDeploymentsToInternalErrorStatus ¶ added in v0.64.0
func ForceFailedDeploymentsToInternalErrorStatus()
func GetCurrentVersion ¶
func GetCurrentVersion() string
func GetVarsByClusterId ¶
func LockedClusters ¶
func LockedClusters()
func UpdateById ¶
Types ¶
type ListPodResponse ¶ added in v0.78.0
type ListPodResponse struct {
Pods []PodResponse
}
func ExecListPods ¶ added in v0.78.0
func ExecListPods(req *PortForwardRequest) (*ListPodResponse, error)
type LogMessage ¶ added in v0.64.0
type LogRequest ¶ added in v0.64.0
type PodResponse ¶ added in v0.78.0
type PortForwardRequest ¶ added in v0.77.0
type PortForwardRequest struct {
ServiceID utils.Id `url:"service"`
EnvironmentID utils.Id `url:"environment"`
ProjectID utils.Id `url:"project"`
OrganizationID utils.Id `url:"organization"`
ClusterID utils.Id `url:"cluster"`
PodName string `url:"pod_name,omitempty"`
ServiceType string `url:"service_type"`
Port uint16 `url:"port"`
LocalPort uint16
}
type ShellRequest ¶
type ShellRequest struct {
ServiceID utils.Id `url:"service"`
EnvironmentID utils.Id `url:"environment"`
ProjectID utils.Id `url:"project"`
OrganizationID utils.Id `url:"organization"`
ClusterID utils.Id `url:"cluster"`
PodName string `url:"pod_name,omitempty"`
ContainerName string `url:"container_name,omitempty"`
Command []string `url:"command"`
TtyWidth uint16 `url:"tty_width"`
TtyHeight uint16 `url:"tty_height"`
}
type Timestamp ¶ added in v0.64.0
func (*Timestamp) UnmarshalJSON ¶ added in v0.64.0
UnmarshalJSON decodes an int64 timestamp into a time.Time object
type WebsocketPortForward ¶ added in v0.77.0
type WebsocketPortForward struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.