kubernetes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AffinitySchema

func AffinitySchema() *schema.Schema

func AppendPatchOps

func AppendPatchOps(keyPrefix, pathPrefix string, resourceData *schema.ResourceData, ops []patch.PatchOperation) patch.PatchOperations

func BuildId

func BuildId(meta metav1.ObjectMeta) string

func ExpandAffinity

func ExpandAffinity(a []interface{}) *v1.Affinity

func ExpandLocalObjectReferences

func ExpandLocalObjectReferences(localObjectReference []interface{}) *v1.LocalObjectReference

func ExpandMetadata

func ExpandMetadata(in []interface{}) metav1.ObjectMeta

func ExpandPersistentVolumeClaimSpec

func ExpandPersistentVolumeClaimSpec(l []interface{}) (*v1.PersistentVolumeClaimSpec, error)

func ExpandPodDNSConfig

func ExpandPodDNSConfig(l []interface{}) (*v1.PodDNSConfig, error)

func ExpandPodTemplate

func ExpandPodTemplate(l []interface{}) (*corev1.PodTemplateSpec, error)

func ExpandTolerations

func ExpandTolerations(tolerations []interface{}) ([]v1.Toleration, error)

func FlattenAffinity

func FlattenAffinity(in *v1.Affinity) []interface{}

func FlattenLocalObjectReferences

func FlattenLocalObjectReferences(localObjectReference v1.LocalObjectReference) []interface{}

func FlattenMetadata

func FlattenMetadata(meta metav1.ObjectMeta) []interface{}

func FlattenPersistentVolumeClaimSpec

func FlattenPersistentVolumeClaimSpec(in v1.PersistentVolumeClaimSpec) []interface{}

func FlattenPodDNSConfig

func FlattenPodDNSConfig(in *v1.PodDNSConfig) []interface{}

func FlattenPodTemplateSpec

func FlattenPodTemplateSpec(t corev1.PodTemplateSpec, prefix ...string) ([]interface{}, error)

func FlattenTolerations

func FlattenTolerations(tolerations []v1.Toleration) []interface{}

func LocalObjectReferenceSchema

func LocalObjectReferenceSchema(description string) *schema.Schema

func NamespacedMetadataSchema

func NamespacedMetadataSchema(objectName string, generatableName bool) *schema.Schema

func PersistentVolumeClaimSpecSchema

func PersistentVolumeClaimSpecSchema() *schema.Schema

func PodDnsConfigSchema

func PodDnsConfigSchema() *schema.Schema

func PodTemplateFields

func PodTemplateFields() map[string]*schema.Schema

func TolerationSchema

func TolerationSchema() *schema.Schema

Types

This section is empty.

Jump to

Keyboard shortcuts

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