inventory

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Create []v1.ServiceAccount
	Update []v1.ServiceAccount
	Delete []v1.ServiceAccount
}

Account represents the service account inventory based on the current and desired states

func ForAccounts

func ForAccounts(existing []v1.ServiceAccount, desired []v1.ServiceAccount) Account

ForAccounts builds a new Account inventory based on the existing and desired states

type ClusterRoleBinding added in v1.14.0

type ClusterRoleBinding struct {
	Create []rbac.ClusterRoleBinding
	Update []rbac.ClusterRoleBinding
	Delete []rbac.ClusterRoleBinding
}

ClusterRoleBinding represents the inventory of cluster roles based on the current and desired states

func ForClusterRoleBindings added in v1.14.0

func ForClusterRoleBindings(existing []rbac.ClusterRoleBinding, desired []rbac.ClusterRoleBinding) ClusterRoleBinding

ForClusterRoleBindings builds an inventory of cluster roles based on the existing and desired states

type ConfigMap

type ConfigMap struct {
	Create []v1.ConfigMap
	Update []v1.ConfigMap
	Delete []v1.ConfigMap
}

ConfigMap represents the config maps inventory based on the current and desired states

func ForConfigMaps

func ForConfigMaps(existing []v1.ConfigMap, desired []v1.ConfigMap) ConfigMap

ForConfigMaps builds a new Account inventory based on the existing and desired states

type ConsoleLink struct {
	Create []osconsolev1.ConsoleLink
	Update []osconsolev1.ConsoleLink
	Delete []osconsolev1.ConsoleLink
}

ConsoleLink represents the inventory of console links based on the current and desired states

func ForConsoleLinks(existing []osconsolev1.ConsoleLink, desired []osconsolev1.ConsoleLink) ConsoleLink

ForConsoleLinks builds an inventory of console links based on the existing and desired states

type CronJob

type CronJob struct {
	Create []batchv1beta1.CronJob
	Update []batchv1beta1.CronJob
	Delete []batchv1beta1.CronJob
}

CronJob represents the inventory of cronjobs based on the current and desired states

func ForCronJobs

func ForCronJobs(existing []batchv1beta1.CronJob, desired []batchv1beta1.CronJob) CronJob

ForCronJobs builds an inventory of cronjobs based on the existing and desired states

type DaemonSet

type DaemonSet struct {
	Create []appsv1.DaemonSet
	Update []appsv1.DaemonSet
	Delete []appsv1.DaemonSet
}

DaemonSet represents the daemon set inventory based on the current and desired states

func ForDaemonSets

func ForDaemonSets(existing []appsv1.DaemonSet, desired []appsv1.DaemonSet) DaemonSet

ForDaemonSets builds a new daemon set inventory based on the existing and desired states

type Deployment

type Deployment struct {
	Create []appsv1.Deployment
	Update []appsv1.Deployment
	Delete []appsv1.Deployment
}

Deployment represents the deployment inventory based on the current and desired states

func ForDeployments

func ForDeployments(existing []appsv1.Deployment, desired []appsv1.Deployment) Deployment

ForDeployments builds a new Deployment inventory based on the existing and desired states

type Elasticsearch

type Elasticsearch struct {
	Create []esv1.Elasticsearch
	Update []esv1.Elasticsearch
	Delete []esv1.Elasticsearch
}

Elasticsearch represents the elastic search inventory based on the current and desired states

func ForElasticsearches

func ForElasticsearches(existing []esv1.Elasticsearch, desired []esv1.Elasticsearch) Elasticsearch

ForElasticsearches builds a new elastic search inventory based on the existing and desired states

type HorizontalPodAutoscaler added in v1.17.0

HorizontalPodAutoscaler represents the HorizontalPodAutoscaler inventory based on the current and desired states

func ForHorizontalPodAutoscalers added in v1.17.0

ForHorizontalPodAutoscalers builds a new HorizontalPodAutoscaler inventory based on the existing and desired states

type Ingress

type Ingress struct {
	Create []v1beta1.Ingress
	Update []v1beta1.Ingress
	Delete []v1beta1.Ingress
}

Ingress represents the inventory of ingresses based on the current and desired states

func ForIngresses

func ForIngresses(existing []v1beta1.Ingress, desired []v1beta1.Ingress) Ingress

ForIngresses builds an inventory of ingresses based on the existing and desired states

type Kafka added in v1.15.0

type Kafka struct {
	Create []v1beta1.Kafka
	Update []v1beta1.Kafka
	Delete []v1beta1.Kafka
}

Kafka represents the inventory of kafkas based on the current and desired states

func ForKafkas added in v1.15.0

func ForKafkas(existing []v1beta1.Kafka, desired []v1beta1.Kafka) Kafka

ForKafkas builds an inventory of kafkas based on the existing and desired states

type KafkaUser added in v1.15.0

type KafkaUser struct {
	Create []v1beta1.KafkaUser
	Update []v1beta1.KafkaUser
	Delete []v1beta1.KafkaUser
}

KafkaUser represents the inventory of kafkas based on the current and desired states

func ForKafkaUsers added in v1.15.0

func ForKafkaUsers(existing []v1beta1.KafkaUser, desired []v1beta1.KafkaUser) KafkaUser

ForKafkaUsers builds an inventory of kafkas based on the existing and desired states

type Route

type Route struct {
	Create []osv1.Route
	Update []osv1.Route
	Delete []osv1.Route
}

Route represents the inventory of routes based on the current and desired states

func ForRoutes

func ForRoutes(existing []osv1.Route, desired []osv1.Route) Route

ForRoutes builds an inventory of routes based on the existing and desired states

type Secret

type Secret struct {
	Create []v1.Secret
	Update []v1.Secret
	Delete []v1.Secret
}

Secret represents the secrets inventory based on the current and desired states

func ForSecrets

func ForSecrets(existing []v1.Secret, desired []v1.Secret) Secret

ForSecrets builds a new secret inventory based on the existing and desired states

type Service

type Service struct {
	Create []v1.Service
	Update []v1.Service
	Delete []v1.Service
}

Service represents the inventory of routes based on the current and desired states

func ForServices

func ForServices(existing []v1.Service, desired []v1.Service) Service

ForServices builds an inventory of services based on the existing and desired states

Jump to

Keyboard shortcuts

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