container

package
v0.0.0-...-906dce3 Latest Latest
Warning

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

Go to latest
Published: May 22, 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
	*schedulerContainerResourcesApi.Core `json:",inline"`

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

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

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

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

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

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

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

	// Lifecycle define lifecycle assigned to the Container
	*schedulerContainerResourcesApi.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
	*schedulerContainerResourcesApi.Environments `json:",inline"`

	// VolumeMounts define volume mounts assigned to the Container
	*schedulerContainerResourcesApi.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 (g *Generic) GetEnvironments() *schedulerContainerResourcesApi.Environments

func (*Generic) GetVolumeMounts

func (g *Generic) GetVolumeMounts() *schedulerContainerResourcesApi.VolumeMounts

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