Documentation ¶
Index ¶
- func GetCustomResourceDefinition(client client.Reader, ctx context.Context, gk metav1.GroupKind) (*apiextensionsv1.CustomResourceDefinition, error)
- func GetNamespacedName(obj client.Object) types.NamespacedName
- func IsDeleted(obj client.Object) bool
- func IsDeploymentRolledOut(deploy *appsv1.Deployment) bool
- func IsServiceReady(svc *corev1.Service) bool
- func IsStatefulSetRolledOut(statefulSet *appsv1.StatefulSet) bool
- func IsVersionServingInCustomResourceDefinition(crd *apiextensionsv1.CustomResourceDefinition, version string) bool
- type EnvVarSlice
- type VolumeDeviceSlice
- type VolumeMountSlice
- type VolumeSlice
- type WebhookType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomResourceDefinition ¶
func GetCustomResourceDefinition(client client.Reader, ctx context.Context, gk metav1.GroupKind) (*apiextensionsv1.CustomResourceDefinition, error)
func GetNamespacedName ¶
func GetNamespacedName(obj client.Object) types.NamespacedName
func IsDeploymentRolledOut ¶
func IsDeploymentRolledOut(deploy *appsv1.Deployment) bool
func IsServiceReady ¶
func IsStatefulSetRolledOut ¶
func IsStatefulSetRolledOut(statefulSet *appsv1.StatefulSet) bool
func IsVersionServingInCustomResourceDefinition ¶
func IsVersionServingInCustomResourceDefinition(crd *apiextensionsv1.CustomResourceDefinition, version string) bool
Types ¶
type EnvVarSlice ¶
func (EnvVarSlice) Len ¶
func (s EnvVarSlice) Len() int
func (EnvVarSlice) Less ¶
func (s EnvVarSlice) Less(i, j int) bool
func (EnvVarSlice) Swap ¶
func (s EnvVarSlice) Swap(i, j int)
type VolumeDeviceSlice ¶
type VolumeDeviceSlice []corev1.VolumeDevice
func (VolumeDeviceSlice) Len ¶
func (s VolumeDeviceSlice) Len() int
func (VolumeDeviceSlice) Less ¶
func (s VolumeDeviceSlice) Less(i, j int) bool
func (VolumeDeviceSlice) Swap ¶
func (s VolumeDeviceSlice) Swap(i, j int)
type VolumeMountSlice ¶
type VolumeMountSlice []corev1.VolumeMount
func (VolumeMountSlice) Len ¶
func (s VolumeMountSlice) Len() int
func (VolumeMountSlice) Less ¶
func (s VolumeMountSlice) Less(i, j int) bool
func (VolumeMountSlice) Swap ¶
func (s VolumeMountSlice) Swap(i, j int)
type VolumeSlice ¶
func (VolumeSlice) Len ¶
func (s VolumeSlice) Len() int
func (VolumeSlice) Less ¶
func (s VolumeSlice) Less(i, j int) bool
func (VolumeSlice) Swap ¶
func (s VolumeSlice) Swap(i, j int)
type WebhookType ¶ added in v0.2.2
type WebhookType string
WebhookType defines an immutable type for a webhook. Use NewWebhookType to instantiate.
const ( ValidatingWebhookType WebhookType = "validating" MutatingWebhookType WebhookType = "mutating" )
Valid webhook types.
func (WebhookType) IsMutating ¶ added in v0.2.2
func (wt WebhookType) IsMutating() bool
IsMutating is true if wt is a mutating webhook, else false.
func (WebhookType) IsValidating ¶ added in v0.2.2
func (wt WebhookType) IsValidating() bool
IsValidating is true if wt is a validating webhook, else false.
func (WebhookType) String ¶ added in v0.2.2
func (wt WebhookType) String() string
Click to show internal directories.
Click to hide internal directories.