v1alpa1->v1beta1

This commit is contained in:
Chao Xu 2015-10-09 15:06:28 -07:00
parent 67f316dd19
commit 347d53ff2e
12 changed files with 12 additions and 12 deletions

View File

@ -29,7 +29,7 @@ func TestGetVersion(t *testing.T) {
},
{
"extensions/v1beta1",
"v1alpha1",
"v1beta1",
},
}
for _, test := range testCases {

View File

@ -136,7 +136,7 @@ func TestVersionRegex(t *testing.T) {
match: true,
},
{
typeName: "v1alpha1.Binding",
typeName: "v1beta1.Binding",
match: true,
},
{

View File

@ -81,7 +81,7 @@ func interfacesFor(version string) (*meta.VersionInterfaces, error) {
switch version {
case "extensions/v1beta1":
return &meta.VersionInterfaces{
Codec: v1alpha1.Codec,
Codec: v1beta1.Codec,
ObjectConvertor: api.Scheme,
MetadataAccessor: accessor,
}, nil

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1alpha1
package v1beta1
import (
"reflect"

View File

@ -16,7 +16,7 @@ limitations under the License.
// DO NOT EDIT. THIS FILE IS AUTO-GENERATED BY $KUBEROOT/hack/update-generated-conversions.sh
package v1alpha1
package v1beta1
import (
reflect "reflect"

View File

@ -16,7 +16,7 @@ limitations under the License.
// DO NOT EDIT. THIS FILE IS AUTO-GENERATED BY $KUBEROOT/hack/update-generated-deep-copies.sh.
package v1alpha1
package v1beta1
import (
time "time"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1alpha1
package v1beta1
import (
"k8s.io/kubernetes/pkg/api"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1alpha1
package v1beta1
import (
"reflect"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1alpha1
package v1beta1
import (
"k8s.io/kubernetes/pkg/api"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1alpha1
package v1beta1
import (
"k8s.io/kubernetes/pkg/api/resource"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1alpha1
package v1beta1
// This file contains a collection of methods that can be used from go-resful to
// generate Swagger API documentation for its models. Please read this PR for more

View File

@ -65,7 +65,7 @@ func TestV1EncodeDecodeStatus(t *testing.T) {
func TestExperimentalEncodeDecodeStatus(t *testing.T) {
// TODO: caesarxuchao: use the testapi.Experimental.Codec() once the PR that
// moves experimental from v1 to v1alpha1 got merged.
// moves experimental from v1 to v1beta1 got merged.
// expCodec := testapi.Experimental.Codec()
expCodec := runtime.CodecFor(api.Scheme, "extensions/v1beta1")
encoded, err := expCodec.Encode(status)