get

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Overview

Package get implements the get command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectionSecretMap added in v1.18.0

func ConnectionSecretMap(ctx context.Context, client *api.Client, mg resource.Managed) (map[string][]byte, error)

func ImageRef added in v1.1.0

func ImageRef(image meta.Image) string

func PostgresConnectionString added in v1.18.0

func PostgresConnectionString(fqdn, user, db string, pw []byte) *url.URL

PostgresConnectionString according to the PostgreSQL documentation: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING

func WithAllProjects added in v1.14.0

func WithAllProjects() func(*Cmd)

WithAllProjects is a test option that sets AllProjects to true.

func WithWatch added in v1.14.0

func WithWatch() func(*Cmd)

WithWatch is a test option that sets Watch to true.

func WriteBase64 added in v1.18.0

func WriteBase64(out io.Writer, s string) error

Types

type Cmd

type Cmd struct {
	All                 allCmd                `cmd:"" name:"all" group:"get-general" help:"Get project content."`
	Clusters            clustersCmd           `cmd:"" group:"get-infra" aliases:"cluster,vcluster" help:"Get Kubernetes Clusters."`
	APIServiceAccounts  apiServiceAccountsCmd `cmd:"" group:"get-access" name:"apiserviceaccounts" aliases:"asa" help:"Get API Service Accounts."`
	Projects            projectCmd            `cmd:"" group:"get-access" name:"projects" aliases:"proj" help:"Get Projects."`
	Applications        applicationsCmd       `cmd:"" group:"get-apps" name:"applications" aliases:"app,apps,application" help:"Get deplo.io Applications."`
	Builds              buildCmd              `cmd:"" group:"get-apps" name:"builds" aliases:"build" help:"Get deplo.io Builds."`
	Releases            releasesCmd           `cmd:"" group:"get-apps" name:"releases" aliases:"release" help:"Get deplo.io Releases."`
	ProjectConfig       configsCmd            `` /* 129-byte string literal not displayed */
	MySQL               mySQLCmd              `cmd:"" group:"get-storage" name:"mysql" help:"Get MySQL instances."`
	MySQLDatabases      mysqlDatabaseCmd      `cmd:"" group:"get-storage" name:"mysqldatabases" aliases:"mysqldatabase" help:"Get MySQL databases."`
	OpenSearch          openSearchCmd         `cmd:"" group:"get-storage" name:"opensearch" aliases:"os" help:"Get OpenSearch clusters."`
	Postgres            postgresCmd           `cmd:"" group:"get-storage" name:"postgres" help:"Get PostgreSQL instances."`
	PostgresDatabases   postgresDatabaseCmd   `cmd:"" group:"get-storage" name:"postgresdatabases" aliases:"postgresdatabase" help:"Get PostgreSQL databases."`
	KeyValueStore       keyValueStoreCmd      `cmd:"" group:"get-storage" name:"keyvaluestore" aliases:"kvs" help:"Get KeyValueStore instances."`
	CloudVirtualMachine cloudVMCmd            `cmd:"" group:"get-infra" name:"cloudvirtualmachine" aliases:"cloudvm" help:"Get a CloudVM."`
	ServiceConnection   serviceConnectionCmd  `cmd:"" group:"get-network" name:"serviceconnection" aliases:"sc,serviceconnections" help:"Get a ServiceConnection."`
	StaticEgress        staticEgressCmd       `cmd:"" group:"get-network" name:"staticegress" aliases:"se,staticegresses" help:"Get StaticEgress resources."`
	Bucket              bucketCmd             `cmd:"" group:"get-storage" name:"bucket" help:"Get Bucket instances."`
	BucketUser          bucketUserCmd         `cmd:"" group:"get-storage" name:"bucketuser" aliases:"bu" help:"Get BucketUser instances."`
	Grafana             grafanaCmd            `cmd:"" group:"get-observability" name:"grafana" help:"Get Grafana instances."`
	// contains filtered or unexported fields
}

func (*Cmd) BeforeApply added in v1.14.0

func (cmd *Cmd) BeforeApply(writer io.Writer) error

BeforeApply is called by Kong before parsing to initialize the output.

Jump to

Keyboard shortcuts

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