Documentation ¶
Index ¶
- Constants
- func NewIntegration(image *schedulerContainerResourcesApi.Image, ...) (*schedulerApi.ProfileTemplate, error)
- func NewIntegrationEnablement(integrations ...Integration) (*schedulerApi.ProfileTemplate, error)
- func NewShutdownAnnotations(coreContainers []string) *schedulerApi.ProfileTemplate
- type Core
- type Integration
- type IntegrationAnnotations
- type IntegrationAuthenticationV1
- func (i IntegrationAuthenticationV1) Envs() ([]core.EnvVar, error)
- func (i IntegrationAuthenticationV1) GlobalEnvs() ([]core.EnvVar, error)
- func (i IntegrationAuthenticationV1) Name() []string
- func (i IntegrationAuthenticationV1) Validate() error
- func (i IntegrationAuthenticationV1) Volumes() ([]core.Volume, []core.VolumeMount, error)
- type IntegrationAuthorizationV0
- func (i IntegrationAuthorizationV0) Envs() ([]core.EnvVar, error)
- func (i IntegrationAuthorizationV0) GlobalEnvs() ([]core.EnvVar, error)
- func (i IntegrationAuthorizationV0) Name() []string
- func (i IntegrationAuthorizationV0) Validate() error
- func (i IntegrationAuthorizationV0) Volumes() ([]core.Volume, []core.VolumeMount, error)
- type IntegrationEnvoyV3
- type IntegrationSchedulerV1
- func (i IntegrationSchedulerV1) Envs() ([]core.EnvVar, error)
- func (i IntegrationSchedulerV1) GlobalEnvs() ([]core.EnvVar, error)
- func (i IntegrationSchedulerV1) Name() []string
- func (i IntegrationSchedulerV1) Validate() error
- func (i IntegrationSchedulerV1) Volumes() ([]core.Volume, []core.VolumeMount, error)
- type IntegrationSchedulerV2
- func (i IntegrationSchedulerV2) Envs() ([]core.EnvVar, error)
- func (i IntegrationSchedulerV2) GlobalEnvs() ([]core.EnvVar, error)
- func (i IntegrationSchedulerV2) Name() []string
- func (i IntegrationSchedulerV2) Validate() error
- func (i IntegrationSchedulerV2) Volumes() ([]core.Volume, []core.VolumeMount, error)
- type IntegrationShutdownV1
- func (i IntegrationShutdownV1) Annotations() (map[string]string, error)
- func (i IntegrationShutdownV1) Envs() ([]core.EnvVar, error)
- func (i IntegrationShutdownV1) GlobalEnvs() ([]core.EnvVar, error)
- func (i IntegrationShutdownV1) Name() []string
- func (i IntegrationShutdownV1) Validate() error
- func (i IntegrationShutdownV1) Volumes() ([]core.Volume, []core.VolumeMount, error)
- type IntegrationStorageV2
- func (i IntegrationStorageV2) Envs() ([]core.EnvVar, error)
- func (i IntegrationStorageV2) GlobalEnvs() ([]core.EnvVar, error)
- func (i IntegrationStorageV2) Name() []string
- func (i IntegrationStorageV2) Validate() error
- func (i IntegrationStorageV2) Volumes() ([]core.Volume, []core.VolumeMount, error)
Constants ¶
View Source
const ( ContainerName = "integration" ListenPortName = "integration" ListenPortHealthName = "health" )
Variables ¶
This section is empty.
Functions ¶
func NewIntegration ¶
func NewIntegration(image *schedulerContainerResourcesApi.Image, integration *schedulerIntegrationApi.Sidecar, profiles ...*schedulerApi.ProfileTemplate) (*schedulerApi.ProfileTemplate, error)
func NewIntegrationEnablement ¶
func NewIntegrationEnablement(integrations ...Integration) (*schedulerApi.ProfileTemplate, error)
func NewShutdownAnnotations ¶
func NewShutdownAnnotations(coreContainers []string) *schedulerApi.ProfileTemplate
Types ¶
type Integration ¶
type IntegrationAnnotations ¶
type IntegrationAnnotations interface { Integration Annotations() (map[string]string, error) }
type IntegrationAuthenticationV1 ¶
type IntegrationAuthenticationV1 struct { Core *Core DeploymentName string Spec api.DeploymentSpec }
func (IntegrationAuthenticationV1) Envs ¶
func (i IntegrationAuthenticationV1) Envs() ([]core.EnvVar, error)
func (IntegrationAuthenticationV1) GlobalEnvs ¶
func (i IntegrationAuthenticationV1) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationAuthenticationV1) Name ¶
func (i IntegrationAuthenticationV1) Name() []string
func (IntegrationAuthenticationV1) Validate ¶
func (i IntegrationAuthenticationV1) Validate() error
func (IntegrationAuthenticationV1) Volumes ¶
func (i IntegrationAuthenticationV1) Volumes() ([]core.Volume, []core.VolumeMount, error)
type IntegrationAuthorizationV0 ¶
type IntegrationAuthorizationV0 struct {
Core *Core
}
func (IntegrationAuthorizationV0) Envs ¶
func (i IntegrationAuthorizationV0) Envs() ([]core.EnvVar, error)
func (IntegrationAuthorizationV0) GlobalEnvs ¶
func (i IntegrationAuthorizationV0) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationAuthorizationV0) Name ¶
func (i IntegrationAuthorizationV0) Name() []string
func (IntegrationAuthorizationV0) Validate ¶
func (i IntegrationAuthorizationV0) Validate() error
func (IntegrationAuthorizationV0) Volumes ¶
func (i IntegrationAuthorizationV0) Volumes() ([]core.Volume, []core.VolumeMount, error)
type IntegrationEnvoyV3 ¶
type IntegrationEnvoyV3 struct { Core *Core Spec api.DeploymentSpec }
func (IntegrationEnvoyV3) GlobalEnvs ¶
func (i IntegrationEnvoyV3) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationEnvoyV3) Name ¶
func (i IntegrationEnvoyV3) Name() []string
func (IntegrationEnvoyV3) Validate ¶
func (i IntegrationEnvoyV3) Validate() error
func (IntegrationEnvoyV3) Volumes ¶
func (i IntegrationEnvoyV3) Volumes() ([]core.Volume, []core.VolumeMount, error)
type IntegrationSchedulerV1 ¶
type IntegrationSchedulerV1 struct { Core *Core DeploymentName string Spec api.DeploymentSpec }
func (IntegrationSchedulerV1) GlobalEnvs ¶
func (i IntegrationSchedulerV1) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationSchedulerV1) Name ¶
func (i IntegrationSchedulerV1) Name() []string
func (IntegrationSchedulerV1) Validate ¶
func (i IntegrationSchedulerV1) Validate() error
func (IntegrationSchedulerV1) Volumes ¶
func (i IntegrationSchedulerV1) Volumes() ([]core.Volume, []core.VolumeMount, error)
type IntegrationSchedulerV2 ¶
type IntegrationSchedulerV2 struct { Core *Core DeploymentName string Spec api.DeploymentSpec }
func (IntegrationSchedulerV2) GlobalEnvs ¶
func (i IntegrationSchedulerV2) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationSchedulerV2) Name ¶
func (i IntegrationSchedulerV2) Name() []string
func (IntegrationSchedulerV2) Validate ¶
func (i IntegrationSchedulerV2) Validate() error
func (IntegrationSchedulerV2) Volumes ¶
func (i IntegrationSchedulerV2) Volumes() ([]core.Volume, []core.VolumeMount, error)
type IntegrationShutdownV1 ¶
type IntegrationShutdownV1 struct {
Core *Core
}
func (IntegrationShutdownV1) Annotations ¶
func (i IntegrationShutdownV1) Annotations() (map[string]string, error)
func (IntegrationShutdownV1) GlobalEnvs ¶
func (i IntegrationShutdownV1) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationShutdownV1) Name ¶
func (i IntegrationShutdownV1) Name() []string
func (IntegrationShutdownV1) Validate ¶
func (i IntegrationShutdownV1) Validate() error
func (IntegrationShutdownV1) Volumes ¶
func (i IntegrationShutdownV1) Volumes() ([]core.Volume, []core.VolumeMount, error)
type IntegrationStorageV2 ¶
type IntegrationStorageV2 struct { Core *Core Storage *platformApi.ArangoPlatformStorage }
func (IntegrationStorageV2) GlobalEnvs ¶
func (i IntegrationStorageV2) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationStorageV2) Name ¶
func (i IntegrationStorageV2) Name() []string
func (IntegrationStorageV2) Validate ¶
func (i IntegrationStorageV2) Validate() error
func (IntegrationStorageV2) Volumes ¶
func (i IntegrationStorageV2) Volumes() ([]core.Volume, []core.VolumeMount, error)
Click to show internal directories.
Click to hide internal directories.