support

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 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, 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 MisconfigurationReason added in v0.20.0

type MisconfigurationReason string

func (*MisconfigurationReason) Set added in v0.20.0

func (*MisconfigurationReason) String added in v0.20.0

func (m *MisconfigurationReason) String() string

func (*MisconfigurationReason) Type added in v0.20.0

func (m *MisconfigurationReason) Type() string

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 Post added in v0.20.0

type Post struct {
	Misconfiguration MisconfigurationReason
	Problem          string
	Resolution       string
	Evidence         string
	// contains filtered or unexported fields
}

func (*Post) Run added in v0.20.0

func (p *Post) Run(clusterID string) error

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