Documentation
¶
Index ¶
- Constants
- func ConfigureSecurityContext(container *corev1.Container, runAs *RunAs)
- func DefaultLiveness(port string, opts ...ProbeOpts) *corev1.Probe
- func DefaultReadiness(port string, opts ...ProbeOpts) *corev1.Probe
- func StandardHTTPPort() v1.ContainerPort
- type Application
- func (a Application) Install(ctx core.Context) error
- func (a Application) IsEE() Application
- func (a Application) Stateful() Application
- func (a Application) WithAnnotations(annotations map[string]string) core.ObjectMutator[*appsv1.Deployment]
- func (a Application) WithEE(v bool) Application
- func (a Application) WithStateful(v bool) Application
- type ProbeOpts
- type RunAs
Constants ¶
View Source
const RestartedAtAnnotationKey = "kubectl.kubernetes.io/restartedAt"
Variables ¶
This section is empty.
Functions ¶
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) 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 WithProbePath ¶
Click to show internal directories.
Click to hide internal directories.