assets

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// HypershiftOperatorPriortyClass is the priority class for the HO
	HypershiftOperatorPriortyClass = "hypershift-operator"

	// EtcdPriorityClass is for etcd pods.
	EtcdPriorityClass = "hypershift-etcd"

	// APICriticalPriorityClass is for pods that are required for API calls and
	// resource admission to succeed. This includes pods like kube-apiserver,
	// aggregated API servers, and webhooks.
	APICriticalPriorityClass = "hypershift-api-critical"

	// DefaultPriorityClass is for pods in the Hypershift control plane that are
	// not API critical but still need elevated priority.
	DefaultPriorityClass = "hypershift-control-plane"
)
View Source
const (
	HypershiftOperatorName = "operator"
)

Variables

This section is empty.

Functions

func CustomResourceDefinitions

func CustomResourceDefinitions(include func(path string) bool, transform func(*apiextensionsv1.CustomResourceDefinition)) []crclient.Object

CustomResourceDefinitions returns all existing CRDs as controller-runtime objects

func HyperShiftAPICriticalPriorityClass

func HyperShiftAPICriticalPriorityClass() *schedulingv1.PriorityClass

func HyperShiftControlPlanePriorityClass

func HyperShiftControlPlanePriorityClass() *schedulingv1.PriorityClass

func HyperShiftEtcdPriorityClass

func HyperShiftEtcdPriorityClass() *schedulingv1.PriorityClass

func HypershiftOperatorPriorityClass

func HypershiftOperatorPriorityClass() *schedulingv1.PriorityClass

Types

type ExternalDNSClusterRole

type ExternalDNSClusterRole struct{}

func (ExternalDNSClusterRole) Build

type ExternalDNSClusterRoleBinding

type ExternalDNSClusterRoleBinding struct {
	ClusterRole    *rbacv1.ClusterRole
	ServiceAccount *corev1.ServiceAccount
}

func (ExternalDNSClusterRoleBinding) Build

type ExternalDNSCredsSecret

type ExternalDNSCredsSecret struct {
	Namespace  *corev1.Namespace
	CredsBytes []byte
}

func (ExternalDNSCredsSecret) Build

type ExternalDNSDeployment

type ExternalDNSDeployment struct {
	Namespace         *corev1.Namespace
	Image             string
	ServiceAccount    *corev1.ServiceAccount
	Provider          string
	DomainFilter      string
	CredentialsSecret *corev1.Secret
	TxtOwnerId        string
}

func (ExternalDNSDeployment) Build

type ExternalDNSServiceAccount

type ExternalDNSServiceAccount struct {
	Namespace *corev1.Namespace
}

func (ExternalDNSServiceAccount) Build

type HyperShiftClientClusterRole

type HyperShiftClientClusterRole struct{}

func (HyperShiftClientClusterRole) Build

type HyperShiftClientClusterRoleBinding

type HyperShiftClientClusterRoleBinding struct {
	ClusterRole    *rbacv1.ClusterRole
	ServiceAccount *corev1.ServiceAccount
	GroupName      string
}

func (HyperShiftClientClusterRoleBinding) Build

type HyperShiftClientServiceAccount

type HyperShiftClientServiceAccount struct {
	Namespace *corev1.Namespace
}

func (HyperShiftClientServiceAccount) Build

type HyperShiftMutatingWebhookConfiguration added in v0.1.10

type HyperShiftMutatingWebhookConfiguration struct {
	Namespace *corev1.Namespace
}

func (HyperShiftMutatingWebhookConfiguration) Build added in v0.1.10

type HyperShiftNamespace

type HyperShiftNamespace struct {
	Name                       string
	EnableOCPClusterMonitoring bool
}

func (HyperShiftNamespace) Build

type HyperShiftOperatorClusterRole

type HyperShiftOperatorClusterRole struct{}

func (HyperShiftOperatorClusterRole) Build

type HyperShiftOperatorClusterRoleBinding

type HyperShiftOperatorClusterRoleBinding struct {
	ClusterRole    *rbacv1.ClusterRole
	ServiceAccount *corev1.ServiceAccount
}

func (HyperShiftOperatorClusterRoleBinding) Build

