container

package
v0.0.0-...-33a4775 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	// Core keeps the core settings for Container
	*schedulerContainerResourcesApiv1alpha1.Core `json:",inline"`

	// Security keeps the security settings for Container
	*schedulerContainerResourcesApiv1alpha1.Security `json:",inline"`

	// Environments keeps the environment variables for Container
	*schedulerContainerResourcesApiv1alpha1.Environments `json:",inline"`

	// Image define default image used for the Container
	*schedulerContainerResourcesApiv1alpha1.Image `json:",inline"`

	// Resources define resources assigned to the Container
	*schedulerContainerResourcesApiv1alpha1.Resources `json:",inline"`

	// VolumeMounts define volume mounts assigned to the Container
	*schedulerContainerResourcesApiv1alpha1.VolumeMounts `json:",inline"`

	// Probes define probes assigned to the Container
	*schedulerContainerResourcesApiv1alpha1.Probes `json:",inline"`

	// Networking define networking assigned to the Container
	*schedulerContainerResourcesApiv1alpha1.Networking `json:",inline"`

	// Lifecycle define lifecycle assigned to the Container
	*schedulerContainerResourcesApiv1alpha1.Lifecycle `json:",inline"`
}

func (*Container) Apply

func (c *Container) Apply(template *core.PodTemplateSpec, container *core.Container) error

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Container) GetCore

func (*Container) GetEnvironments

func (*Container) GetImage

func (*Container) GetLifecycle

func (*Container) GetNetworking

func (*Container) GetProbes

func (*Container) GetResources

func (*Container) GetSecurity

func (*Container) GetVolumeMounts

func (*Container) Validate

func (c *Container) Validate() error

func (*Container) With

func (c *Container) With(other *Container) *Container

type Containers

type Containers map[string]Container

func (Containers) Apply

func (c Containers) Apply(template *core.PodTemplateSpec) error

func (Containers) DeepCopy

func (in Containers) DeepCopy() Containers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Containers.

func (Containers) DeepCopyInto

func (in Containers) DeepCopyInto(out *Containers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Containers) ExtendContainers

func (c *Containers) ExtendContainers(spec *Container, names ...string)

func (Containers) Validate

func (c Containers) Validate() error

func (Containers) With

func (c Containers) With(other Containers) Containers

type Generic

type Generic struct {
	// Environments keeps the environment variables for Container
	*schedulerContainerResourcesApiv1alpha1.Environments `json:",inline"`

	// VolumeMounts define volume mounts assigned to the Container
	*schedulerContainerResourcesApiv1alpha1.VolumeMounts `json:",inline"`
}

func (*Generic) Apply

func (g *Generic) Apply(template *core.PodTemplateSpec) error

func (*Generic) DeepCopy

func (in *Generic) DeepCopy() *Generic

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Generic.

func (*Generic) DeepCopyInto

func (in *Generic) DeepCopyInto(out *Generic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Generic) GetEnvironments

func (*Generic) GetVolumeMounts

func (*Generic) Validate

func (g *Generic) Validate() error

func (*Generic) With

func (g *Generic) With(other *Generic) *Generic

Directories

Path Synopsis
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com

Jump to

Keyboard shortcuts

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