delete

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(args []string, clientset *client.ConfigSet) error

Build removes knative build object

func BuildTemplate

func BuildTemplate(args []string, clientset *client.ConfigSet) error

BuildTemplate removes knative buildtemplate

func Channel

func Channel(args []string, clientset *client.ConfigSet) error

Channel removes knative build object

func Configuration

func Configuration(args []string, clientset *client.ConfigSet) error

Configuration removes knative configuration object

func NewDeleteCmd

func NewDeleteCmd(clientset *client.ConfigSet) *cobra.Command

NewDeleteCmd returns cobra Command with set of resource deletion subcommands

func Revision

func Revision(args []string, clientset *client.ConfigSet) error

Revision remove knative revision object

func Route

func Route(args []string, clientset *client.ConfigSet) error

Route removes knative route object

Types

type Service

type Service struct {
	Name string
}

Service structure has minimal required set of fields to delete service

func (Service) DeleteService

func (s Service) DeleteService(clientset *client.ConfigSet) error

DeleteService remove knative service object

func (*Service) DeleteYAML

func (s *Service) DeleteYAML(filepath string, functions []string, clientset *client.ConfigSet) (err error)

DeleteYAML removes functions defined in serverless.yaml file

Jump to

Keyboard shortcuts

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