broker

package
v0.1.42 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeregisterCmd

func NewDeregisterCmd(cxt *command.Context) *cobra.Command

NewDeregisterCmd builds a "svcat deregister" command

func NewDescribeCmd

func NewDescribeCmd(cxt *command.Context) *cobra.Command

NewDescribeCmd builds a "svcat describe broker" command

func NewGetCmd

func NewGetCmd(cxt *command.Context) *cobra.Command

NewGetCmd builds a "svcat get brokers" command

func NewRegisterCmd

func NewRegisterCmd(cxt *command.Context) *cobra.Command

NewRegisterCmd builds a "svcat register" command

func NewSyncCmd

func NewSyncCmd(cxt *command.Context) *cobra.Command

NewSyncCmd builds a "svcat sync broker" command

Types

type DeregisterCmd

type DeregisterCmd struct {
	*command.Namespaced
	*command.Scoped
	*command.Waitable

	BrokerName string
}

DeregisterCmd contains the info needed to delete a broker

func (*DeregisterCmd) Deregister

func (c *DeregisterCmd) Deregister() error

Deregister calls out to the pkg lib to delete the broker and display the output

func (*DeregisterCmd) Run

func (c *DeregisterCmd) Run() error

Run runs the command

func (*DeregisterCmd) Validate

func (c *DeregisterCmd) Validate(args []string) error

Validate checks that the required arguments have been provided

type RegisterCmd

type RegisterCmd struct {
	*command.Namespaced
	*command.Scoped
	*command.Waitable

	BasicSecret       string
	BearerSecret      string
	BrokerName        string
	CAFile            string
	ClassRestrictions []string
	PlanRestrictions  []string
	SkipTLS           bool
	RelistBehavior    string
	RelistDuration    time.Duration
	URL               string
}

RegisterCmd contains the information needed to register a broker

func (*RegisterCmd) Run

func (c *RegisterCmd) Run() error

Run creates the broker and then displays the broker details

func (*RegisterCmd) Validate

func (c *RegisterCmd) Validate(args []string) error

Validate checks that the required arguments have been provided

Jump to

Keyboard shortcuts

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