Documentation ¶
Index ¶
- Constants
- func Annotations(target *unstructured.Unstructured, annotations map[string]string)
- func Decode(decoder runtime.Decoder, content []byte) ([]unstructured.Unstructured, error)
- func Label(target *unstructured.Unstructured, key string) string
- func Labels(target *unstructured.Unstructured, labels map[string]string)
- func OwnerReference(owner client.Object) metav1.OwnerReference
- func OwnerReferences(owner client.Object) []metav1.OwnerReference
- func Ref(obj client.Object) string
- func ToUnstructured(s *runtime.Scheme, obj runtime.Object) (*unstructured.Unstructured, error)
- func UnstructuredFor(group string, version string, kind string) *unstructured.Unstructured
- func WithEnv(name string, value string) *corev1ac.EnvVarApplyConfiguration
- func WithEnvFromField(name string, value string) *corev1ac.EnvVarApplyConfiguration
- func WithHTTPProbe(path string, port int32) *corev1ac.ProbeApplyConfiguration
- func WithOwnerReference(object client.Object) *metav1ac.OwnerReferenceApplyConfiguration
- func WithPort(name string, port int32) *corev1ac.ContainerPortApplyConfiguration
Constants ¶
View Source
const ( DefaultProbeInitialDelay = 5 DefaultProbePeriod = 10 DefaultProbeTimeout = 10 DefaultProbeFailureThreshold = 10 DefaultProbeSuccessThreshold = 1 )
Variables ¶
This section is empty.
Functions ¶
func Annotations ¶
func Annotations(target *unstructured.Unstructured, annotations map[string]string)
func Decode ¶
func Decode(decoder runtime.Decoder, content []byte) ([]unstructured.Unstructured, error)
func Label ¶
func Label(target *unstructured.Unstructured, key string) string
func Labels ¶
func Labels(target *unstructured.Unstructured, labels map[string]string)
func OwnerReference ¶
func OwnerReference(owner client.Object) metav1.OwnerReference
func OwnerReferences ¶
func OwnerReferences(owner client.Object) []metav1.OwnerReference
func ToUnstructured ¶
func ToUnstructured(s *runtime.Scheme, obj runtime.Object) (*unstructured.Unstructured, error)
func UnstructuredFor ¶
func UnstructuredFor(group string, version string, kind string) *unstructured.Unstructured
func WithEnvFromField ¶
func WithEnvFromField(name string, value string) *corev1ac.EnvVarApplyConfiguration
func WithHTTPProbe ¶
func WithHTTPProbe(path string, port int32) *corev1ac.ProbeApplyConfiguration
func WithOwnerReference ¶
func WithOwnerReference(object client.Object) *metav1ac.OwnerReferenceApplyConfiguration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.