Documentation ¶
Index ¶
- type K8SClientMock
- func (o *K8SClientMock) FakeAppDetails() kubernetes.AppDetails
- func (o *K8SClientMock) FakeNamespaceApps() kubernetes.NamespaceApps
- func (o *K8SClientMock) FakeServiceDetails() *kubernetes.ServiceDetails
- func (o *K8SClientMock) FakeServiceList() *kubernetes.ServiceList
- func (o *K8SClientMock) GetAppDetails(namespace, app string) (kubernetes.AppDetails, error)
- func (o *K8SClientMock) GetDeployment(namespace string, deploymentName string) (*v1beta1.Deployment, error)
- func (o *K8SClientMock) GetDeploymentDetails(namespace string, deploymentName string) (*kubernetes.DeploymentDetails, error)
- func (o *K8SClientMock) GetDeploymentSelector(namespace string, deploymentName string) (string, error)
- func (o *K8SClientMock) GetDeployments(namespace string) (*v1beta1.DeploymentList, error)
- func (o *K8SClientMock) GetDestinationRule(namespace string, destinationrule string) (kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetDestinationRules(namespace string, serviceName string) ([]kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetFullServices(namespace string) (*kubernetes.ServiceList, error)
- func (o *K8SClientMock) GetGateway(namespace string, gateway string) (kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetGateways(namespace string) ([]kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetIstioDetails(namespace string, serviceName string) (*kubernetes.IstioDetails, error)
- func (o *K8SClientMock) GetIstioRuleDetails(namespace string, istiorule string) (*kubernetes.IstioRuleDetails, error)
- func (o *K8SClientMock) GetIstioRules(namespace string) (*kubernetes.IstioRules, error)
- func (o *K8SClientMock) GetNamespaceAppsDetails(namespace string) (kubernetes.NamespaceApps, error)
- func (o *K8SClientMock) GetNamespacePods(namespace string) (*v1.PodList, error)
- func (o *K8SClientMock) GetNamespaces() (*v1.NamespaceList, error)
- func (o *K8SClientMock) GetPods(namespace, labelSelector string) (*v1.PodList, error)
- func (o *K8SClientMock) GetQuotaSpec(namespace string, quotaSpecName string) (kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetQuotaSpecBinding(namespace string, quotaSpecBindingName string) (kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetQuotaSpecBindings(namespace string) ([]kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetQuotaSpecs(namespace string) ([]kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetService(namespace string, serviceName string) (*v1.Service, error)
- func (o *K8SClientMock) GetServiceDetails(namespace string, serviceName string) (*kubernetes.ServiceDetails, error)
- func (o *K8SClientMock) GetServiceEntries(namespace string) ([]kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetServiceEntry(namespace string, serviceEntryName string) (kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetServicePods(namespace string, serviceName string, serviceVersion string) (*v1.PodList, error)
- func (o *K8SClientMock) GetServices(namespace string) (*v1.ServiceList, error)
- func (o *K8SClientMock) GetVirtualService(namespace string, virtualservice string) (kubernetes.IstioObject, error)
- func (o *K8SClientMock) GetVirtualServices(namespace string, serviceName string) ([]kubernetes.IstioObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8SClientMock ¶
func (*K8SClientMock) FakeAppDetails ¶ added in v0.6.0
func (o *K8SClientMock) FakeAppDetails() kubernetes.AppDetails
func (*K8SClientMock) FakeNamespaceApps ¶ added in v0.6.0
func (o *K8SClientMock) FakeNamespaceApps() kubernetes.NamespaceApps
func (*K8SClientMock) FakeServiceDetails ¶ added in v0.6.0
func (o *K8SClientMock) FakeServiceDetails() *kubernetes.ServiceDetails
func (*K8SClientMock) FakeServiceList ¶ added in v0.6.0
func (o *K8SClientMock) FakeServiceList() *kubernetes.ServiceList
func (*K8SClientMock) GetAppDetails ¶ added in v0.6.0
func (o *K8SClientMock) GetAppDetails(namespace, app string) (kubernetes.AppDetails, error)
func (*K8SClientMock) GetDeployment ¶ added in v0.6.0
func (o *K8SClientMock) GetDeployment(namespace string, deploymentName string) (*v1beta1.Deployment, error)
func (*K8SClientMock) GetDeploymentDetails ¶ added in v0.6.0
func (o *K8SClientMock) GetDeploymentDetails(namespace string, deploymentName string) (*kubernetes.DeploymentDetails, error)
func (*K8SClientMock) GetDeploymentSelector ¶ added in v0.6.0
func (o *K8SClientMock) GetDeploymentSelector(namespace string, deploymentName string) (string, error)
func (*K8SClientMock) GetDeployments ¶ added in v0.6.0
func (o *K8SClientMock) GetDeployments(namespace string) (*v1beta1.DeploymentList, error)
func (*K8SClientMock) GetDestinationRule ¶
func (o *K8SClientMock) GetDestinationRule(namespace string, destinationrule string) (kubernetes.IstioObject, error)
func (*K8SClientMock) GetDestinationRules ¶
func (o *K8SClientMock) GetDestinationRules(namespace string, serviceName string) ([]kubernetes.IstioObject, error)
func (*K8SClientMock) GetFullServices ¶ added in v0.5.0
func (o *K8SClientMock) GetFullServices(namespace string) (*kubernetes.ServiceList, error)
func (*K8SClientMock) GetGateway ¶
func (o *K8SClientMock) GetGateway(namespace string, gateway string) (kubernetes.IstioObject, error)
func (*K8SClientMock) GetGateways ¶
func (o *K8SClientMock) GetGateways(namespace string) ([]kubernetes.IstioObject, error)
func (*K8SClientMock) GetIstioDetails ¶
func (o *K8SClientMock) GetIstioDetails(namespace string, serviceName string) (*kubernetes.IstioDetails, error)
func (*K8SClientMock) GetIstioRuleDetails ¶
func (o *K8SClientMock) GetIstioRuleDetails(namespace string, istiorule string) (*kubernetes.IstioRuleDetails, error)
func (*K8SClientMock) GetIstioRules ¶
func (o *K8SClientMock) GetIstioRules(namespace string) (*kubernetes.IstioRules, error)
func (*K8SClientMock) GetNamespaceAppsDetails ¶ added in v0.6.0
func (o *K8SClientMock) GetNamespaceAppsDetails(namespace string) (kubernetes.NamespaceApps, error)
func (*K8SClientMock) GetNamespacePods ¶
func (o *K8SClientMock) GetNamespacePods(namespace string) (*v1.PodList, error)
func (*K8SClientMock) GetNamespaces ¶
func (o *K8SClientMock) GetNamespaces() (*v1.NamespaceList, error)
func (*K8SClientMock) GetPods ¶
func (o *K8SClientMock) GetPods(namespace, labelSelector string) (*v1.PodList, error)
func (*K8SClientMock) GetQuotaSpec ¶ added in v0.5.0
func (o *K8SClientMock) GetQuotaSpec(namespace string, quotaSpecName string) (kubernetes.IstioObject, error)
func (*K8SClientMock) GetQuotaSpecBinding ¶ added in v0.5.0
func (o *K8SClientMock) GetQuotaSpecBinding(namespace string, quotaSpecBindingName string) (kubernetes.IstioObject, error)
func (*K8SClientMock) GetQuotaSpecBindings ¶ added in v0.5.0
func (o *K8SClientMock) GetQuotaSpecBindings(namespace string) ([]kubernetes.IstioObject, error)
func (*K8SClientMock) GetQuotaSpecs ¶ added in v0.5.0
func (o *K8SClientMock) GetQuotaSpecs(namespace string) ([]kubernetes.IstioObject, error)
func (*K8SClientMock) GetService ¶
func (*K8SClientMock) GetServiceDetails ¶
func (o *K8SClientMock) GetServiceDetails(namespace string, serviceName string) (*kubernetes.ServiceDetails, error)
func (*K8SClientMock) GetServiceEntries ¶ added in v0.5.0
func (o *K8SClientMock) GetServiceEntries(namespace string) ([]kubernetes.IstioObject, error)
func (*K8SClientMock) GetServiceEntry ¶ added in v0.5.0
func (o *K8SClientMock) GetServiceEntry(namespace string, serviceEntryName string) (kubernetes.IstioObject, error)
func (*K8SClientMock) GetServicePods ¶
func (*K8SClientMock) GetServices ¶
func (o *K8SClientMock) GetServices(namespace string) (*v1.ServiceList, error)
func (*K8SClientMock) GetVirtualService ¶
func (o *K8SClientMock) GetVirtualService(namespace string, virtualservice string) (kubernetes.IstioObject, error)
func (*K8SClientMock) GetVirtualServices ¶
func (o *K8SClientMock) GetVirtualServices(namespace string, serviceName string) ([]kubernetes.IstioObject, error)
Click to show internal directories.
Click to hide internal directories.