applications

package
v3.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const RestartedAtAnnotationKey = "kubectl.kubernetes.io/restartedAt"

Variables

This section is empty.

Functions

func ConfigureSecurityContext

func ConfigureSecurityContext(container *corev1.Container, runAs *RunAs)

func DefaultLiveness

func DefaultLiveness(port string, opts ...ProbeOpts) *corev1.Probe

func DefaultReadiness

func DefaultReadiness(port string, opts ...ProbeOpts) *corev1.Probe

func StandardHTTPPort

func StandardHTTPPort() v1.ContainerPort

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

func New

func New(owner v1beta1.Dependent, deploymentTpl *appsv1.Deployment) *Application

func (Application) Install

func (a Application) Install(ctx core.Context) error

func (Application) IsEE

func (a Application) IsEE() Application

func (Application) Stateful

func (a Application) Stateful() Application

func (Application) WithAnnotations

func (a Application) WithAnnotations(annotations map[string]string) core.ObjectMutator[*appsv1.Deployment]

func (Application) WithEE

func (a Application) WithEE(v bool) Application

func (Application) WithStateful

func (a Application) WithStateful(v bool) Application

type ProbeOpts

type ProbeOpts func(*corev1.ProbeHandler) *corev1.ProbeHandler

func WithHost

func WithHost(host string) ProbeOpts

func WithProbePath

func WithProbePath(path string) ProbeOpts

type RunAs

type RunAs struct {
	User  *int64 `json:"user"`
	Group *int64 `json:"group"`
}

func (*RunAs) UnmarshalJSON

func (r *RunAs) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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