type HyperShiftOperatorCredentialsSecret

type HyperShiftOperatorCredentialsSecret struct {
	Namespace  *corev1.Namespace
	CredsBytes []byte
	CredsKey   string
}

func (HyperShiftOperatorCredentialsSecret) Build

type HyperShiftOperatorDeployment

type HyperShiftOperatorDeployment struct {
	AdditionalTrustBundle          *corev1.ConfigMap
	OpenShiftTrustBundle           *corev1.ConfigMap
	Namespace                      *corev1.Namespace
	OperatorImage                  string
	Images                         map[string]string
	ServiceAccount                 *corev1.ServiceAccount
	Replicas                       int32
	EnableOCPClusterMonitoring     bool
	EnableCIDebugOutput            bool
	EnableWebhook                  bool
	PrivatePlatform                string
	AWSPrivateSecret               *corev1.Secret
	AWSPrivateSecretKey            string
	AWSPrivateRegion               string
	OIDCBucketName                 string
	OIDCBucketRegion               string
	OIDCStorageProviderS3Secret    *corev1.Secret
	OIDCStorageProviderS3SecretKey string
	MetricsSet                     metrics.MetricsSet
	IncludeVersion                 bool
	UWMTelemetry                   bool
	RHOBSMonitoring                bool
	MonitoringDashboards           bool
}

func (HyperShiftOperatorDeployment) Build

type HyperShiftOperatorOIDCProviderS3Secret

type HyperShiftOperatorOIDCProviderS3Secret struct {
	Namespace                      *corev1.Namespace
	OIDCStorageProviderS3CredBytes []byte
	CredsKey                       string
}

func (HyperShiftOperatorOIDCProviderS3Secret) Build

type HyperShiftOperatorPrometheusRoleBinding

type HyperShiftOperatorPrometheusRoleBinding struct {
	Namespace                  *corev1.Namespace
	Role                       *rbacv1.Role
	EnableOCPClusterMonitoring bool
}

func (HyperShiftOperatorPrometheusRoleBinding) Build

type HyperShiftOperatorRole

type HyperShiftOperatorRole struct {
	Namespace *corev1.Namespace
}

func (HyperShiftOperatorRole) Build

func (o HyperShiftOperatorRole) Build() *rbacv1.Role

type HyperShiftOperatorRoleBinding

type HyperShiftOperatorRoleBinding struct {
	Role           *rbacv1.Role
	ServiceAccount *corev1.ServiceAccount
}

func (HyperShiftOperatorRoleBinding) Build

type HyperShiftOperatorService

type HyperShiftOperatorService struct {
	Namespace *corev1.Namespace
}

func (HyperShiftOperatorService) Build

type HyperShiftOperatorServiceAccount

type HyperShiftOperatorServiceAccount struct {
	Namespace *corev1.Namespace
}

func (HyperShiftOperatorServiceAccount) Build

type HyperShiftPrometheusRole

type HyperShiftPrometheusRole struct {
	Namespace *corev1.Namespace
}

func (HyperShiftPrometheusRole) Build

type HyperShiftReaderClusterRole

type HyperShiftReaderClusterRole struct{}

func (HyperShiftReaderClusterRole) Build

type HyperShiftReaderClusterRoleBinding

type HyperShiftReaderClusterRoleBinding struct {
	ClusterRole *rbacv1.ClusterRole
	GroupName   string
}

func (HyperShiftReaderClusterRoleBinding) Build

type HyperShiftServiceMonitor

type HyperShiftServiceMonitor struct {
	Namespace *corev1.Namespace
}

func (HyperShiftServiceMonitor) Build

type HypershiftAlertingRule added in v0.1.10

type HypershiftAlertingRule struct {
	Namespace *corev1.Namespace
}

func (HypershiftAlertingRule) Build added in v0.1.10

type HypershiftRecordingRule

type HypershiftRecordingRule struct {
	Namespace *corev1.Namespace
}

func (HypershiftRecordingRule) Build

type MonitoringDashboardTemplate added in v0.1.10

type MonitoringDashboardTemplate struct {
	Namespace string
}

func (MonitoringDashboardTemplate) Build added in v0.1.10

Jump to

Keyboard shortcuts

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