k8s

package
v0.0.0-...-edb02cc Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 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 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 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 PodSpecFields

func PodSpecFields(isUpdatable, isComputed bool) map[string]*schema.Schema

func PodTemplateFields

func PodTemplateFields(owner string) 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