Documentation ¶
Index ¶
- type S
- func (s S) Accounts() []corev1.ServiceAccount
- func (s S) All() []runtime.Object
- func (s S) ClusterRoleBindings() []rbac.ClusterRoleBinding
- func (s S) ConfigMaps() []corev1.ConfigMap
- func (s S) ConsoleLinks(routes []osv1.Route) []osconsolev1.ConsoleLink
- func (s S) CronJobs() []batchv1beta1.CronJob
- func (s S) DaemonSets() []appsv1.DaemonSet
- func (s S) Dependencies() []batchv1.Job
- func (s S) Deployments() []appsv1.Deployment
- func (s S) Elasticsearches() []esv1.Elasticsearch
- func (s S) HorizontalPodAutoscalers() []autoscalingv2beta2.HorizontalPodAutoscaler
- func (s S) Ingresses() []networkingv1.Ingress
- func (s S) KafkaUsers() []kafkav1beta2.KafkaUser
- func (s S) Kafkas() []kafkav1beta2.Kafka
- func (s S) Routes() []osv1.Route
- func (s S) Secrets() []corev1.Secret
- func (s S) Services() []corev1.Service
- func (s S) Type() v1.DeploymentStrategy
- func (s S) WithAccounts(accs []corev1.ServiceAccount) S
- func (s S) WithClusterRoleBindings(c []rbac.ClusterRoleBinding) S
- func (s S) WithConfigMaps(c []corev1.ConfigMap) S
- func (s S) WithConsoleLinks(c []osconsolev1.ConsoleLink) S
- func (s S) WithCronJobs(c []batchv1beta1.CronJob) S
- func (s S) WithDaemonSets(d []appsv1.DaemonSet) S
- func (s S) WithDependencies(deps []batchv1.Job) S
- func (s S) WithDeployments(deps []appsv1.Deployment) S
- func (s S) WithElasticsearches(es []esv1.Elasticsearch) S
- func (s S) WithHorizontalPodAutoscaler(i []autoscalingv2beta2.HorizontalPodAutoscaler) S
- func (s S) WithIngresses(i []networkingv1.Ingress) S
- func (s S) WithKafkaUsers(k []kafkav1beta2.KafkaUser) S
- func (s S) WithKafkas(k []kafkav1beta2.Kafka) S
- func (s S) WithRoutes(r []osv1.Route) S
- func (s S) WithSecrets(secrets []corev1.Secret) S
- func (s S) WithServices(svcs []corev1.Service) S
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 (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) 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
ConfigMaps returns the list of config maps for this strategy
func (S) ConsoleLinks ¶ added in v1.19.0
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() []batchv1beta1.CronJob
CronJobs returns the list of cron jobs for this strategy
func (S) DaemonSets ¶ added in v1.10.0
DaemonSets returns the list of daemon sets for this strategy
func (S) Dependencies ¶
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() []autoscalingv2beta2.HorizontalPodAutoscaler
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
Routes returns the list of routes for this strategy. This might be platform-dependent
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
WithConfigMaps returns the strategy with the given list of config maps
func (S) WithConsoleLinks ¶ added in v1.19.0
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 []batchv1beta1.CronJob) S
WithCronJobs returns the strategy with the given list of cron jobs
func (S) WithDaemonSets ¶ added in v1.10.0
WithDaemonSets returns the strategy with the given list of daemonsets
func (S) WithDependencies ¶ added in v1.10.0
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 []autoscalingv2beta2.HorizontalPodAutoscaler) 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
WithRoutes returns the strategy with the given list of routes
func (S) WithSecrets ¶ added in v1.10.0
WithSecrets returns the strategy with the given list of secrets