support

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LimitedSupport support.LimitedSupport
)

Functions

func NewCmdSupport

func NewCmdSupport(streams genericclioptions.IOStreams, flags *genericclioptions.ConfigFlags, client client.Client, globalOpts *globalflags.GlobalOptions) *cobra.Command

NewCmdSupport implements the get command to get support status osdctl cluster support status osdctl cluster support create --summary="" --reason="" osdctl cluster support delete --reason=""

Types

type MockClient added in v0.11.0

type MockClient struct {
}

sdk client structure

func (*MockClient) Delete added in v0.11.0

func (m *MockClient) Delete() *sdk.Request

Mock Delete request to the API for unit tests

func (*MockClient) Post added in v0.11.0

func (m *MockClient) Post() *sdk.Request

Mock POST request to the API for unit tests

type SDKConnection added in v0.11.0

type SDKConnection interface {
	Post() *sdk.Request
	Delete() *sdk.Request
}
var (
	Client SDKConnection
)

Jump to

Keyboard shortcuts

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