oapi

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenShiftAPIServerPort      = 8443
	OpenShiftOAuthAPIServerPort = 8443
	OpenShiftServicePort        = 443
	OLMPackageServerPort        = 5443
)
View Source
const (
	DefaultPriorityClass = "system-node-critical"
)

Variables

This section is empty.

Functions

func ReconcileAuditConfig

func ReconcileAuditConfig(cm *corev1.ConfigMap, ownerRef config.OwnerRef) error

func ReconcileConfig

func ReconcileConfig(cm *corev1.ConfigMap, ownerRef config.OwnerRef, etcdURL, ingressDomain, minTLSVersion string, cipherSuites []string) error

func ReconcileDeployment

func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, config config.DeploymentConfig, image string) error

func ReconcileOAuthAPIServerDeployment

func ReconcileOAuthAPIServerDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, p *OAuthDeploymentParams) error

func ReconcileOAuthAPIService

func ReconcileOAuthAPIService(svc *corev1.Service, ownerRef config.OwnerRef) error

func ReconcileOLMPackageServerService

func ReconcileOLMPackageServerService(svc *corev1.Service, ownerRef config.OwnerRef) error

func ReconcileOpenShiftAPIService

func ReconcileOpenShiftAPIService(svc *corev1.Service, ownerRef config.OwnerRef) error

func ReconcileWorkerAPIService

func ReconcileWorkerAPIService(cm *corev1.ConfigMap, ownerRef config.OwnerRef, svc *corev1.Service, ca *corev1.Secret, group string) error

func ReconcileWorkerEndpoints

func ReconcileWorkerEndpoints(cm *corev1.ConfigMap, ownerRef config.OwnerRef, endpoints *corev1.Endpoints, clusterIP string) error

func ReconcileWorkerService

func ReconcileWorkerService(cm *corev1.ConfigMap, ownerRef config.OwnerRef, svc *corev1.Service) error

Types

type OAuthDeploymentParams

type OAuthDeploymentParams struct {
	Image            string
	EtcdURL          string
	MinTLSVersion    string
	CipherSuites     []string
	DeploymentConfig config.DeploymentConfig
}

type OpenShiftAPIServerParams

type OpenShiftAPIServerParams struct {
	APIServer        *configv1.APIServer `json:"apiServer"`
	IngressSubDomain string
	EtcdURL          string `json:"etcdURL"`

	OpenShiftAPIServerDeploymentConfig      config.DeploymentConfig `json:"openshiftAPIServerDeploymentConfig,inline"`
	OpenShiftOAuthAPIServerDeploymentConfig config.DeploymentConfig `json:"openshiftOAuthAPIServerDeploymentConfig,inline"`
	config.OwnerRef                         `json:",inline"`
	OpenShiftAPIServerImage                 string `json:"openshiftAPIServerImage"`
	OAuthAPIServerImage                     string `json:"oauthAPIServerImage"`
}

func NewOpenShiftAPIServerParams

func NewOpenShiftAPIServerParams(hcp *hyperv1.HostedControlPlane, globalConfig config.GlobalConfig, images map[string]string) *OpenShiftAPIServerParams

func (*OpenShiftAPIServerParams) CipherSuites

func (p *OpenShiftAPIServerParams) CipherSuites() []string

func (*OpenShiftAPIServerParams) IngressDomain

func (p *OpenShiftAPIServerParams) IngressDomain() string

func (*OpenShiftAPIServerParams) MinTLSVersion

func (p *OpenShiftAPIServerParams) MinTLSVersion() string

func (*OpenShiftAPIServerParams) OAuthAPIServerDeploymentParams

func (p *OpenShiftAPIServerParams) OAuthAPIServerDeploymentParams() *OAuthDeploymentParams

type OpenShiftAPIServerServiceParams

type OpenShiftAPIServerServiceParams struct {
	OwnerRef config.OwnerRef `json:"ownerRef"`
}

Jump to

Keyboard shortcuts

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