strategy

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S

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

S knows what type of deployments to build based on a given spec

func For

func For(ctx context.Context, jaeger *v1.Jaeger) S

For returns the appropriate Strategy for the given Jaeger instance

func New added in v1.10.0

func New() *S

New constructs a new strategy from scratch

func (S) Accounts added in v1.10.0

func (s S) Accounts() []corev1.ServiceAccount

Accounts returns the list of service accounts for this strategy

func (S) All added in v1.18.0

func (s S) All() []runtime.Object

All returns the list of all objects for this strategy

func (S) ClusterRoleBindings added in v1.14.0

func (s S) ClusterRoleBindings() []rbac.ClusterRoleBinding

ClusterRoleBindings returns the list of cluster role bindings for this strategy

func (S) ConfigMaps added in v1.10.0

func (s S) ConfigMaps() []corev1.ConfigMap

ConfigMaps returns the list of config maps for this strategy

func (s S) ConsoleLinks(routes []osv1.Route) []osconsolev1.ConsoleLink

ConsoleLinks returns the console links for this strategy

func (S) CronJobs added in v1.10.0

func (s S) CronJobs() []runtime.Object

CronJobs returns the list of cron jobs for this strategy

func (S) DaemonSets added in v1.10.0

func (s S) DaemonSets() []appsv1.DaemonSet

DaemonSets returns the list of daemon sets for this strategy

func (S) Dependencies

func (s S) Dependencies() []batchv1.Job

Dependencies returns the list of batches for this strategy that are considered dependencies

func (S) Deployments added in v1.10.0

func (s S) Deployments() []appsv1.Deployment

Deployments returns the list of deployments for this strategy

func (S) Elasticsearches added in v1.10.0

func (s S) Elasticsearches() []esv1.Elasticsearch

Elasticsearches returns the list of elastic search instances for this strategy

func (S) HorizontalPodAutoscalers added in v1.17.0

func (s S) HorizontalPodAutoscalers() []runtime.Object

HorizontalPodAutoscalers returns the list of HPAs objects for this strategy.

func (S) Ingresses added in v1.10.0

func (s S) Ingresses() []networkingv1.Ingress

Ingresses returns the list of ingress objects for this strategy. This might be platform-dependent

func (S) KafkaUsers added in v1.15.0

func (s S) KafkaUsers() []kafkav1beta2.KafkaUser

KafkaUsers returns the list of KafkaUsers for this strategy.

func (S) Kafkas added in v1.15.0

func (s S) Kafkas() []kafkav1beta2.Kafka

Kafkas returns the list of Kafkas for this strategy.

func (S) Routes added in v1.10.0

func (s S) Routes() []osv1.Route

Routes returns the list of routes for this strategy. This might be platform-dependent

func (S) Secrets added in v1.10.0

func (s S) Secrets() []corev1.Secret

Secrets returns the list of secrets for this strategy

func (S) Services added in v1.10.0

func (s S) Services() []corev1.Service

Services returns the list of services for this strategy

func (S) Type added in v1.10.0

func (s S) Type() v1.DeploymentStrategy

Type returns the strategy type for the given strategy

func (S) WithAccounts added in v1.10.0

func (s S) WithAccounts(accs []corev1.ServiceAccount) S

WithAccounts returns the strategy with the given list of service accounts

func (S) WithClusterRoleBindings added in v1.14.0

func (s S) WithClusterRoleBindings(c []rbac.ClusterRoleBinding) S

WithClusterRoleBindings returns the strategy with the given list of config maps

func (S) WithConfigMaps added in v1.10.0

func (s S) WithConfigMaps(c []corev1.ConfigMap) S

WithConfigMaps returns the strategy with the given list of config maps

func (s S) WithConsoleLinks(c []osconsolev1.ConsoleLink) S

WithConsoleLinks returns the strategy with the given list of console links

func (S) WithCronJobs added in v1.10.0

func (s S) WithCronJobs(c []runtime.Object) S

WithCronJobs returns the strategy with the given list of cron jobs

func (S) WithDaemonSets added in v1.10.0

func (s S) WithDaemonSets(d []appsv1.DaemonSet) S

WithDaemonSets returns the strategy with the given list of daemonsets

func (S) WithDependencies added in v1.10.0

func (s S) WithDependencies(deps []batchv1.Job) S

WithDependencies returns the strategy with the given list of dependencies

func (S) WithDeployments added in v1.10.0

func (s S) WithDeployments(deps []appsv1.Deployment) S

WithDeployments returns the strategy with the given list of deployments

func (S) WithElasticsearches added in v1.10.0

func (s S) WithElasticsearches(es []esv1.Elasticsearch) S

WithElasticsearches returns the strategy with the given list of elastic search instances

func (S) WithHorizontalPodAutoscaler added in v1.17.0

func (s S) WithHorizontalPodAutoscaler(i []runtime.Object) S

WithHorizontalPodAutoscaler returns the strategy with the given list of HPAs

func (S) WithIngresses added in v1.10.0

func (s S) WithIngresses(i []networkingv1.Ingress) S

WithIngresses returns the strategy with the given list of dependencies

func (S) WithKafkaUsers added in v1.15.0

func (s S) WithKafkaUsers(k []kafkav1beta2.KafkaUser) S

WithKafkaUsers returns the strategy with the given list of Kafka Users

func (S) WithKafkas added in v1.15.0

func (s S) WithKafkas(k []kafkav1beta2.Kafka) S

WithKafkas returns the strategy with the given list of Kafkas

func (S) WithRoutes added in v1.10.0

func (s S) WithRoutes(r []osv1.Route) S

WithRoutes returns the strategy with the given list of routes

func (S) WithSecrets added in v1.10.0

func (s S) WithSecrets(secrets []corev1.Secret) S

WithSecrets returns the strategy with the given list of secrets

func (S) WithServices added in v1.10.0

func (s S) WithServices(svcs []corev1.Service) S

WithServices returns the strategy with the given list of routes

Jump to

Keyboard shortcuts

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