Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(ctx context.Context, log logrus.FieldLogger, k kubernetes.Interface, b *box.Config, conf *rest.Config, appNameOrPath string, kr kubernetesruntime.RuntimeConfig) error
func Deploy ¶
func Deploy(ctx context.Context, log logrus.FieldLogger, k kubernetes.Interface, b *box.Config, conf *rest.Config, appNameOrPath string, kr kubernetesruntime.RuntimeConfig) error
Deploy is a wrapper around NewApp().Deploy() that automatically closes the app and deploys it into the devenv
Types ¶
type App ¶
type App struct { // Type is the type of application this is Type Type // Path, if set, is the path that should be used to deploy this application // this will be used over the github repository Path string // Local is wether this app was downloaded or is local Local bool // RepositoryName is the repository name for this application RepositoryName string // Version is the version of this application that should be deployed. // This is only used if RepositoryName is set and being used. This has no // effect when Path is set. Version string // contains filtered or unexported fields }
func NewApp ¶
func NewApp(ctx context.Context, log logrus.FieldLogger, k kubernetes.Interface, b *box.Config, conf *rest.Config, appNameOrPath string, kr *kubernetesruntime.RuntimeConfig) (*App, error)
NewApp creates a new App for interaction with in a devenv
Click to show internal directories.
Click to hide internal directories.