Documentation
¶
Index ¶
- Constants
- func NewIntegration(name string, spec api.DeploymentSpec, ...) (*schedulerApi.ProfileTemplate, error)
- func NewIntegrationEnablement(integrations ...Integration) (*schedulerApi.ProfileTemplate, error)
- func NewShutdownAnnotations(coreContainers []string) *schedulerApi.ProfileTemplate
- type Core
- type ExtensionShutdownV1Debug
- func (i ExtensionShutdownV1Debug) Envs() ([]core.EnvVar, error)
- func (i ExtensionShutdownV1Debug) GlobalEnvs() ([]core.EnvVar, error)
- func (i ExtensionShutdownV1Debug) Name() []string
- func (i ExtensionShutdownV1Debug) Validate() error
- func (i ExtensionShutdownV1Debug) Volumes() ([]core.Volume, []core.VolumeMount, error)
- 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 IntegrationMetaV1
- 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 IntegrationStorageV1
- func (i IntegrationStorageV1) Envs() ([]core.EnvVar, error)
- func (i IntegrationStorageV1) GlobalEnvs() ([]core.EnvVar, error)
- func (i IntegrationStorageV1) Name() []string
- func (i IntegrationStorageV1) Validate() error
- func (i IntegrationStorageV1) 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(name string, spec api.DeploymentSpec, 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 ExtensionShutdownV1Debug ¶
type ExtensionShutdownV1Debug struct {
Core *Core
}
func (ExtensionShutdownV1Debug) Envs ¶
func (i ExtensionShutdownV1Debug) Envs() ([]core.EnvVar, error)
func (ExtensionShutdownV1Debug) GlobalEnvs ¶
func (i ExtensionShutdownV1Debug) GlobalEnvs() ([]core.EnvVar, error)
func (ExtensionShutdownV1Debug) Name ¶
func (i ExtensionShutdownV1Debug) Name() []string
func (ExtensionShutdownV1Debug) Validate ¶
func (i ExtensionShutdownV1Debug) Validate() error
func (ExtensionShutdownV1Debug) Volumes ¶
func (i ExtensionShutdownV1Debug) Volumes() ([]core.Volume, []core.VolumeMount, error)
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
DeploymentName string
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 IntegrationMetaV1 ¶
type IntegrationMetaV1 struct {
Core *Core
}
func (IntegrationMetaV1) GlobalEnvs ¶
func (i IntegrationMetaV1) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationMetaV1) Name ¶
func (i IntegrationMetaV1) Name() []string
func (IntegrationMetaV1) Validate ¶
func (i IntegrationMetaV1) Validate() error
func (IntegrationMetaV1) Volumes ¶
func (i IntegrationMetaV1) 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 IntegrationStorageV1 ¶
type IntegrationStorageV1 struct {
Core *Core
MLStorage *mlApi.ArangoMLStorage
PlatformStorage *platformApi.ArangoPlatformStorage
}
func (IntegrationStorageV1) GlobalEnvs ¶
func (i IntegrationStorageV1) GlobalEnvs() ([]core.EnvVar, error)
func (IntegrationStorageV1) Name ¶
func (i IntegrationStorageV1) Name() []string
func (IntegrationStorageV1) Validate ¶
func (i IntegrationStorageV1) Validate() error
func (IntegrationStorageV1) Volumes ¶
func (i IntegrationStorageV1) 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)
Source Files
¶
- core.go
- extension.shutdown.v1.debug.go
- integration.authentication.v1.go
- integration.authorization.v0.go
- integration.envoy.v3.go
- integration.go
- integration.meta.v1.go
- integration.scheduler.v1.go
- integration.scheduler.v2.go
- integration.shutdown.v1.go
- integration.storage.v1.go
- integration.storage.v2.go
- integration_interface.go
Click to show internal directories.
Click to hide internal directories.