deployment

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v0.22.0

func Add(deploymentId string, email string, role string, client *houston.Client, out io.Writer) error

Add a user to a deployment with specified role

func AirflowUpgrade added in v0.22.0

func AirflowUpgrade(id, desiredAirflowVersion string, client *houston.Client, out io.Writer) error

Upgrade airflow deployment

func AirflowUpgradeCancel added in v0.22.0

func AirflowUpgradeCancel(id string, client *houston.Client, out io.Writer) error

Upgrade airflow deployment

func AppConfig added in v0.16.0

func AppConfig(client *houston.Client) (*houston.AppConfig, error)

AppConfig returns application config from houston-api

func Create

func Create(label, ws, releaseName, cloudRole, executor, airflowVersion string, client *houston.Client, out io.Writer) error

Create airflow deployment

func Delete

func Delete(id string, client *houston.Client, out io.Writer) error

func DeleteUser added in v0.22.0

func DeleteUser(deploymentId string, email string, client *houston.Client, out io.Writer) error

DeleteUser removes user access for a deployment

func List

func List(ws string, all bool, client *houston.Client, out io.Writer) error

List all airflow deployments

func Update

func Update(id, cloudRole string, args map[string]string, client *houston.Client, out io.Writer) error

Update an airflow deployment

func UpdateUser added in v0.22.0

func UpdateUser(deploymentId string, email string, role string, client *houston.Client, out io.Writer) error

UpdateUser updates a user's deployment role

func UserList added in v0.22.0

func UserList(deploymentId string, email string, userId string, fullName string, client *houston.Client, out io.Writer) error

UserList returns a list of user with deployment access

Types

This section is empty.

Jump to

Keyboard shortcuts

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