events

package
v0.0.0-...-28791c3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddColor

func AddColor(text string, textColor color.Attribute) string

func CallHttpMethod

func CallHttpMethod(method string, url string, headers map[string]string, body io.Reader, disableSecurityCheck bool) (res *http.Response, err error)

func CreateHttpClient

func CreateHttpClient(disableSecurityCheck bool) *http.Client

func ExecuteCurl

func ExecuteCurl(apiUrl string, accessToken string, path string) ([]map[string]interface{}, error)

func GetAccessToken

func GetAccessToken(loginUrl string, refreshToken string, grantType string) (string, error)

func Initialize

func Initialize()

Types

type Configuration

type Configuration struct {
	ServiceBroker       string
	ServiceBrokerExtUrl string
	SkipSslFlag         bool
}

func GetConfiguration

func GetConfiguration() Configuration

type EventCommand

type EventCommand struct {
	// contains filtered or unexported fields
}

func NewEventsCommand

func NewEventsCommand(cliConnection plugin.CliConnection) *EventCommand

func (*EventCommand) ListEvents

func (c *EventCommand) ListEvents(cliConnection plugin.CliConnection, noInstanceNames bool, action string)

Jump to

Keyboard shortcuts

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