Documentation ¶
Index ¶
- type AppBrokerUpgradeTest
- type Application
- type Deployment
- type HelmBrokerUpgradeConflictTest
- type HelmBrokerUpgradeTest
- type Log
- type Pod
- type PodLog
- type Report
- func (r *Report) AddApplicationMappings(applicationMappings *appBrk.ApplicationMappingList, err error)
- func (r *Report) AddApplications(applications *appOpr.ApplicationList, err error)
- func (r *Report) AddClusterServiceBrokers(clusterServiceBrokers *sc.ClusterServiceBrokerList, err error)
- func (r *Report) AddClusterServiceClasses(clusterServiceClasses *sc.ClusterServiceClassList, err error)
- func (r *Report) AddDeployments(deployments *appsV1.DeploymentList, err error)
- func (r *Report) AddEventActivations(eventActivations *appBrk.EventActivationList, err error)
- func (r *Report) AddLogs(name string, logs []string, grepWords []string, err error)
- func (r *Report) AddPods(pods *coreV1.PodList, err error)
- func (r *Report) AddSecrets(secrets *coreV1.SecretList, err error)
- func (r *Report) AddServiceBindingUsages(serviceBindingUsages *sbu.ServiceBindingUsageList, err error)
- func (r *Report) AddServiceBindings(serviceBindings *sc.ServiceBindingList, err error)
- func (r *Report) AddServiceBrokers(serviceBrokers *sc.ServiceBrokerList, err error)
- func (r *Report) AddServiceClasses(serviceClasses *sc.ServiceClassList, err error)
- func (r *Report) AddServiceInstances(serviceInstances *sc.ServiceInstanceList, err error)
- func (r *Report) Print()
- type Secret
- type ServiceBinding
- type ServiceBindingUsage
- type ServiceBroker
- type ServiceClass
- type ServiceInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppBrokerUpgradeTest ¶
type AppBrokerUpgradeTest struct { ServiceCatalogInterface clientset.Interface K8sInterface kubernetes.Interface BUInterface bu.Interface AppBrokerInterface appBroker.Interface AppConnectorInterface appConnector.Interface }
AppBrokerUpgradeTest tests the Helm Broker business logic after Kyma upgrade phase
func NewAppBrokerUpgradeTest ¶
func NewAppBrokerUpgradeTest(scCli clientset.Interface, k8sCli kubernetes.Interface, buCli bu.Interface, abCli appBroker.Interface, acCli appConnector.Interface) *AppBrokerUpgradeTest
NewAppBrokerUpgradeTest returns new instance of the AppBrokerUpgradeTest
func (*AppBrokerUpgradeTest) CreateResources ¶
func (ut *AppBrokerUpgradeTest) CreateResources(stop <-chan struct{}, log logrus.FieldLogger, namespace string) error
CreateResources creates resources needed for e2e upgrade test
func (*AppBrokerUpgradeTest) TestResources ¶
func (ut *AppBrokerUpgradeTest) TestResources(stop <-chan struct{}, log logrus.FieldLogger, namespace string) error
TestResources tests resources after upgrade
type Application ¶
type Application struct {
Status appOpr.ApplicationStatus
}
type Deployment ¶
type Deployment struct { Status map[string]int32 `json:"status"` Conditions []appsV1.DeploymentCondition `json:"conditions"` }
type HelmBrokerUpgradeConflictTest ¶
type HelmBrokerUpgradeConflictTest struct { ServiceCatalogInterface clientset.Interface K8sInterface kubernetes.Interface BUInterface bu.Interface // contains filtered or unexported fields }
HelmBrokerUpgradeConflictTest tests the Helm Broker business logic after Kyma upgrade phase
func NewHelmBrokerConflictTest ¶
func NewHelmBrokerConflictTest(aInjector *injector.Addons, k8sCli kubernetes.Interface, scCli clientset.Interface, buCli bu.Interface) *HelmBrokerUpgradeConflictTest
NewHelmBrokerTest returns new instance of the HelmBrokerUpgradeConflictTest
func (*HelmBrokerUpgradeConflictTest) CreateResources ¶
func (ut *HelmBrokerUpgradeConflictTest) CreateResources(stop <-chan struct{}, log logrus.FieldLogger, namespace string) error
CreateResources creates resources needed for e2e upgrade test
func (*HelmBrokerUpgradeConflictTest) TestResources ¶
func (ut *HelmBrokerUpgradeConflictTest) TestResources(stop <-chan struct{}, log logrus.FieldLogger, namespace string) error
TestResources tests resources after upgrade
type HelmBrokerUpgradeTest ¶
type HelmBrokerUpgradeTest struct { ServiceCatalogInterface clientset.Interface K8sInterface kubernetes.Interface BUInterface bu.Interface // contains filtered or unexported fields }
HelmBrokerUpgradeTest tests the Helm Broker business logic after Kyma upgrade phase
func NewHelmBrokerTest ¶
func NewHelmBrokerTest(aInjector *injector.Addons, k8sCli kubernetes.Interface, scCli clientset.Interface, buCli bu.Interface) *HelmBrokerUpgradeTest
NewHelmBrokerTest returns new instance of the HelmBrokerUpgradeTest
func (*HelmBrokerUpgradeTest) CreateResources ¶
func (ut *HelmBrokerUpgradeTest) CreateResources(stop <-chan struct{}, log logrus.FieldLogger, namespace string) error
CreateResources creates resources needed for e2e upgrade test
func (*HelmBrokerUpgradeTest) TestResources ¶
func (ut *HelmBrokerUpgradeTest) TestResources(stop <-chan struct{}, log logrus.FieldLogger, namespace string) error
TestResources tests resources after upgrade
type Report ¶
type Report struct { Namespace string Details map[string]string `json:"details"` Warnings map[string]string `json:"warnings"` Logs map[string][]string `json:"logs"` Deployments map[string]Deployment `json:"deployments"` Pods map[string]Pod `json:"pods"` Secrets map[string]Secret `json:"secrets"` ClusterServiceBrokers map[string]ServiceBroker `json:"cluster_service_brokers"` ServiceBrokers map[string]ServiceBroker `json:"service_brokers"` ClusterServiceClasses map[string]ServiceClass `json:"cluster_service_classes"` ServiceClasses map[string]ServiceClass `json:"service_classes"` ServiceInstances map[string]ServiceInstance `json:"service_instances"` ServiceBindings map[string]ServiceBinding `json:"service_bindings"` ServiceBindingUsages map[string]ServiceBindingUsage `json:"service_binding_usages"` Applications map[string]Application `json:"applications"` // contains filtered or unexported fields }
func (*Report) AddApplicationMappings ¶
func (r *Report) AddApplicationMappings(applicationMappings *appBrk.ApplicationMappingList, err error)
func (*Report) AddApplications ¶
func (r *Report) AddApplications(applications *appOpr.ApplicationList, err error)
func (*Report) AddClusterServiceBrokers ¶
func (r *Report) AddClusterServiceBrokers(clusterServiceBrokers *sc.ClusterServiceBrokerList, err error)
func (*Report) AddClusterServiceClasses ¶
func (r *Report) AddClusterServiceClasses(clusterServiceClasses *sc.ClusterServiceClassList, err error)
func (*Report) AddDeployments ¶
func (r *Report) AddDeployments(deployments *appsV1.DeploymentList, err error)
func (*Report) AddEventActivations ¶
func (r *Report) AddEventActivations(eventActivations *appBrk.EventActivationList, err error)
func (*Report) AddSecrets ¶
func (r *Report) AddSecrets(secrets *coreV1.SecretList, err error)
func (*Report) AddServiceBindingUsages ¶
func (r *Report) AddServiceBindingUsages(serviceBindingUsages *sbu.ServiceBindingUsageList, err error)
func (*Report) AddServiceBindings ¶
func (r *Report) AddServiceBindings(serviceBindings *sc.ServiceBindingList, err error)
func (*Report) AddServiceBrokers ¶
func (r *Report) AddServiceBrokers(serviceBrokers *sc.ServiceBrokerList, err error)
func (*Report) AddServiceClasses ¶
func (r *Report) AddServiceClasses(serviceClasses *sc.ServiceClassList, err error)
func (*Report) AddServiceInstances ¶
func (r *Report) AddServiceInstances(serviceInstances *sc.ServiceInstanceList, err error)
type ServiceBinding ¶
type ServiceBinding struct { LastOperation string `json:"last_operation,omitempty"` OrphanMitigationInProgress string Conditions []sc.ServiceBindingCondition }
type ServiceBindingUsage ¶
type ServiceBindingUsage struct {
Conditions []sbu.ServiceBindingUsageCondition
}
type ServiceBroker ¶
type ServiceBroker struct {
Conditions []sc.ServiceBrokerCondition
}