install

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultHwameistorVersion = "v0.14.0"

Variables

View Source
var HostPathDirectory = corev1.HostPathDirectory
View Source
var HostPathDirectoryOrCreate = corev1.HostPathDirectoryOrCreate
View Source
var HostPathFileOrCreate = corev1.HostPathFileOrCreate
View Source
var HostPathTypeUnset = corev1.HostPathUnset
View Source
var MountPropagationBidirectional = corev1.MountPropagationBidirectional
View Source
var SecurityContextPrivilegedTrue = true
View Source
var TerminationGracePeriodSeconds30s = int64(30)

Functions

func EnsureTargetNamespaceExist

func EnsureTargetNamespaceExist(cli client.Client, targetNamespace string) (bool, error)

func FulfillTargetNamespaceSpec

func FulfillTargetNamespaceSpec(clusterInstance *hwameistoriov1alpha1.Cluster) *hwameistoriov1alpha1.Cluster

func GetFileBytes

func GetFileBytes(filepath string) ([]byte, error)

func Install

func Install(cli client.Client, resourceBytes []byte, targetNamespace string) error

func InstallCRDs

func InstallCRDs(cli client.Client, targetNamespace string) error

func RawExtensionToUnstructured

func RawExtensionToUnstructured(rawObj runtime.RawExtension) (*unstructured.Unstructured, error)

func ReadResourcesFromDir

func ReadResourcesFromDir(dir string) ([][]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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