support

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LimitedSupportSummaryCluster  = "Cluster is in Limited Support due to unsupported cluster configuration"
	LimitedSupportSummaryCloud    = "Cluster is in Limited Support due to unsupported cloud provider configuration"
	MisconfigurationFlag          = "misconfiguration"
	ProblemFlag                   = "problem"
	ResolutionFlag                = "resolution"
	EvidenceFlag                  = "evidence"
	InternalServiceLogSeverity    = "Warning"
	InternalServiceLogServiceName = "SREManualAction"
	InternalServiceLogSummary     = "LimitedSupportEvidence"
)

Variables

This section is empty.

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=""

func PostLimitedSupport added in v0.19.0

func PostLimitedSupport(clusterID string, misconfiguration string, problem string, resolution string, evidence string) error

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