integration

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorUnrecognizedResourceType = "unrecognized resource type"

Variables

This section is empty.

Functions

This section is empty.

Types

type AllSupportedJobResourceTypes

type AllSupportedJobResourceTypes struct {
	// contains filtered or unexported fields
}

AllSupportedJobResourceTypes is a bridge/interface to all adapters implementing various job types instead of asking multiple adapters you ask a single service that aggregates all of them

func NewAllSupportedJobResourceTypes

func NewAllSupportedJobResourceTypes(cfg *rest.Config) AllSupportedJobResourceTypes

func (*AllSupportedJobResourceTypes) GetScheduledJobHealthStatus

func (all *AllSupportedJobResourceTypes) GetScheduledJobHealthStatus(ctx context.Context, gvk schema.GroupVersionKind, trackingId string, namespace string) (v1alpha1.JobHealthStatus, error)

type KubernetesJobResourceType

type KubernetesJobResourceType struct {
	// contains filtered or unexported fields
}

func NewKubernetesJobResourceType

func NewKubernetesJobResourceType(cfg *rest.Config) KubernetesJobResourceType

NewKubernetesJobResourceType is creating an instance of a `Kind: Job` checker

func (KubernetesJobResourceType) GetScheduledJobHealthStatus

func (kj KubernetesJobResourceType) GetScheduledJobHealthStatus(ctx context.Context, trackingId string, namespace string) (v1alpha1.JobHealthStatus, error)

func (KubernetesJobResourceType) MatchesGVK

type SupportedJobResourceType

type SupportedJobResourceType interface {
	MatchesGVK(gvk schema.GroupVersionKind) bool
	GetScheduledJobHealthStatus(ctx context.Context, trackingId string, namespace string) (v1alpha1.JobHealthStatus, error)
}

Jump to

Keyboard shortcuts

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