resource

package
v2.0.0-alpha.14 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package resource implements pluggable cobra subcommands.

Package resource implements pluggable cobra subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection map[string]types.Resource

Collection represents a collection aggregator command.

func (Collection) Execute

func (r Collection) Execute(name string, out io.Writer, args []string) error

Execute runs the command.

func (Collection) NewCommand

func (r Collection) NewCommand(ctx context.Context, name string) *cobra.Command

NewCommand returns a new cobra.Command object.

type Database

type Database map[string]types.Resource

Database represents a database root command.

func (Database) Execute

func (r Database) Execute(name string, out io.Writer, args []string) error

Execute runs the command.

func (Database) NewCommand

func (r Database) NewCommand(ctx context.Context, name string) *cobra.Command

NewCommand returns a new cobra.Command object.

type Deployment

type Deployment map[string]types.Resource

Deployment represents a deployment root command.

func (Deployment) Execute

func (r Deployment) Execute(name string, out io.Writer, args []string) error

Execute runs the command.

func (Deployment) NewCommand

func (r Deployment) NewCommand(ctx context.Context, name string) *cobra.Command

NewCommand returns a new cobra.Command object.

type DomainName

type DomainName map[string]types.Resource

DomainName represents a database root command.

func (DomainName) Execute

func (r DomainName) Execute(name string, out io.Writer, args []string) error

Execute runs the command.

func (DomainName) NewCommand

func (r DomainName) NewCommand(ctx context.Context, name string) *cobra.Command

NewCommand returns a new cobra.Command object.

type Environment

type Environment map[string]types.Resource

Environment represents an environment aggregator command.

func (Environment) Execute

func (r Environment) Execute(name string, out io.Writer, args []string) error

Execute runs the command.

func (Environment) NewCommand

func (r Environment) NewCommand(ctx context.Context, name string) *cobra.Command

NewCommand returns a new cobra.Command object.

type Environments

type Environments map[string]Environment

Environments represents a environments aggregator command.

func (Environments) Execute

func (r Environments) Execute(name string, out io.Writer, args []string) error

Execute runs the command.

func (Environments) NewCommand

func (r Environments) NewCommand(ctx context.Context, name string) *cobra.Command

NewCommand returns a new cobra.Command object.

type Kubernetes

type Kubernetes map[string]types.Resource

Kubernetes represents a kubernetes root command.

func (Kubernetes) Execute

func (r Kubernetes) Execute(name string, out io.Writer, args []string) error

Execute runs the command.

func (Kubernetes) NewCommand

func (r Kubernetes) NewCommand(ctx context.Context, name string) *cobra.Command

NewCommand returns a new cobra.Command object.

Directories

Path Synopsis
Package database implements the database subcommand structure.
Package database implements the database subcommand structure.
migrations
Package migrations implements the migrations subcommand structure.
Package migrations implements the migrations subcommand structure.
Package kubernetes implements kubernetes related set of commands.
Package kubernetes implements kubernetes related set of commands.
releases
Package releases implements the releases subcommand structure.
Package releases implements the releases subcommand structure.
Package primitive implements basic set of commands.
Package primitive implements basic set of commands.

Jump to

Keyboard shortcuts

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