parent
22f6f0dc9a
commit
2dde14c478
|
@ -1,6 +1,6 @@
|
|||
## How to Contribute
|
||||
|
||||
The Conductor project is under [Apache 2.0 license](LICENSE). We accept contributions via
|
||||
The Crossplane project is under [Apache 2.0 license](LICENSE). We accept contributions via
|
||||
GitHub pull requests. This document outlines some of the conventions related to
|
||||
development workflow, commit message formatting, contact points and other
|
||||
resources to make it easier to get your contribution accepted.
|
||||
|
@ -57,11 +57,11 @@ This is a rough outline of what a contributor's workflow looks like:
|
|||
|
||||
## Building
|
||||
|
||||
Details about building conductor can be found in [INSTALL.md](INSTALL.md).
|
||||
Details about building crossplane can be found in [INSTALL.md](INSTALL.md).
|
||||
|
||||
## Coding Style
|
||||
|
||||
Conductor projects are written in golang and follows the style guidelines dictated by
|
||||
Crossplane projects are written in golang and follows the style guidelines dictated by
|
||||
the go fmt as well as go vet tools.
|
||||
|
||||
## Comments
|
||||
|
@ -72,13 +72,13 @@ be created if they do not yet exist and updated if they do.
|
|||
|
||||
The goal of comments is to make the code more readable and grokkable by future developers. Once you
|
||||
have made your code as understandable as possible, add comments to make sure future developers can
|
||||
understand (A) what this piece of code's responsibility is within Conductor's architecture and (B) why it
|
||||
understand (A) what this piece of code's responsibility is within Crossplane's architecture and (B) why it
|
||||
was written as it was.
|
||||
|
||||
The below blog entry explains more the why's and how's of this guideline.
|
||||
https://blog.codinghorror.com/code-tells-you-how-comments-tell-you-why/
|
||||
|
||||
For Go, Conductor follows standard godoc guidelines.
|
||||
For Go, Crossplane follows standard godoc guidelines.
|
||||
A concise godoc guideline can be found here: https://blog.golang.org/godoc-documenting-go-code
|
||||
|
||||
## Commit Messages
|
||||
|
@ -112,9 +112,9 @@ git tools.
|
|||
## Adding New Resources
|
||||
|
||||
### Project Organization
|
||||
The Conductor project is based on and intially created by using [Kubebuilder is a framework for building Kubernetes APIs](https://github.com/kubernetes-sigs/kubebuilder).
|
||||
The Crossplane project is based on and intially created by using [Kubebuilder is a framework for building Kubernetes APIs](https://github.com/kubernetes-sigs/kubebuilder).
|
||||
|
||||
The Conductor project organizes resources (api types and controllers) by grouping them by Cloud Provider with further sub-group by resource type
|
||||
The Crossplane project organizes resources (api types and controllers) by grouping them by Cloud Provider with further sub-group by resource type
|
||||
|
||||
The Kubebuilder framework does not provide good support for projects with multiple groups and group tiers which contain resources with overlapping names.
|
||||
For example:
|
||||
|
@ -168,7 +168,7 @@ There are several different ways you can approach the creation of the new resour
|
|||
Good ol' copy & paste of existing resource for both apis and controller (if new controller is needed) and update to tailor your needs.
|
||||
|
||||
#### Kubebuilder With New Project
|
||||
Create and Initialize a new (temporary) kubebuilder project and create new resources: apis and controller(s), then copy them into Conductor project following the established project organization.
|
||||
Create and Initialize a new (temporary) kubebuilder project and create new resources: apis and controller(s), then copy them into Crossplane project following the established project organization.
|
||||
|
||||
To verify that new artifacts run:
|
||||
```bash
|
||||
|
|
14
INSTALL.md
14
INSTALL.md
|
@ -1,6 +1,6 @@
|
|||
# Building and Installing Conductor
|
||||
# Building and Installing Crossplane
|
||||
|
||||
Conductor is composed of golang project and can be built directly with standard `golang` tools. We currently support
|
||||
Crossplane is composed of golang project and can be built directly with standard `golang` tools. We currently support
|
||||
two different platforms for building:
|
||||
|
||||
* Linux: most modern distros should work although most testing has been done on Ubuntu
|
||||
|
@ -28,7 +28,7 @@ First ensure that you have the build submodule synced and updated:
|
|||
git submodule sync && git submodule update --init --recursive
|
||||
```
|
||||
|
||||
You can then build the Conductor binaries and all container images for the host platform by simply running the
|
||||
You can then build the Crossplane binaries and all container images for the host platform by simply running the
|
||||
command below. Building in parallel with the `-j` option is recommended.
|
||||
|
||||
```
|
||||
|
@ -39,7 +39,7 @@ Run `make help` for more options.
|
|||
|
||||
## Building inside the cross container
|
||||
|
||||
Official Conductor builds are done inside a build container. This ensures that we get a consistent build, test and release environment. To run the build inside the cross container run:
|
||||
Official Crossplane builds are done inside a build container. This ensures that we get a consistent build, test and release environment. To run the build inside the cross container run:
|
||||
|
||||
```
|
||||
> build/run make -j4
|
||||
|
@ -130,13 +130,13 @@ systemctl enable update-binfmt.service
|
|||
# Install
|
||||
|
||||
## Local
|
||||
Please refer to [Local Build & Install](/cluster/local/README.md) documentation on how to deploy locally built Conductor image onto Kubernetes cluster running on Minikube
|
||||
Please refer to [Local Build & Install](/cluster/local/README.md) documentation on how to deploy locally built Crossplane image onto Kubernetes cluster running on Minikube
|
||||
|
||||
# Improving Build Speed
|
||||
|
||||
## Image Caching and Pruning
|
||||
|
||||
Doing a complete build of Conductor and the dependent packages can take a long time (more than an hour on a typical macbook). To speed things up we rely heavily on image caching in docker. Docker support content-addressable images by default and we use that effectively when building images. Images are factored to increase reusability across builds. We also tag and timestamp images that should remain in the cache to help future builds.
|
||||
Doing a complete build of Crossplane and the dependent packages can take a long time (more than an hour on a typical macbook). To speed things up we rely heavily on image caching in docker. Docker support content-addressable images by default and we use that effectively when building images. Images are factored to increase reusability across builds. We also tag and timestamp images that should remain in the cache to help future builds.
|
||||
|
||||
### Pruning the cache
|
||||
|
||||
|
@ -149,5 +149,5 @@ To prune the number of cached images run `make prune`. There are two options tha
|
|||
Every PR and every merge to master triggers the CI process in [TBD](http://TBD).
|
||||
The Jenkins CI will build, run unit tests, run integration tests and Publish artifacts- On every commit to PR and master.
|
||||
If any of the CI stages fail, then the process is aborted and no artifacts are published.
|
||||
On every successful build Artifacts are pushed to a [s3 bucket](https://release.conductor.io/). On every successful master build,
|
||||
On every successful build Artifacts are pushed to a [s3 bucket](https://release.crossplane.io/). On every successful master build,
|
||||
images are uploaded to docker hub in addition.
|
||||
|
|
2
LICENSE
2
LICENSE
|
@ -186,7 +186,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2016 The Conductor Authors. All rights reserved.
|
||||
Copyright 2016 The Crossplane Authors. All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
16
Makefile
16
Makefile
|
@ -1,8 +1,8 @@
|
|||
# ====================================================================================
|
||||
# Setup Project
|
||||
|
||||
PROJECT_NAME := conductor
|
||||
PROJECT_REPO := github.com/upbound/$(PROJECT_NAME)
|
||||
PROJECT_NAME := crossplane
|
||||
PROJECT_REPO := github.com/crossplaneio/$(PROJECT_NAME)
|
||||
|
||||
PLATFORMS ?= linux_amd64
|
||||
include build/makelib/common.mk
|
||||
|
@ -10,7 +10,7 @@ include build/makelib/common.mk
|
|||
# ====================================================================================
|
||||
# Setup Output
|
||||
|
||||
S3_BUCKET ?= upbound.releases/conductor
|
||||
S3_BUCKET ?= upbound.releases/crossplane
|
||||
include build/makelib/output.mk
|
||||
|
||||
# ====================================================================================
|
||||
|
@ -21,7 +21,7 @@ include build/makelib/output.mk
|
|||
# to half the number of CPU cores.
|
||||
GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 )))
|
||||
|
||||
GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/conductor
|
||||
GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/crossplane
|
||||
GO_LDFLAGS += -X $(GO_PROJECT)/pkg/version.Version=$(VERSION)
|
||||
include build/makelib/golang.mk
|
||||
|
||||
|
@ -30,8 +30,8 @@ include build/makelib/golang.mk
|
|||
|
||||
HELM_BASE_URL = https://charts.upbound.io
|
||||
HELM_S3_BUCKET = upbound.charts
|
||||
HELM_CHARTS = conductor
|
||||
HELM_CHART_LINT_ARGS_conductor = --set nameOverride='',imagePullSecrets=''
|
||||
HELM_CHARTS = crossplane
|
||||
HELM_CHART_LINT_ARGS_crossplane = --set nameOverride='',imagePullSecrets=''
|
||||
include build/makelib/helm.mk
|
||||
|
||||
# ====================================================================================
|
||||
|
@ -43,7 +43,7 @@ include build/makelib/kubebuilder.mk
|
|||
# Setup Images
|
||||
|
||||
DOCKER_REGISTRY = upbound
|
||||
IMAGES = conductor
|
||||
IMAGES = crossplane
|
||||
include build/makelib/image.mk
|
||||
|
||||
# ====================================================================================
|
||||
|
@ -53,4 +53,4 @@ include build/makelib/image.mk
|
|||
|
||||
# Generate manifests e.g. CRD, RBAC etc.
|
||||
manifests:
|
||||
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go crd --output-dir cluster/charts/conductor/crds --nested
|
||||
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go crd --output-dir cluster/charts/crossplane/crds --nested
|
||||
|
|
4
PROJECT
4
PROJECT
|
@ -1,3 +1,3 @@
|
|||
version: "1"
|
||||
domain: conductor.io
|
||||
repo: github.com/upbound/conductor
|
||||
domain: crossplane.io
|
||||
repo: github.com/crossplaneio/crossplane
|
||||
|
|
26
README.md
26
README.md
|
@ -1,14 +1,14 @@
|
|||
# Project Conductor (codename)
|
||||
# Project Crossplane (codename)
|
||||
|
||||
## What is Conductor?
|
||||
## What is Crossplane?
|
||||
|
||||
Conductor is an open source **external-resource-definition** for Kubernetes , providing the platform, framework, and support for a diverse set of the managed resources offered by major cloud providers (Currently focused on AWS and GCP)
|
||||
Crossplane is an open source **external-resource-definition** for Kubernetes , providing the platform, framework, and support for a diverse set of the managed resources offered by major cloud providers (Currently focused on AWS and GCP)
|
||||
|
||||
Conductor turns storage software into self-managing, self-scaling, and self-healing of managed cloud resources. Conductor extends the facilities provided by Kubernetes such container management, scheduling and orchestration to the external resources.
|
||||
Crossplane turns storage software into self-managing, self-scaling, and self-healing of managed cloud resources. Crossplane extends the facilities provided by Kubernetes such container management, scheduling and orchestration to the external resources.
|
||||
|
||||
Conductor integrates deeply into cloud native environments leveraging extension points and providing a seamless experience for scheduling, lifecycle management, resource management, security, monitoring, and user experience.
|
||||
Crossplane integrates deeply into cloud native environments leveraging extension points and providing a seamless experience for scheduling, lifecycle management, resource management, security, monitoring, and user experience.
|
||||
|
||||
For more details about the cloud providers and resources currently supported by Conductor, please refer to the [project status section](#project-status) below.
|
||||
For more details about the cloud providers and resources currently supported by Crossplane, please refer to the [project status section](#project-status) below.
|
||||
We plan to continue adding support for other cloud providers and resource based on community demand and engagement in future releases. See our [roadmap](ROADMAP.md) for more details.
|
||||
|
||||
## Contributing
|
||||
|
@ -17,11 +17,11 @@ We welcome contributions. See [Contributing](CONTRIBUTING.md) to get started.
|
|||
|
||||
## Report a Bug
|
||||
|
||||
For filing bugs, suggesting improvements, or requesting new features, please open an [issue](https://github.com/upbound/conductor/issues).
|
||||
For filing bugs, suggesting improvements, or requesting new features, please open an [issue](https://github.com/crossplaneio/crossplane/issues).
|
||||
|
||||
## Project Status
|
||||
|
||||
The status of each storage provider supported by Conductor can be found in the table below.
|
||||
The status of each storage provider supported by Crossplane can be found in the table below.
|
||||
Each API group is assigned its own individual status to reflect their varying maturity and stability.
|
||||
More details about API versioning and status in Kubernetes can be found on the Kubernetes [API versioning page](https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-versioning), but the key difference between the statuses are summarized below:
|
||||
|
||||
|
@ -32,15 +32,15 @@ More details about API versioning and status in Kubernetes can be found on the K
|
|||
|
||||
| Name | Details | API Group | Status |
|
||||
| ----- | --------- | ----------- | -------- |
|
||||
| AWS Database | Database storage services in AWS | database.aws.conductor.io/v1alpha1 | Alpha |
|
||||
| GCP Database | Database storage services in GCP | database.gcp.conductor.io/v1alpha1 | Alpha |
|
||||
| AWS Database | Database storage services in AWS | database.aws.crossplane.io/v1alpha1 | Alpha |
|
||||
| GCP Database | Database storage services in GCP | database.gcp.crossplane.io/v1alpha1 | Alpha |
|
||||
|
||||
### Official Releases
|
||||
|
||||
Official releases of Conductor can be found on the [releases page](https://github.com/upbound/conductor/releases).
|
||||
Please note that it is **strongly recommended** that you use [official releases](https://github.com/upbound/conductor/releases) of Conductor, as unreleased versions from the master branch are subject to changes and incompatibilities that will not be supported in the official releases.
|
||||
Official releases of Crossplane can be found on the [releases page](https://github.com/crossplaneio/crossplane/releases).
|
||||
Please note that it is **strongly recommended** that you use [official releases](https://github.com/crossplaneio/crossplane/releases) of Crossplane, as unreleased versions from the master branch are subject to changes and incompatibilities that will not be supported in the official releases.
|
||||
Builds from the master branch can have functionality changed and even removed at any time without compatibility support and without prior notice.
|
||||
|
||||
## Licensing
|
||||
|
||||
Conductor is under the Apache 2.0 license.
|
||||
Crossplane is under the Apache 2.0 license.
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Roadmap
|
||||
|
||||
This document defines a high level roadmap for Conductor development and upcoming releases.
|
||||
This document defines a high level roadmap for Crossplane development and upcoming releases.
|
||||
The features and themes included in each milestone are optimistic in the sense that many do not have clear owners yet.
|
||||
Community and contributor involvement is vital for successfully implementing all desired items for each release.
|
||||
We hope that the items listed below will inspire further engagement from the community to keep Conductor progressing and shipping exciting and valuable features.
|
||||
We hope that the items listed below will inspire further engagement from the community to keep Crossplane progressing and shipping exciting and valuable features.
|
||||
|
||||
Any dates listed below and the specific issues that will ship in a given milestone are subject to change but should give a general idea of what we are planning.
|
||||
We use the [milestone](https://github.com/upbound/conductor/milestones) feature in Github so look there for the most up-to-date and issue plan.
|
||||
We use the [milestone](https://github.com/crossplaneio/crossplane/milestones) feature in Github so look there for the most up-to-date and issue plan.
|
||||
|
||||
## v0.1
|
||||
|
||||
|
@ -26,7 +26,7 @@ We use the [milestone](https://github.com/upbound/conductor/milestones) feature
|
|||
* New isolated jenkins instance (similar to Rook's jenkins)
|
||||
* Developer unit testing with high code coverage
|
||||
* Integration testing pipeline
|
||||
* Artifact publishing (container images, conductor helm chart, etc.)
|
||||
* Artifact publishing (container images, crossplane helm chart, etc.)
|
||||
* Documentation
|
||||
* User guides, quick-starts, walkthroughs
|
||||
* Godocs developer docs for source code/packages/libraries
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -21,12 +21,12 @@ limitations under the License.
|
|||
package apis
|
||||
|
||||
import (
|
||||
"github.com/upbound/conductor/pkg/apis/aws"
|
||||
"github.com/upbound/conductor/pkg/apis/azure"
|
||||
"github.com/upbound/conductor/pkg/apis/compute"
|
||||
"github.com/upbound/conductor/pkg/apis/core"
|
||||
"github.com/upbound/conductor/pkg/apis/gcp"
|
||||
"github.com/upbound/conductor/pkg/apis/storage"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/aws"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/azure"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/compute"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/core"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/gcp"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/storage"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -18,9 +18,9 @@ limitations under the License.
|
|||
package aws
|
||||
|
||||
import (
|
||||
compute "github.com/upbound/conductor/pkg/apis/aws/compute/v1alpha1"
|
||||
database "github.com/upbound/conductor/pkg/apis/aws/database/v1alpha1"
|
||||
aws "github.com/upbound/conductor/pkg/apis/aws/v1alpha1"
|
||||
compute "github.com/crossplaneio/crossplane/pkg/apis/aws/compute/v1alpha1"
|
||||
database "github.com/crossplaneio/crossplane/pkg/apis/aws/database/v1alpha1"
|
||||
aws "github.com/crossplaneio/crossplane/pkg/apis/aws/v1alpha1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the compute v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/aws/compute
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/aws/compute
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=compute.aws.conductor.io
|
||||
// +groupName=compute.aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the compute v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/aws/apis/aws/compute
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/aws/apis/aws/compute
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=compute.aws.conductor.io
|
||||
// +groupName=compute.aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "compute.aws.conductor.io"
|
||||
Group = "compute.aws.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
EKSClusterKind = "eksclusters"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,8 +17,8 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/util"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/util"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -21,9 +21,9 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
. "github.com/onsi/gomega"
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/aws/database
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/aws/database
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=database.aws.conductor.io
|
||||
// +groupName=database.aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,8 +20,8 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/util"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/util"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,8 +19,8 @@ package v1alpha1
|
|||
import (
|
||||
"testing"
|
||||
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
. "github.com/onsi/gomega"
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/aws/database
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/aws/database
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=database.aws.conductor.io
|
||||
// +groupName=database.aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "database.aws.conductor.io"
|
||||
Group = "database.aws.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
RDSInstanceKind = "rdsinstance"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,7 +20,7 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
"golang.org/x/net/context"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
"k8s.io/client-go/rest"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,33 +20,33 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
"k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (r *RDSInstance) DeepCopyInto(out *RDSInstance) {
|
||||
*out = *r
|
||||
out.TypeMeta = r.TypeMeta
|
||||
r.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
r.Spec.DeepCopyInto(&out.Spec)
|
||||
r.Status.DeepCopyInto(&out.Status)
|
||||
func (in *RDSInstance) DeepCopyInto(out *RDSInstance) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
in.Status.DeepCopyInto(&out.Status)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSInstance.
|
||||
func (r *RDSInstance) DeepCopy() *RDSInstance {
|
||||
if r == nil {
|
||||
func (in *RDSInstance) DeepCopy() *RDSInstance {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(RDSInstance)
|
||||
r.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (r *RDSInstance) DeepCopyObject() runtime.Object {
|
||||
if c := r.DeepCopy(); c != nil {
|
||||
func (in *RDSInstance) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/aws/storage
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/aws/storage
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=storage.aws.conductor.io
|
||||
// +groupName=storage.aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/aws/storage
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/aws/storage
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=storage.aws.conductor.io
|
||||
// +groupName=storage.aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -31,7 +31,7 @@ import (
|
|||
|
||||
var (
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: "storage.aws.conductor.io", Version: "v1alpha1"}
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: "storage.aws.crossplane.io", Version: "v1alpha1"}
|
||||
|
||||
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
|
||||
SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -34,7 +34,7 @@ var c client.Client
|
|||
func TestMain(m *testing.M) {
|
||||
t := &envtest.Environment{
|
||||
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "..", "..",
|
||||
"cluster", "charts", "conductor", "crds", "aws", "storage", "v1alpha1")},
|
||||
"cluster", "charts", "crossplane", "crds", "aws", "storage", "v1alpha1")},
|
||||
}
|
||||
|
||||
err := SchemeBuilder.AddToScheme(scheme.Scheme)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the aws v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/aws
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/aws
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=aws.conductor.io
|
||||
// +groupName=aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the aws v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/aws/apis/aws
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/aws/apis/aws
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=aws.conductor.io
|
||||
// +groupName=aws.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "aws.conductor.io"
|
||||
Group = "aws.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
ProviderKind = "provider"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,7 +20,7 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
"golang.org/x/net/context"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
"k8s.io/client-go/rest"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -18,8 +18,8 @@ limitations under the License.
|
|||
package azure
|
||||
|
||||
import (
|
||||
databasev1alpha1 "github.com/upbound/conductor/pkg/apis/azure/database/v1alpha1"
|
||||
azure "github.com/upbound/conductor/pkg/apis/azure/v1alpha1"
|
||||
databasev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/azure/database/v1alpha1"
|
||||
azure "github.com/crossplaneio/crossplane/pkg/apis/azure/v1alpha1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/azure/database
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/azure/database
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=database.azure.conductor.io
|
||||
// +groupName=database.azure.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,8 +20,8 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql"
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/util"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/util"
|
||||
"k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,8 +19,8 @@ package v1alpha1
|
|||
import (
|
||||
"testing"
|
||||
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/onsi/gomega"
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/azure/apis/azure/database
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/azure/apis/azure/database
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=database.azure.conductor.io
|
||||
// +groupName=database.azure.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "database.azure.conductor.io"
|
||||
Group = "database.azure.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
MysqlServerKind = "mysqlserver"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -21,7 +21,7 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
"k8s.io/client-go/rest"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,33 +20,33 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
"k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (m *MysqlServer) DeepCopyInto(out *MysqlServer) {
|
||||
*out = *m
|
||||
out.TypeMeta = m.TypeMeta
|
||||
m.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
m.Spec.DeepCopyInto(&out.Spec)
|
||||
m.Status.DeepCopyInto(&out.Status)
|
||||
func (in *MysqlServer) DeepCopyInto(out *MysqlServer) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
in.Status.DeepCopyInto(&out.Status)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlServer.
|
||||
func (m *MysqlServer) DeepCopy() *MysqlServer {
|
||||
if m == nil {
|
||||
func (in *MysqlServer) DeepCopy() *MysqlServer {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(MysqlServer)
|
||||
m.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (m *MysqlServer) DeepCopyObject() runtime.Object {
|
||||
if c := m.DeepCopy(); c != nil {
|
||||
func (in *MysqlServer) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/azure/database
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/azure/database
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=storage.azure.conductor.io
|
||||
// +groupName=storage.azure.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/azure/storage
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/azure/storage
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=storage.azure.conductor.io
|
||||
// +groupName=storage.azure.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -31,7 +31,7 @@ import (
|
|||
|
||||
var (
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: "storage.azure.conductor.io", Version: "v1alpha1"}
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: "storage.azure.crossplane.io", Version: "v1alpha1"}
|
||||
|
||||
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
|
||||
SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -34,7 +34,7 @@ var c client.Client
|
|||
func TestMain(m *testing.M) {
|
||||
t := &envtest.Environment{
|
||||
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "..", "..",
|
||||
"cluster", "charts", "conductor", "crds", "azure", "storage", "v1alpha1")},
|
||||
"cluster", "charts", "crossplane", "crds", "azure", "storage", "v1alpha1")},
|
||||
}
|
||||
|
||||
err := SchemeBuilder.AddToScheme(scheme.Scheme)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the azure v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/azure
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/azure
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=azure.conductor.io
|
||||
// +groupName=azure.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the azure v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/azure/apis/azure
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/azure/apis/azure
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=azure.conductor.io
|
||||
// +groupName=azure.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "azure.conductor.io"
|
||||
Group = "azure.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -21,7 +21,7 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
"k8s.io/client-go/rest"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -18,7 +18,7 @@ limitations under the License.
|
|||
package compute
|
||||
|
||||
import (
|
||||
"github.com/upbound/conductor/pkg/apis/compute/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/compute/v1alpha1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -14,10 +14,10 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Package v1alpha1 contains API Schema definitions for the conductor core v1alpha1 API group
|
||||
// Package v1alpha1 contains API Schema definitions for the crossplane core v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/compute
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/compute
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=compute.conductor.io
|
||||
// +groupName=compute.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -16,12 +16,12 @@ limitations under the License.
|
|||
|
||||
// NOTE: Boilerplate only. Ignore this file.
|
||||
|
||||
// Package v1alpha1 contains API Schema definitions for the conductor core v1alpha1 API group
|
||||
// Package v1alpha1 contains API Schema definitions for the crossplane core v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/compute
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/compute
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=compute.conductor.io
|
||||
// +groupName=compute.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "compute.conductor.io"
|
||||
Group = "compute.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
KubernetesInstanceKind = "kubernetesclusters"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,8 +17,8 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/util"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/util"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
@ -42,7 +42,7 @@ type KubernetesClusterStatus struct {
|
|||
corev1alpha1.BindingStatusPhase
|
||||
// Provisioner is the driver that was used to provision the concrete resource
|
||||
// This is an optionally-prefixed name, like a label key.
|
||||
// For example: "EKScluster.compute.aws.conductor.io/v1alpha1" or "GKECluster.compute.gcp.conductor.io/v1alpha1".
|
||||
// For example: "EKScluster.compute.aws.crossplane.io/v1alpha1" or "GKECluster.compute.gcp.crossplane.io/v1alpha1".
|
||||
Provisioner string `json:"provisioner,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -123,7 +123,7 @@ type WorkloadStatus struct {
|
|||
corev1alpha1.BindingStatusPhase
|
||||
// Provisioner is the driver that was used to provision the concrete resource
|
||||
// This is an optionally-prefixed name, like a label key.
|
||||
// For example: "EKScluster.compute.aws.conductor.io/v1alpha1" or "GKECluster.compute.gcp.conductor.io/v1alpha1".
|
||||
// For example: "EKScluster.compute.aws.crossplane.io/v1alpha1" or "GKECluster.compute.gcp.crossplane.io/v1alpha1".
|
||||
Provisioner string `json:"provisioner,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,8 +20,8 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
. "github.com/onsi/gomega"
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
"golang.org/x/net/context"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -18,7 +18,7 @@ limitations under the License.
|
|||
package core
|
||||
|
||||
import (
|
||||
"github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -14,10 +14,10 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Package v1alpha1 contains API Schema definitions for the conductor core v1alpha1 API group
|
||||
// Package v1alpha1 contains API Schema definitions for the crossplane core v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/core
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/core
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=core.conductor.io
|
||||
// +groupName=core.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -16,12 +16,12 @@ limitations under the License.
|
|||
|
||||
// NOTE: Boilerplate only. Ignore this file.
|
||||
|
||||
// Package v1alpha1 contains API Schema definitions for the conductor core v1alpha1 API group
|
||||
// Package v1alpha1 contains API Schema definitions for the crossplane core v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/core
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/core
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=core.conductor.io
|
||||
// +groupName=core.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "core.conductor.io"
|
||||
Group = "core.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
ResourceClassKind = "resourceclass"
|
||||
APIVersion = Group + "/" + Version
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
"github.com/upbound/conductor/pkg/util"
|
||||
"github.com/crossplaneio/crossplane/pkg/util"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/api/resource"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
@ -62,7 +62,7 @@ type ResourceClass struct {
|
|||
|
||||
// Provisioner is the driver expected to handle this ResourceClass.
|
||||
// This is an optionally-prefixed name, like a label key.
|
||||
// For example: "RDSInstance.database.aws.conductor.io/v1alpha1" or "CloudSQLInstance.database.gcp.conductor.io/v1alpha1".
|
||||
// For example: "RDSInstance.database.aws.crossplane.io/v1alpha1" or "CloudSQLInstance.database.gcp.crossplane.io/v1alpha1".
|
||||
// This value may not be empty.
|
||||
Provisioner string `json:"provisioner"`
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,7 +20,7 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
"golang.org/x/net/context"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
"k8s.io/client-go/rest"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,7 +20,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
|
@ -80,34 +80,34 @@ func (c *ConditionedStatus) DeepCopy() *ConditionedStatus {
|
|||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (r *ResourceClass) DeepCopyInto(out *ResourceClass) {
|
||||
*out = *r
|
||||
out.TypeMeta = r.TypeMeta
|
||||
r.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
if r.Parameters != nil {
|
||||
in, out := &r.Parameters, &out.Parameters
|
||||
func (in *ResourceClass) DeepCopyInto(out *ResourceClass) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
if in.Parameters != nil {
|
||||
in, out := &in.Parameters, &out.Parameters
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
out.ProviderRef = r.ProviderRef
|
||||
out.ProviderRef = in.ProviderRef
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass.
|
||||
func (r *ResourceClass) DeepCopy() *ResourceClass {
|
||||
if r == nil {
|
||||
func (in *ResourceClass) DeepCopy() *ResourceClass {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClass)
|
||||
r.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (r *ResourceClass) DeepCopyObject() runtime.Object {
|
||||
if c := r.DeepCopy(); c != nil {
|
||||
func (in *ResourceClass) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the container v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/gcp/compute
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/gcp/compute
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=compute.gcp.conductor.io
|
||||
// +groupName=compute.gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the container v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/gcp/apis/gcp/compute
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/gcp/apis/gcp/compute
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=compute.gcp.conductor.io
|
||||
// +groupName=compute.gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "compute.gcp.conductor.io"
|
||||
Group = "compute.gcp.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
GKEClusterKind = "gkecluster"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,8 +19,8 @@ package v1alpha1
|
|||
import (
|
||||
"strconv"
|
||||
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/util"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/util"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -21,8 +21,8 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
. "github.com/onsi/gomega"
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,33 +20,33 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
"k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (g *GKECluster) DeepCopyInto(out *GKECluster) {
|
||||
*out = *g
|
||||
out.TypeMeta = g.TypeMeta
|
||||
g.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
g.Spec.DeepCopyInto(&out.Spec)
|
||||
g.Status.DeepCopyInto(&out.Status)
|
||||
func (in *GKECluster) DeepCopyInto(out *GKECluster) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
in.Status.DeepCopyInto(&out.Status)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKECluster.
|
||||
func (g *GKECluster) DeepCopy() *GKECluster {
|
||||
if g == nil {
|
||||
func (in *GKECluster) DeepCopy() *GKECluster {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(GKECluster)
|
||||
g.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (g *GKECluster) DeepCopyObject() runtime.Object {
|
||||
if c := g.DeepCopy(); c != nil {
|
||||
func (in *GKECluster) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,8 +17,8 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/util"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/util"
|
||||
"k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,8 +19,8 @@ package v1alpha1
|
|||
import (
|
||||
"testing"
|
||||
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"github.com/onsi/gomega"
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/gcp/database
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/gcp/database
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=database.gcp.conductor.io
|
||||
// +groupName=database.gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/gcp/apis/gcp/database
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/gcp/apis/gcp/database
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=database.gcp.conductor.io
|
||||
// +groupName=database.gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "database.gcp.conductor.io"
|
||||
Group = "database.gcp.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
CloudsqlInstanceKind = "cloudsqlinstance"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -21,7 +21,7 @@ import (
|
|||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/upbound/conductor/pkg/test"
|
||||
"github.com/crossplaneio/crossplane/pkg/test"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
"k8s.io/client-go/rest"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,33 +20,33 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
"k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (c *CloudsqlInstance) DeepCopyInto(out *CloudsqlInstance) {
|
||||
*out = *c
|
||||
out.TypeMeta = c.TypeMeta
|
||||
c.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
c.Spec.DeepCopyInto(&out.Spec)
|
||||
c.Status.DeepCopyInto(&out.Status)
|
||||
func (in *CloudsqlInstance) DeepCopyInto(out *CloudsqlInstance) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
in.Status.DeepCopyInto(&out.Status)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudsqlInstance.
|
||||
func (c *CloudsqlInstance) DeepCopy() *CloudsqlInstance {
|
||||
if c == nil {
|
||||
func (in *CloudsqlInstance) DeepCopy() *CloudsqlInstance {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(CloudsqlInstance)
|
||||
c.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (c *CloudsqlInstance) DeepCopyObject() runtime.Object {
|
||||
if c := c.DeepCopy(); c != nil {
|
||||
func (in *CloudsqlInstance) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -18,9 +18,9 @@ limitations under the License.
|
|||
package gcp
|
||||
|
||||
import (
|
||||
computev1alpha1 "github.com/upbound/conductor/pkg/apis/gcp/compute/v1alpha1"
|
||||
databasev1alpha1 "github.com/upbound/conductor/pkg/apis/gcp/database/v1alpha1"
|
||||
"github.com/upbound/conductor/pkg/apis/gcp/v1alpha1"
|
||||
computev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/gcp/compute/v1alpha1"
|
||||
databasev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/gcp/database/v1alpha1"
|
||||
"github.com/crossplaneio/crossplane/pkg/apis/gcp/v1alpha1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
"k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/gcp/storage
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/gcp/storage
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=storage.gcp.conductor.io
|
||||
// +groupName=storage.gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/gcp/storage
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/gcp/storage
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=storage.gcp.conductor.io
|
||||
// +groupName=storage.gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -31,7 +31,7 @@ import (
|
|||
|
||||
var (
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: "storage.gcp.conductor.io", Version: "v1alpha1"}
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: "storage.gcp.crossplane.io", Version: "v1alpha1"}
|
||||
|
||||
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
|
||||
SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -34,7 +34,7 @@ var c client.Client
|
|||
func TestMain(m *testing.M) {
|
||||
t := &envtest.Environment{
|
||||
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "..", "..",
|
||||
"cluster", "charts", "conductor", "crds", "gcp", "storage", "v1alpha1")},
|
||||
"cluster", "charts", "crossplane", "crds", "gcp", "storage", "v1alpha1")},
|
||||
}
|
||||
|
||||
err := SchemeBuilder.AddToScheme(scheme.Scheme)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the gcp v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/apis/gcp
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/gcp
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=gcp.conductor.io
|
||||
// +groupName=gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -19,9 +19,9 @@ limitations under the License.
|
|||
// Package v1alpha1 contains API Schema definitions for the gcp v1alpha1 API group
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/upbound/conductor/pkg/gcp/apis/gcp
|
||||
// +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/gcp/apis/gcp
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=gcp.conductor.io
|
||||
// +groupName=gcp.crossplane.io
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Group = "gcp.conductor.io"
|
||||
Group = "gcp.crossplane.io"
|
||||
Version = "v1alpha1"
|
||||
APIVersion = Group + "/" + Version
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1alpha1 "github.com/upbound/conductor/pkg/apis/core/v1alpha1"
|
||||
corev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/core/v1alpha1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2018 The Conductor Authors.
|
||||
Copyright 2018 The Crossplane Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue