Documentation ¶
Index ¶
- Constants
- Variables
- func CheckBannedUser(clusterID string) error
- func ControlplaneNodeStatus(kubeCli client.Client) error
- func EtcdCrStatus(kubeCli client.Client) (string, error)
- func EtcdHealthCheck(clusterId string) error
- func EtcdPodStatus(kubeCli client.Client) (*corev1.PodList, error)
- func Etcdctlhealth(kconfig *rest.Config, clientset *kubernetes.Clientset, etcdctlCmd string, ...) (string, error)
- func GetCloudTrailLogsForCluster(awsProfile string, clusterID string, maxPages int) ([]*types.Event, error)
- func NewCmdCluster(streams genericclioptions.IOStreams, client *k8s.LazyClient, ...) *cobra.Command
- func NewCmdHypershiftInfo(streams genericclioptions.IOStreams) *cobra.Command
- type ChanReturn
- type ClusterHealthCondensedObject
- type CreatorPatch
- type LogCapture
- type OrgId
- type OrgIdOutput
- type RegisterCluster
- type Resync
Constants ¶
View Source
const ( JiraBaseURL = "https://issues.redhat.com" JiraTokenRegistrationPath = "/secure/ViewProfile.jspa?selectedTab=com.atlassian.pats.pats-plugin:jira-user-personal-access-tokens" PagerDutyTokenRegistrationUrl = "https://martindstone.github.io/PDOAuth/" ClassicSplunkURL = "" /* 126-byte string literal not displayed */ HCPSplunkURL = "" /* 172-byte string literal not displayed */ )
View Source
const ( EtcdNamespaceName = "openshift-etcd" EtcdMemberConditionType = "EtcdMembersAvailable" ContainerName = "etcdctl" MasterNodeLabel = "node-role.kubernetes.io/master" EtcdPodMatchLabelName = "k8s-app" EtcdPodMatchValueName = "etcd" EtcdLabelSelector = "k8s-app=etcd" )
View Source
const ( EtcdQuorumTurnOffPatch = `{"spec": {"unsupportedConfigOverrides": {"useUnsupportedUnsafeNonHANonProductionUnstableEtcd": true}}}` EtcdQuorumTurnOnPatch = `{"spec": {"unsupportedConfigOverrides": null}}` EtcdForceRedeployPatch = `{"spec": {"forceRedeploymentReason": "single-master-recovery-%s"}}` )
Patch Constants
View Source
const BanCodeExportControlCompliance = "export_control_compliance"
View Source
const CheckSyncMaxAttempts = 24
View Source
const HYPERSHIFT_URL = "/api/clusters_mgmt/v1/clusters/{cluster_id}/hypershift"
View Source
const Namespace = "openshift-monitoring"
View Source
const (
OldFlowSupportRole = "role/RH-Technical-Support-Access"
)
Variables ¶
View Source
var BackplaneClusterAdmin = "backplane-cluster-admin"
Functions ¶
func CheckBannedUser ¶ added in v0.14.0
func ControlplaneNodeStatus ¶ added in v0.18.0
func EtcdHealthCheck ¶ added in v0.18.0
func EtcdPodStatus ¶ added in v0.18.0
func Etcdctlhealth ¶ added in v0.18.0
func GetCloudTrailLogsForCluster ¶ added in v0.14.4
func NewCmdCluster ¶
func NewCmdCluster(streams genericclioptions.IOStreams, client *k8s.LazyClient, globalOpts *globalflags.GlobalOptions) *cobra.Command
NewCmdCluster implements the cluster utility
func NewCmdHypershiftInfo ¶ added in v0.18.0
func NewCmdHypershiftInfo(streams genericclioptions.IOStreams) *cobra.Command
newCmdPool gets the current status of the AWS Account Operator AccountPool
Types ¶
type ChanReturn ¶ added in v0.18.0
type ChanReturn[T retrievable] struct { Value T Error error }
type ClusterHealthCondensedObject ¶
type ClusterHealthCondensedObject struct { ID string `yaml:"ID"` Name string `yaml:"Name"` Provider string `yaml:"Provider"` AZs []string `yaml:"AZs"` Expected struct { Master int `yaml:"Master"` Infra int `yaml:"Infra"` Worker interface{} `yaml:"Worker"` } `yaml:"Expected nodes"` Actual struct { Total int `yaml:"Total"` Stopped int `yaml:"Stopped"` RunningMasters int `yaml:"Running Masters"` RunningInfra int `yaml:"Running Infra"` RunningWorker int `yaml:"Running Worker"` } `yaml:"Actual nodes"` }
type CreatorPatch ¶ added in v0.12.0
type CreatorPatch struct {
Creator_ID string `json:"creator_id"`
}
type LogCapture ¶ added in v0.28.0
type LogCapture struct {
// contains filtered or unexported fields
}
func (*LogCapture) GetStdOut ¶ added in v0.28.0
func (capture *LogCapture) GetStdOut() string
type OrgIdOutput ¶ added in v0.21.0
type RegisterCluster ¶ added in v0.12.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.