Documentation ¶
Index ¶
- func BuildFakeDependency(namespace string, source string, destinations []string) *admiralApi.Dependency
- func BuildFakeDeployment(name, assetAlias, appName, env, namespace string) *k8sAppsV1.Deployment
- func BuildFakeHeadlessService(name, assetAlias, appName, namespace string) *corev1.Service
- func BuildFakeRollout(name, assetAlias, appName, env, namespace string) *argov1alpha1.Rollout
- func BuildFakeService(name, assetAlias, appName, namespace string) *corev1.Service
- func CreateFakeDependency(client clientset.Interface, namespace string, source string, ...)
- func CreateFakeDeployment(client kubernetes.Interface, name string, appNamePrefix, namespace string, ...)
- func CreateFakeRollout(client argoclientset.Interface, name string, app string, namespace string, ...)
- func CreateFakeService(client kubernetes.Interface, name string, appName string, namespace string)
- func CreateFakeTrafficConfig(client admiralclientset.Interface, assetAlias string, env string, ...)
- func CreateFakeTrafficConfigsInNNamespaceNClusters(client admiralclientset.Interface, trafficConfigNamespace string, ...) map[string]time.Time
- func CreateNFakeDependencies(client clientset.Interface, noOfClusters int, noOfNamespaces int, ...)
- func CreateNFakeDeployments(client kubernetes.Interface, deploymentNamePrefix string, appNamePrefix string, ...)
- func CreateNFakeDeploymentsInNNamespace(client kubernetes.Interface, deploymentNamePrefix string, appNamePrefix string, ...)
- func CreateNFakeRollouts(client argoclientset.Interface, rolloutNamePrefix string, appNamePrefix string, ...)
- func CreateNFakeRolloutsInNNamespace(client argoclientset.Interface, rolloutNamePrefix string, appNamePrefix string, ...)
- func CreateNFakeServices(client kubernetes.Interface, serviceNamePrefix string, appName string, ...)
- func CreateNFakeServicesInNNamespace(client kubernetes.Interface, serviceNamePrefix string, appName string, ...)
- func CreateNRemoteClusterSecret(client kubernetes.Interface, n int, clusterNamePrefix string, namespace string)
- func CreateRemoteClusterSecret(clusterName string, namespace string) *corev1.Secret
- func GetFakeTrafficConfig(assetAlias string, env string, revision string, trafficConfigNamespace string) *admiralv1.TrafficConfig
- func GetPreloadedTrafficConfig() *admiralv1.TrafficConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFakeDependency ¶
func BuildFakeDependency(namespace string, source string, destinations []string) *admiralApi.Dependency
func BuildFakeDeployment ¶
func BuildFakeDeployment(name, assetAlias, appName, env, namespace string) *k8sAppsV1.Deployment
func BuildFakeRollout ¶
func BuildFakeRollout(name, assetAlias, appName, env, namespace string) *argov1alpha1.Rollout
func BuildFakeService ¶
func CreateFakeDependency ¶
func CreateFakeDeployment ¶
func CreateFakeRollout ¶
func CreateFakeService ¶
func CreateFakeService(client kubernetes.Interface, name string, appName string, namespace string)
func CreateFakeTrafficConfig ¶
func CreateNFakeDependencies ¶
func CreateNFakeDeployments ¶
func CreateNFakeRollouts ¶
func CreateNFakeRollouts(client argoclientset.Interface, rolloutNamePrefix string, appNamePrefix string, namespace string, cluster string, env string, noOfrollouts int)
Creates fake rollouts in N number of namespaces, one deployment per namespace.
func CreateNFakeServices ¶
func CreateNRemoteClusterSecret ¶
func CreateNRemoteClusterSecret(client kubernetes.Interface, n int, clusterNamePrefix string, namespace string)
func GetFakeTrafficConfig ¶
func GetPreloadedTrafficConfig ¶
func GetPreloadedTrafficConfig() *admiralv1.TrafficConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.