create

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplicationKongVars added in v1.2.0

func ApplicationKongVars() (kong.Vars, error)

ApplicationKongVars returns all variables which are used in the application create command

func CloudVMKongVars added in v1.9.0

func CloudVMKongVars() kong.Vars

ApplicationKongVars returns all variables which are used in the application create command

func MySQLDatabaseKongVars added in v1.9.0

func MySQLDatabaseKongVars() kong.Vars

MySQLDatabaseKongVars returns all variables which are used in the MySQLDatabase create command

func MySQLKongVars added in v1.4.0

func MySQLKongVars() kong.Vars

MySQLKongVars returns all variables which are used in the MySQL create command

func PostgresDatabaseKongVars added in v1.9.0

func PostgresDatabaseKongVars() kong.Vars

PostgresDatabaseKongVars returns all variables which are used in the PostgresDatabase create command

func PostgresKongVars added in v1.6.0

func PostgresKongVars() kong.Vars

PostgresKongVars returns all variables which are used in the Postgres create command

func ServiceConnectionKongVars added in v1.10.0

func ServiceConnectionKongVars() kong.Vars

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."`
	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

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.

Jump to

Keyboard shortcuts

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