manifests

package
v0.0.0-...-2d77b09 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DNSNamespaceAsset          = "assets/dns/namespace.yaml"
	DNSServiceAccountAsset     = "assets/dns/service-account.yaml"
	DNSClusterRoleAsset        = "assets/dns/cluster-role.yaml"
	DNSClusterRoleBindingAsset = "assets/dns/cluster-role-binding.yaml"
	DNSDaemonSetAsset          = "assets/dns/daemonset.yaml"
	DNSServiceAsset            = "assets/dns/service.yaml"

	MetricsClusterRoleAsset        = "assets/dns/metrics/cluster-role.yaml"
	MetricsClusterRoleBindingAsset = "assets/dns/metrics/cluster-role-binding.yaml"
	MetricsRoleAsset               = "assets/dns/metrics/role.yaml"
	MetricsRoleBindingAsset        = "assets/dns/metrics/role-binding.yaml"

	// OwningDNSLabel should be applied to any objects "owned by" a
	// dns to aid in selection (especially in cases where an ownerref
	// can't be established due to namespace boundaries).
	OwningDNSLabel = "dns.operator.openshift.io/owning-dns"
)

Variables

This section is empty.

Functions

func DNSClusterRole

func DNSClusterRole() *rbacv1.ClusterRole

func DNSClusterRoleBinding

func DNSClusterRoleBinding() *rbacv1.ClusterRoleBinding

func DNSDaemonSet

func DNSDaemonSet() *appsv1.DaemonSet

func DNSNamespace

func DNSNamespace() *corev1.Namespace

func DNSService

func DNSService() *corev1.Service

func DNSServiceAccount

func DNSServiceAccount() *corev1.ServiceAccount

func MetricsClusterRole

func MetricsClusterRole() *rbacv1.ClusterRole

func MetricsClusterRoleBinding

func MetricsClusterRoleBinding() *rbacv1.ClusterRoleBinding

func MetricsRole

func MetricsRole() *rbacv1.Role

func MetricsRoleBinding

func MetricsRoleBinding() *rbacv1.RoleBinding

func MustAsset

func MustAsset(asset string) []byte

MustAsset returns the bytes for the named assert.

func MustAssetReader

func MustAssetReader(asset string) io.Reader

func MustAssetString

func MustAssetString(asset string) string

MustAssetString returns a string with the named asset.

func NewClusterRole

func NewClusterRole(manifest io.Reader) (*rbacv1.ClusterRole, error)

func NewClusterRoleBinding

func NewClusterRoleBinding(manifest io.Reader) (*rbacv1.ClusterRoleBinding, error)

func NewConfigMap

func NewConfigMap(manifest io.Reader) (*corev1.ConfigMap, error)

func NewDaemonSet

func NewDaemonSet(manifest io.Reader) (*appsv1.DaemonSet, error)

func NewNamespace

func NewNamespace(manifest io.Reader) (*corev1.Namespace, error)

func NewRole

func NewRole(manifest io.Reader) (*rbacv1.Role, error)

func NewRoleBinding

func NewRoleBinding(manifest io.Reader) (*rbacv1.RoleBinding, error)

func NewService

func NewService(manifest io.Reader) (*corev1.Service, error)

func NewServiceAccount

func NewServiceAccount(manifest io.Reader) (*corev1.ServiceAccount, error)

func NodeResolverScript

func NodeResolverScript() string

func NodeResolverServiceAccount

func NodeResolverServiceAccount() *corev1.ServiceAccount

Types

This section is empty.

Jump to

Keyboard shortcuts

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