apis

package
v0.22.11 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func Key added in v0.20.2

func KeyFromMeta added in v0.20.2

func KeyFromMeta(objMeta metav1.ObjectMeta) types.NamespacedName

func NewMicroTime added in v0.19.7

func NewMicroTime(v time.Time) metav1.MicroTime

NewMicroTime returns a wrapped instance of the provided time truncated to microseconds.

func NewTime added in v0.19.7

func NewTime(v time.Time) metav1.Time

NewTime returns a wrapped instance of the provided time truncated to seconds.

func Now added in v0.19.7

func Now() metav1.Time

Now returns the current local time truncated to seconds.

func NowMicro added in v0.19.7

func NowMicro() metav1.MicroTime

NowMicro returns the current local time truncated to microseconds.

func SanitizeLabel added in v0.22.6

func SanitizeLabel(name string) string

SanitizeLabel ensures a value is suitable as both a label key and value.

func SanitizeName

func SanitizeName(name string) string

SanitizeName ensures a value is suitable for usage as an apiserver identifier.

Types

This section is empty.

Directories

Path Synopsis
Package api is the internal version of the API.
Package api is the internal version of the API.
v1alpha1
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tilt-dev/tilt/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=tilt.dev
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tilt-dev/tilt/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=tilt.dev

Jump to

Keyboard shortcuts

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