Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilityType ¶
type CapabilityType int
const ( // CapabilityRoute indicates if the management cluster supports routes CapabilityRoute CapabilityType = iota // CapabilitySecurityContextConstraint indicates if the management cluster // supports security context constraints CapabilitySecurityContextConstraint // CapabilityInfrastructure indicates if the cluster supports the // infrastructures.config.openshift.io api CapabilityInfrastructure // CapabilityIngress indicates if the cluster supports the // ingresses.config.openshift.io api CapabilityIngress // CapabilityProxy indicates if the cluster supports the // proxies.config.openshift.io api CapabilityProxy // CapabilityDNS indicates if the cluster supports the // dnses.config.openshift.io api CapabilityDNS // CapabilityNetworks indicates if the cluster supports the // networks.config.openshift.io api CapabilityNetworks )
type CapabiltyChecker ¶
type CapabiltyChecker interface {
Has(capabilities ...CapabilityType) bool
}
type ManagementClusterCapabilities ¶
type ManagementClusterCapabilities struct {
// contains filtered or unexported fields
}
ManagementClusterCapabilities holds all information about optional capabilities of the management cluster.
func DetectManagementClusterCapabilities ¶
func DetectManagementClusterCapabilities(client discovery.ServerResourcesInterface) (*ManagementClusterCapabilities, error)
func (*ManagementClusterCapabilities) Has ¶
func (m *ManagementClusterCapabilities) Has(capabilities ...CapabilityType) bool
Click to show internal directories.
Click to hide internal directories.