Namespace certificates API group

This commit is contained in:
Jordan Liggitt
2016-09-01 14:33:14 -04:00
parent a910a597fa
commit a869de61bd
21 changed files with 69 additions and 58 deletions

View File

@@ -16,4 +16,5 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +groupName=certificates.k8s.io
package certificates // import "k8s.io/kubernetes/pkg/apis/certificates"

View File

@@ -28,7 +28,7 @@ var (
)
// GroupName is the group name use in this package
const GroupName = "certificates"
const GroupName = "certificates.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

View File

@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// +groupName=certificates.k8s.io
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/certificates

View File

@@ -24,7 +24,7 @@ import (
)
// GroupName is the group name use in this package
const GroupName = "certificates"
const GroupName = "certificates.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"}