Documentation
¶
Index ¶
- func ApplicationKongVars() (kong.Vars, error)
- func CloudVMKongVars() kong.Vars
- func MySQLDatabaseKongVars() kong.Vars
- func MySQLKongVars() kong.Vars
- func PostgresDatabaseKongVars() kong.Vars
- func PostgresKongVars() kong.Vars
- func ServiceConnectionKongVars() kong.Vars
- type Cmd
- type KubernetesClusterOptions
- type LabelSelector
- type TypedReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplicationKongVars ¶ added in v1.2.0
ApplicationKongVars returns all variables which are used in the application create command
func CloudVMKongVars ¶ added in v1.9.0
ApplicationKongVars returns all variables which are used in the application create command
func MySQLDatabaseKongVars ¶ added in v1.9.0
MySQLDatabaseKongVars returns all variables which are used in the MySQLDatabase create command
func MySQLKongVars ¶ added in v1.4.0
MySQLKongVars returns all variables which are used in the MySQL create command
func PostgresDatabaseKongVars ¶ added in v1.9.0
PostgresDatabaseKongVars returns all variables which are used in the PostgresDatabase create command
func PostgresKongVars ¶ added in v1.6.0
PostgresKongVars returns all variables which are used in the Postgres create command
func ServiceConnectionKongVars ¶ added in v1.10.0
ServiceConnectionKongVars returns all variables which are used in the ServiceConnection create command
Types ¶
type Cmd ¶
type Cmd struct {
Filename string `short:"f" help:"Create any resource from a yaml or json file." predictor:"file"`
FromFile fromFile `cmd:"" default:"1" name:"-f <file>" help:"Create any resource from a yaml or json file."`
VCluster vclusterCmd `cmd:"" group:"infrastructure.nine.ch" name:"vcluster" help:"Create a new vcluster."`
APIServiceAccount apiServiceAccountCmd `cmd:"" group:"iam.nine.ch" name:"apiserviceaccount" aliases:"asa" help:"Create a new API Service Account."`
Project projectCmd `cmd:"" group:"management.nine.ch" name:"project" help:"Create a new project."`
Config configCmd `cmd:"" group:"deplo.io" name:"config" help:"Create a new deplo.io Project Configuration."`
Application applicationCmd `cmd:"" group:"deplo.io" name:"application" aliases:"app,application" help:"Create a new deplo.io Application."`
MySQL mySQLCmd `cmd:"" group:"storage.nine.ch" name:"mysql" help:"Create a new MySQL instance."`
MySQLDatabase mysqlDatabaseCmd `cmd:"" group:"storage.nine.ch" name:"mysqldatabase" help:"Create a new MySQL database."`
Postgres postgresCmd `cmd:"" group:"storage.nine.ch" name:"postgres" help:"Create a new PostgreSQL instance."`
PostgresDatabase postgresDatabaseCmd `cmd:"" group:"storage.nine.ch" name:"postgresdatabase" help:"Create a new PostgreSQL database."`
KeyValueStore keyValueStoreCmd `cmd:"" group:"storage.nine.ch" name:"keyvaluestore" aliases:"kvs" help:"Create a new KeyValueStore instance."`
OpenSearch openSearchCmd `cmd:"" group:"storage.nine.ch" name:"opensearch" aliases:"os" help:"Create a new OpenSearch cluster."`
CloudVirtualMachine cloudVMCmd `cmd:"" group:"infrastructure.nine.ch" name:"cloudvirtualmachine" aliases:"cloudvm" help:"Create a new CloudVM."`
ServiceConnection serviceConnectionCmd `cmd:"" group:"networking.nine.ch" name:"serviceconnection" aliases:"sc" help:"Create a new ServiceConnection."`
}
type KubernetesClusterOptions ¶ added in v1.10.0
type KubernetesClusterOptions struct {
PodSelector *LabelSelector `` /* 417-byte string literal not displayed */
NamespaceSelector *LabelSelector `` /* 274-byte string literal not displayed */
}
KubernetesClusterOptions https://pkg.go.dev/github.com/ninech/apis@v0.0.0-20250708054129-4d49f7a6c606/networking/v1alpha1#KubernetesClusterOptions
func (*KubernetesClusterOptions) APIType ¶ added in v1.10.0
func (kco *KubernetesClusterOptions) APIType() *networking.KubernetesClusterOptions
APIType returns the API type networking.KubernetesClusterOptions of the KubernetesClusterOptions.
type LabelSelector ¶ added in v1.10.0
type LabelSelector struct {
metav1.LabelSelector
}
LabelSelector is a label query over a set of resources. https://pkg.go.dev/k8s.io/kubectl@v0.33.2/pkg/cmd/util#AddLabelSelectorFlagVar
func (*LabelSelector) UnmarshalText ¶ added in v1.10.0
func (ls *LabelSelector) UnmarshalText(text []byte) error
UnmarshalText parses a label selector from a string. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#list-and-watch-filtering
type TypedReference ¶ added in v1.10.0
type TypedReference struct {
meta.TypedReference
}
TypedReference is a reference to a resource with a specific type.
func (*TypedReference) UnmarshalText ¶ added in v1.10.0
func (r *TypedReference) UnmarshalText(text []byte) error
UnmarshalText parses a typed reference from a string.