types

package
v1.109.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStatusResponse

type AppStatusResponse struct {
	AppStatus *appstatetypes.AppStatus `json:"appstatus"`
}

type Credentials

type Credentials struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type GetPendingAppResponse

type GetPendingAppResponse struct {
	App ResponsePendingApp `json:"app"`
}

type ListAppsResponse

type ListAppsResponse struct {
	Apps []ResponseApp `json:"apps"`
}

type ResponseApp

type ResponseApp struct {
	ID                string              `json:"id"`
	Slug              string              `json:"slug"`
	Name              string              `json:"name"`
	IsAirgap          bool                `json:"isAirgap"`
	CurrentSequence   int64               `json:"currentSequence"`
	UpstreamURI       string              `json:"upstreamUri"`
	IconURI           string              `json:"iconUri"`
	CreatedAt         time.Time           `json:"createdAt"`
	UpdatedAt         *time.Time          `json:"updatedAt"`
	LastUpdateCheckAt *time.Time          `json:"lastUpdateCheckAt"`
	HasPreflight      bool                `json:"hasPreflight"`
	IsConfigurable    bool                `json:"isConfigurable"`
	UpdateCheckerSpec string              `json:"updateCheckerSpec"`
	AutoDeploy        apptypes.AutoDeploy `json:"autoDeploy"`
	Namespace         string              `json:"namespace"`
	AppState          string              `json:"appState"`

	IsGitOpsSupported              bool   `json:"isGitOpsSupported"`
	IsIdentityServiceSupported     bool   `json:"isIdentityServiceSupported"`
	IsAppIdentityServiceSupported  bool   `json:"isAppIdentityServiceSupported"`
	IsGeoaxisSupported             bool   `json:"isGeoaxisSupported"`
	IsSemverRequired               bool   `json:"isSemverRequired"`
	IsSupportBundleUploadSupported bool   `json:"isSupportBundleUploadSupported"`
	AllowRollback                  bool   `json:"allowRollback"`
	AllowSnapshots                 bool   `json:"allowSnapshots"`
	TargetKotsVersion              string `json:"targetKotsVersion"`
	LicenseType                    string `json:"licenseType"`

	Downstream ResponseDownstream `json:"downstream"`
}

type ResponseCluster

type ResponseCluster struct {
	ID   string `json:"id"`
	Slug string `json:"slug"`
	// RequiresUpgrade represents whether the embedded cluster config for the current app
	// version is different from the currently deployed embedded cluster config
	RequiresUpgrade bool `json:"requiresUpgrade"`
	// State represents the current state of the most recently deployed embedded cluster config
	State string `json:"state,omitempty"`
	// NumInstallations represents the number of installation objects in the cluster
	NumInstallations int `json:"numInstallations"`
}

type ResponseDownstream

type ResponseDownstream struct {
	Name            string                               `json:"name"`
	Links           []versiontypes.RealizedLink          `json:"links"`
	CurrentVersion  *downstreamtypes.DownstreamVersion   `json:"currentVersion"`
	PendingVersions []*downstreamtypes.DownstreamVersion `json:"pendingVersions"`
	PastVersions    []*downstreamtypes.DownstreamVersion `json:"pastVersions"`
	GitOps          ResponseGitOps                       `json:"gitops"`
	Cluster         ResponseCluster                      `json:"cluster"`
}

type ResponseGitOps

type ResponseGitOps struct {
	Enabled     bool   `json:"enabled"`
	Provider    string `json:"provider"`
	Uri         string `json:"uri"`
	Hostname    string `json:"hostname"`
	HTTPPort    string `json:"httpPort"`
	SSHPort     string `json:"sshPort"`
	Path        string `json:"path"`
	Branch      string `json:"branch"`
	Format      string `json:"format"`
	Action      string `json:"action"`
	DeployKey   string `json:"deployKey"`
	IsConnected bool   `json:"isConnected"`
}

type ResponsePendingApp

type ResponsePendingApp struct {
	ID            string `json:"id"`
	Slug          string `json:"slug"`
	Name          string `json:"name"`
	LicenseData   string `json:"licenseData"`
	NeedsRegistry bool   `json:"needsRegistry"`
}

Jump to

Keyboard shortcuts

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