mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 03:38:15 +00:00 
			
		
		
		
	add generated federation clientsets for batch/Job
This commit is contained in:
		@@ -17,6 +17,7 @@ go_library(
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//federation/apis/federation/install:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/batch/v1:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/core/v1:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/extensions/v1beta1:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/federation/v1beta1:go_default_library",
 | 
			
		||||
 
 | 
			
		||||
@@ -18,6 +18,7 @@ package federation_clientset
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/golang/glog"
 | 
			
		||||
	v1batch "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/batch/v1"
 | 
			
		||||
	v1core "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/core/v1"
 | 
			
		||||
	v1beta1extensions "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/extensions/v1beta1"
 | 
			
		||||
	v1beta1federation "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/federation/v1beta1"
 | 
			
		||||
@@ -32,6 +33,9 @@ type Interface interface {
 | 
			
		||||
	CoreV1() v1core.CoreV1Interface
 | 
			
		||||
	// Deprecated: please explicitly pick a version if possible.
 | 
			
		||||
	Core() v1core.CoreV1Interface
 | 
			
		||||
	BatchV1() v1batch.BatchV1Interface
 | 
			
		||||
	// Deprecated: please explicitly pick a version if possible.
 | 
			
		||||
	Batch() v1batch.BatchV1Interface
 | 
			
		||||
	ExtensionsV1beta1() v1beta1extensions.ExtensionsV1beta1Interface
 | 
			
		||||
	// Deprecated: please explicitly pick a version if possible.
 | 
			
		||||
	Extensions() v1beta1extensions.ExtensionsV1beta1Interface
 | 
			
		||||
@@ -45,6 +49,7 @@ type Interface interface {
 | 
			
		||||
type Clientset struct {
 | 
			
		||||
	*discovery.DiscoveryClient
 | 
			
		||||
	*v1core.CoreV1Client
 | 
			
		||||
	*v1batch.BatchV1Client
 | 
			
		||||
	*v1beta1extensions.ExtensionsV1beta1Client
 | 
			
		||||
	*v1beta1federation.FederationV1beta1Client
 | 
			
		||||
}
 | 
			
		||||
@@ -66,6 +71,23 @@ func (c *Clientset) Core() v1core.CoreV1Interface {
 | 
			
		||||
	return c.CoreV1Client
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BatchV1 retrieves the BatchV1Client
 | 
			
		||||
func (c *Clientset) BatchV1() v1batch.BatchV1Interface {
 | 
			
		||||
	if c == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	return c.BatchV1Client
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Batch retrieves the default version of BatchClient.
 | 
			
		||||
// Please explicitly pick a version.
 | 
			
		||||
func (c *Clientset) Batch() v1batch.BatchV1Interface {
 | 
			
		||||
	if c == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	return c.BatchV1Client
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ExtensionsV1beta1 retrieves the ExtensionsV1beta1Client
 | 
			
		||||
func (c *Clientset) ExtensionsV1beta1() v1beta1extensions.ExtensionsV1beta1Interface {
 | 
			
		||||
	if c == nil {
 | 
			
		||||
@@ -117,6 +139,10 @@ func NewForConfig(c *restclient.Config) (*Clientset, error) {
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	clientset.BatchV1Client, err = v1batch.NewForConfig(&configShallowCopy)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	clientset.ExtensionsV1beta1Client, err = v1beta1extensions.NewForConfig(&configShallowCopy)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
@@ -139,6 +165,7 @@ func NewForConfig(c *restclient.Config) (*Clientset, error) {
 | 
			
		||||
func NewForConfigOrDie(c *restclient.Config) *Clientset {
 | 
			
		||||
	var clientset Clientset
 | 
			
		||||
	clientset.CoreV1Client = v1core.NewForConfigOrDie(c)
 | 
			
		||||
	clientset.BatchV1Client = v1batch.NewForConfigOrDie(c)
 | 
			
		||||
	clientset.ExtensionsV1beta1Client = v1beta1extensions.NewForConfigOrDie(c)
 | 
			
		||||
	clientset.FederationV1beta1Client = v1beta1federation.NewForConfigOrDie(c)
 | 
			
		||||
 | 
			
		||||
@@ -150,6 +177,7 @@ func NewForConfigOrDie(c *restclient.Config) *Clientset {
 | 
			
		||||
func New(c restclient.Interface) *Clientset {
 | 
			
		||||
	var clientset Clientset
 | 
			
		||||
	clientset.CoreV1Client = v1core.New(c)
 | 
			
		||||
	clientset.BatchV1Client = v1batch.New(c)
 | 
			
		||||
	clientset.ExtensionsV1beta1Client = v1beta1extensions.New(c)
 | 
			
		||||
	clientset.FederationV1beta1Client = v1beta1federation.New(c)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated clientset.
 | 
			
		||||
package federation_clientset
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,8 @@ go_library(
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/batch/v1:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/batch/v1/fake:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/core/v1:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/core/v1/fake:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/extensions/v1beta1:go_default_library",
 | 
			
		||||
 
 | 
			
		||||
@@ -18,6 +18,8 @@ package fake
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	clientset "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset"
 | 
			
		||||
	v1batch "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/batch/v1"
 | 
			
		||||
	fakev1batch "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/batch/v1/fake"
 | 
			
		||||
	v1core "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/core/v1"
 | 
			
		||||
	fakev1core "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/core/v1/fake"
 | 
			
		||||
	v1beta1extensions "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/extensions/v1beta1"
 | 
			
		||||
@@ -76,6 +78,16 @@ func (c *Clientset) Core() v1core.CoreV1Interface {
 | 
			
		||||
	return &fakev1core.FakeCoreV1{Fake: &c.Fake}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BatchV1 retrieves the BatchV1Client
 | 
			
		||||
func (c *Clientset) BatchV1() v1batch.BatchV1Interface {
 | 
			
		||||
	return &fakev1batch.FakeBatchV1{Fake: &c.Fake}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Batch retrieves the BatchV1Client
 | 
			
		||||
func (c *Clientset) Batch() v1batch.BatchV1Interface {
 | 
			
		||||
	return &fakev1batch.FakeBatchV1{Fake: &c.Fake}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ExtensionsV1beta1 retrieves the ExtensionsV1beta1Client
 | 
			
		||||
func (c *Clientset) ExtensionsV1beta1() v1beta1extensions.ExtensionsV1beta1Interface {
 | 
			
		||||
	return &fakev1beta1extensions.FakeExtensionsV1beta1{Fake: &c.Fake}
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated fake clientset.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,30 @@
 | 
			
		||||
package(default_visibility = ["//visibility:public"])
 | 
			
		||||
 | 
			
		||||
licenses(["notice"])
 | 
			
		||||
 | 
			
		||||
load(
 | 
			
		||||
    "@io_bazel_rules_go//go:def.bzl",
 | 
			
		||||
    "go_library",
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
go_library(
 | 
			
		||||
    name = "go_default_library",
 | 
			
		||||
    srcs = [
 | 
			
		||||
        "batch_client.go",
 | 
			
		||||
        "doc.go",
 | 
			
		||||
        "generated_expansion.go",
 | 
			
		||||
        "job.go",
 | 
			
		||||
    ],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//pkg/api:go_default_library",
 | 
			
		||||
        "//pkg/api/v1:go_default_library",
 | 
			
		||||
        "//pkg/apimachinery/registered:go_default_library",
 | 
			
		||||
        "//pkg/apis/batch/v1:go_default_library",
 | 
			
		||||
        "//pkg/apis/meta/v1:go_default_library",
 | 
			
		||||
        "//pkg/client/restclient:go_default_library",
 | 
			
		||||
        "//pkg/runtime/schema:go_default_library",
 | 
			
		||||
        "//pkg/runtime/serializer:go_default_library",
 | 
			
		||||
        "//pkg/watch:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
@@ -0,0 +1,98 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package v1
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	fmt "fmt"
 | 
			
		||||
	api "k8s.io/kubernetes/pkg/api"
 | 
			
		||||
	registered "k8s.io/kubernetes/pkg/apimachinery/registered"
 | 
			
		||||
	restclient "k8s.io/kubernetes/pkg/client/restclient"
 | 
			
		||||
	schema "k8s.io/kubernetes/pkg/runtime/schema"
 | 
			
		||||
	serializer "k8s.io/kubernetes/pkg/runtime/serializer"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type BatchV1Interface interface {
 | 
			
		||||
	RESTClient() restclient.Interface
 | 
			
		||||
	JobsGetter
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BatchV1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group.
 | 
			
		||||
type BatchV1Client struct {
 | 
			
		||||
	restClient restclient.Interface
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *BatchV1Client) Jobs(namespace string) JobInterface {
 | 
			
		||||
	return newJobs(c, namespace)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NewForConfig creates a new BatchV1Client for the given config.
 | 
			
		||||
func NewForConfig(c *restclient.Config) (*BatchV1Client, error) {
 | 
			
		||||
	config := *c
 | 
			
		||||
	if err := setConfigDefaults(&config); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	client, err := restclient.RESTClientFor(&config)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return &BatchV1Client{client}, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NewForConfigOrDie creates a new BatchV1Client for the given config and
 | 
			
		||||
// panics if there is an error in the config.
 | 
			
		||||
func NewForConfigOrDie(c *restclient.Config) *BatchV1Client {
 | 
			
		||||
	client, err := NewForConfig(c)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		panic(err)
 | 
			
		||||
	}
 | 
			
		||||
	return client
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// New creates a new BatchV1Client for the given RESTClient.
 | 
			
		||||
func New(c restclient.Interface) *BatchV1Client {
 | 
			
		||||
	return &BatchV1Client{c}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func setConfigDefaults(config *restclient.Config) error {
 | 
			
		||||
	gv, err := schema.ParseGroupVersion("batch/v1")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return err
 | 
			
		||||
	}
 | 
			
		||||
	// if batch/v1 is not enabled, return an error
 | 
			
		||||
	if !registered.IsEnabledVersion(gv) {
 | 
			
		||||
		return fmt.Errorf("batch/v1 is not enabled")
 | 
			
		||||
	}
 | 
			
		||||
	config.APIPath = "/apis"
 | 
			
		||||
	if config.UserAgent == "" {
 | 
			
		||||
		config.UserAgent = restclient.DefaultKubernetesUserAgent()
 | 
			
		||||
	}
 | 
			
		||||
	copyGroupVersion := gv
 | 
			
		||||
	config.GroupVersion = ©GroupVersion
 | 
			
		||||
 | 
			
		||||
	config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: api.Codecs}
 | 
			
		||||
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// RESTClient returns a RESTClient that is used to communicate
 | 
			
		||||
// with API server by this client implementation.
 | 
			
		||||
func (c *BatchV1Client) RESTClient() restclient.Interface {
 | 
			
		||||
	if c == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	return c.restClient
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,20 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package v1
 | 
			
		||||
@@ -0,0 +1,30 @@
 | 
			
		||||
package(default_visibility = ["//visibility:public"])
 | 
			
		||||
 | 
			
		||||
licenses(["notice"])
 | 
			
		||||
 | 
			
		||||
load(
 | 
			
		||||
    "@io_bazel_rules_go//go:def.bzl",
 | 
			
		||||
    "go_library",
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
go_library(
 | 
			
		||||
    name = "go_default_library",
 | 
			
		||||
    srcs = [
 | 
			
		||||
        "doc.go",
 | 
			
		||||
        "fake_batch_client.go",
 | 
			
		||||
        "fake_job.go",
 | 
			
		||||
    ],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//federation/client/clientset_generated/federation_clientset/typed/batch/v1:go_default_library",
 | 
			
		||||
        "//pkg/api:go_default_library",
 | 
			
		||||
        "//pkg/api/v1:go_default_library",
 | 
			
		||||
        "//pkg/apis/batch/v1:go_default_library",
 | 
			
		||||
        "//pkg/apis/meta/v1:go_default_library",
 | 
			
		||||
        "//pkg/client/restclient:go_default_library",
 | 
			
		||||
        "//pkg/client/testing/core:go_default_library",
 | 
			
		||||
        "//pkg/labels:go_default_library",
 | 
			
		||||
        "//pkg/runtime/schema:go_default_library",
 | 
			
		||||
        "//pkg/watch:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
@@ -0,0 +1,20 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package fake
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	v1 "k8s.io/kubernetes/federation/client/clientset_generated/federation_clientset/typed/batch/v1"
 | 
			
		||||
	restclient "k8s.io/kubernetes/pkg/client/restclient"
 | 
			
		||||
	core "k8s.io/kubernetes/pkg/client/testing/core"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type FakeBatchV1 struct {
 | 
			
		||||
	*core.Fake
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeBatchV1) Jobs(namespace string) v1.JobInterface {
 | 
			
		||||
	return &FakeJobs{c, namespace}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// RESTClient returns a RESTClient that is used to communicate
 | 
			
		||||
// with API server by this client implementation.
 | 
			
		||||
func (c *FakeBatchV1) RESTClient() restclient.Interface {
 | 
			
		||||
	var ret *restclient.RESTClient
 | 
			
		||||
	return ret
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,129 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package fake
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	api "k8s.io/kubernetes/pkg/api"
 | 
			
		||||
	api_v1 "k8s.io/kubernetes/pkg/api/v1"
 | 
			
		||||
	v1 "k8s.io/kubernetes/pkg/apis/batch/v1"
 | 
			
		||||
	meta_v1 "k8s.io/kubernetes/pkg/apis/meta/v1"
 | 
			
		||||
	core "k8s.io/kubernetes/pkg/client/testing/core"
 | 
			
		||||
	labels "k8s.io/kubernetes/pkg/labels"
 | 
			
		||||
	schema "k8s.io/kubernetes/pkg/runtime/schema"
 | 
			
		||||
	watch "k8s.io/kubernetes/pkg/watch"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// FakeJobs implements JobInterface
 | 
			
		||||
type FakeJobs struct {
 | 
			
		||||
	Fake *FakeBatchV1
 | 
			
		||||
	ns   string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var jobsResource = schema.GroupVersionResource{Group: "batch", Version: "v1", Resource: "jobs"}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Create(job *v1.Job) (result *v1.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewCreateAction(jobsResource, c.ns, job), &v1.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*v1.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Update(job *v1.Job) (result *v1.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewUpdateAction(jobsResource, c.ns, job), &v1.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*v1.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) UpdateStatus(job *v1.Job) (*v1.Job, error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewUpdateSubresourceAction(jobsResource, "status", c.ns, job), &v1.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*v1.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Delete(name string, options *api_v1.DeleteOptions) error {
 | 
			
		||||
	_, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewDeleteAction(jobsResource, c.ns, name), &v1.Job{})
 | 
			
		||||
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error {
 | 
			
		||||
	action := core.NewDeleteCollectionAction(jobsResource, c.ns, listOptions)
 | 
			
		||||
 | 
			
		||||
	_, err := c.Fake.Invokes(action, &v1.JobList{})
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Get(name string, options meta_v1.GetOptions) (result *v1.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewGetAction(jobsResource, c.ns, name), &v1.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*v1.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) List(opts api_v1.ListOptions) (result *v1.JobList, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewListAction(jobsResource, c.ns, opts), &v1.JobList{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	label, _, _ := core.ExtractFromListOptions(opts)
 | 
			
		||||
	if label == nil {
 | 
			
		||||
		label = labels.Everything()
 | 
			
		||||
	}
 | 
			
		||||
	list := &v1.JobList{}
 | 
			
		||||
	for _, item := range obj.(*v1.JobList).Items {
 | 
			
		||||
		if label.Matches(labels.Set(item.Labels)) {
 | 
			
		||||
			list.Items = append(list.Items, item)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return list, err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Watch returns a watch.Interface that watches the requested jobs.
 | 
			
		||||
func (c *FakeJobs) Watch(opts api_v1.ListOptions) (watch.Interface, error) {
 | 
			
		||||
	return c.Fake.
 | 
			
		||||
		InvokesWatch(core.NewWatchAction(jobsResource, c.ns, opts))
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Patch applies the patch and returns the patched job.
 | 
			
		||||
func (c *FakeJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewPatchSubresourceAction(jobsResource, c.ns, name, data, subresources...), &v1.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*v1.Job), err
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package v1
 | 
			
		||||
 | 
			
		||||
type JobExpansion interface{}
 | 
			
		||||
@@ -0,0 +1,172 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package v1
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	api "k8s.io/kubernetes/pkg/api"
 | 
			
		||||
	api_v1 "k8s.io/kubernetes/pkg/api/v1"
 | 
			
		||||
	v1 "k8s.io/kubernetes/pkg/apis/batch/v1"
 | 
			
		||||
	meta_v1 "k8s.io/kubernetes/pkg/apis/meta/v1"
 | 
			
		||||
	restclient "k8s.io/kubernetes/pkg/client/restclient"
 | 
			
		||||
	watch "k8s.io/kubernetes/pkg/watch"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// JobsGetter has a method to return a JobInterface.
 | 
			
		||||
// A group's client should implement this interface.
 | 
			
		||||
type JobsGetter interface {
 | 
			
		||||
	Jobs(namespace string) JobInterface
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// JobInterface has methods to work with Job resources.
 | 
			
		||||
type JobInterface interface {
 | 
			
		||||
	Create(*v1.Job) (*v1.Job, error)
 | 
			
		||||
	Update(*v1.Job) (*v1.Job, error)
 | 
			
		||||
	UpdateStatus(*v1.Job) (*v1.Job, error)
 | 
			
		||||
	Delete(name string, options *api_v1.DeleteOptions) error
 | 
			
		||||
	DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
 | 
			
		||||
	Get(name string, options meta_v1.GetOptions) (*v1.Job, error)
 | 
			
		||||
	List(opts api_v1.ListOptions) (*v1.JobList, error)
 | 
			
		||||
	Watch(opts api_v1.ListOptions) (watch.Interface, error)
 | 
			
		||||
	Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Job, err error)
 | 
			
		||||
	JobExpansion
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// jobs implements JobInterface
 | 
			
		||||
type jobs struct {
 | 
			
		||||
	client restclient.Interface
 | 
			
		||||
	ns     string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// newJobs returns a Jobs
 | 
			
		||||
func newJobs(c *BatchV1Client, namespace string) *jobs {
 | 
			
		||||
	return &jobs{
 | 
			
		||||
		client: c.RESTClient(),
 | 
			
		||||
		ns:     namespace,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Create takes the representation of a job and creates it.  Returns the server's representation of the job, and an error, if there is any.
 | 
			
		||||
func (c *jobs) Create(job *v1.Job) (result *v1.Job, err error) {
 | 
			
		||||
	result = &v1.Job{}
 | 
			
		||||
	err = c.client.Post().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Body(job).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Update takes the representation of a job and updates it. Returns the server's representation of the job, and an error, if there is any.
 | 
			
		||||
func (c *jobs) Update(job *v1.Job) (result *v1.Job, err error) {
 | 
			
		||||
	result = &v1.Job{}
 | 
			
		||||
	err = c.client.Put().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(job.Name).
 | 
			
		||||
		Body(job).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// UpdateStatus was generated because the type contains a Status member.
 | 
			
		||||
// Add a +genclientstatus=false comment above the type to avoid generating UpdateStatus().
 | 
			
		||||
 | 
			
		||||
func (c *jobs) UpdateStatus(job *v1.Job) (result *v1.Job, err error) {
 | 
			
		||||
	result = &v1.Job{}
 | 
			
		||||
	err = c.client.Put().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(job.Name).
 | 
			
		||||
		SubResource("status").
 | 
			
		||||
		Body(job).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Delete takes name of the job and deletes it. Returns an error if one occurs.
 | 
			
		||||
func (c *jobs) Delete(name string, options *api_v1.DeleteOptions) error {
 | 
			
		||||
	return c.client.Delete().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(name).
 | 
			
		||||
		Body(options).
 | 
			
		||||
		Do().
 | 
			
		||||
		Error()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeleteCollection deletes a collection of objects.
 | 
			
		||||
func (c *jobs) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error {
 | 
			
		||||
	return c.client.Delete().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		VersionedParams(&listOptions, api.ParameterCodec).
 | 
			
		||||
		Body(options).
 | 
			
		||||
		Do().
 | 
			
		||||
		Error()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Get takes name of the job, and returns the corresponding job object, and an error if there is any.
 | 
			
		||||
func (c *jobs) Get(name string, options meta_v1.GetOptions) (result *v1.Job, err error) {
 | 
			
		||||
	result = &v1.Job{}
 | 
			
		||||
	err = c.client.Get().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(name).
 | 
			
		||||
		VersionedParams(&options, api.ParameterCodec).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// List takes label and field selectors, and returns the list of Jobs that match those selectors.
 | 
			
		||||
func (c *jobs) List(opts api_v1.ListOptions) (result *v1.JobList, err error) {
 | 
			
		||||
	result = &v1.JobList{}
 | 
			
		||||
	err = c.client.Get().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		VersionedParams(&opts, api.ParameterCodec).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Watch returns a watch.Interface that watches the requested jobs.
 | 
			
		||||
func (c *jobs) Watch(opts api_v1.ListOptions) (watch.Interface, error) {
 | 
			
		||||
	return c.client.Get().
 | 
			
		||||
		Prefix("watch").
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		VersionedParams(&opts, api.ParameterCodec).
 | 
			
		||||
		Watch()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Patch applies the patch and returns the patched job.
 | 
			
		||||
func (c *jobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Job, err error) {
 | 
			
		||||
	result = &v1.Job{}
 | 
			
		||||
	err = c.client.Patch(pt).
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		SubResource(subresources...).
 | 
			
		||||
		Name(name).
 | 
			
		||||
		Body(data).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package v1
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package v1beta1
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package v1beta1
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_clientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/v1/Service,api/v1/Namespace,extensions/v1beta1/ReplicaSet,api/v1/Secret,extensions/v1beta1/Ingress,extensions/v1beta1/Deployment,extensions/v1beta1/DaemonSet,api/v1/ConfigMap,api/v1/Event,batch/v1/Job] --input=[../../federation/apis/federation/v1beta1,api/v1,extensions/v1beta1,batch/v1]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,7 @@ go_library(
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//federation/apis/federation/install:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/core/internalversion:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/extensions/internalversion:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/federation/internalversion:go_default_library",
 | 
			
		||||
 
 | 
			
		||||
@@ -18,6 +18,7 @@ package federation_internalclientset
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/golang/glog"
 | 
			
		||||
	internalversionbatch "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion"
 | 
			
		||||
	internalversioncore "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/core/internalversion"
 | 
			
		||||
	internalversionextensions "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/extensions/internalversion"
 | 
			
		||||
	internalversionfederation "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/federation/internalversion"
 | 
			
		||||
@@ -31,6 +32,8 @@ type Interface interface {
 | 
			
		||||
	Discovery() discovery.DiscoveryInterface
 | 
			
		||||
	Core() internalversioncore.CoreInterface
 | 
			
		||||
 | 
			
		||||
	Batch() internalversionbatch.BatchInterface
 | 
			
		||||
 | 
			
		||||
	Extensions() internalversionextensions.ExtensionsInterface
 | 
			
		||||
 | 
			
		||||
	Federation() internalversionfederation.FederationInterface
 | 
			
		||||
@@ -41,6 +44,7 @@ type Interface interface {
 | 
			
		||||
type Clientset struct {
 | 
			
		||||
	*discovery.DiscoveryClient
 | 
			
		||||
	*internalversioncore.CoreClient
 | 
			
		||||
	*internalversionbatch.BatchClient
 | 
			
		||||
	*internalversionextensions.ExtensionsClient
 | 
			
		||||
	*internalversionfederation.FederationClient
 | 
			
		||||
}
 | 
			
		||||
@@ -53,6 +57,14 @@ func (c *Clientset) Core() internalversioncore.CoreInterface {
 | 
			
		||||
	return c.CoreClient
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Batch retrieves the BatchClient
 | 
			
		||||
func (c *Clientset) Batch() internalversionbatch.BatchInterface {
 | 
			
		||||
	if c == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	return c.BatchClient
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Extensions retrieves the ExtensionsClient
 | 
			
		||||
func (c *Clientset) Extensions() internalversionextensions.ExtensionsInterface {
 | 
			
		||||
	if c == nil {
 | 
			
		||||
@@ -86,6 +98,10 @@ func NewForConfig(c *restclient.Config) (*Clientset, error) {
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	clientset.BatchClient, err = internalversionbatch.NewForConfig(&configShallowCopy)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	clientset.ExtensionsClient, err = internalversionextensions.NewForConfig(&configShallowCopy)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
@@ -108,6 +124,7 @@ func NewForConfig(c *restclient.Config) (*Clientset, error) {
 | 
			
		||||
func NewForConfigOrDie(c *restclient.Config) *Clientset {
 | 
			
		||||
	var clientset Clientset
 | 
			
		||||
	clientset.CoreClient = internalversioncore.NewForConfigOrDie(c)
 | 
			
		||||
	clientset.BatchClient = internalversionbatch.NewForConfigOrDie(c)
 | 
			
		||||
	clientset.ExtensionsClient = internalversionextensions.NewForConfigOrDie(c)
 | 
			
		||||
	clientset.FederationClient = internalversionfederation.NewForConfigOrDie(c)
 | 
			
		||||
 | 
			
		||||
@@ -119,6 +136,7 @@ func NewForConfigOrDie(c *restclient.Config) *Clientset {
 | 
			
		||||
func New(c restclient.Interface) *Clientset {
 | 
			
		||||
	var clientset Clientset
 | 
			
		||||
	clientset.CoreClient = internalversioncore.New(c)
 | 
			
		||||
	clientset.BatchClient = internalversionbatch.New(c)
 | 
			
		||||
	clientset.ExtensionsClient = internalversionextensions.New(c)
 | 
			
		||||
	clientset.FederationClient = internalversionfederation.New(c)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated clientset.
 | 
			
		||||
package federation_internalclientset
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,8 @@ go_library(
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion/fake:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/core/internalversion:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/core/internalversion/fake:go_default_library",
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/extensions/internalversion:go_default_library",
 | 
			
		||||
 
 | 
			
		||||
@@ -18,6 +18,8 @@ package fake
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	clientset "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset"
 | 
			
		||||
	internalversionbatch "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion"
 | 
			
		||||
	fakeinternalversionbatch "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion/fake"
 | 
			
		||||
	internalversioncore "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/core/internalversion"
 | 
			
		||||
	fakeinternalversioncore "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/core/internalversion/fake"
 | 
			
		||||
	internalversionextensions "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/extensions/internalversion"
 | 
			
		||||
@@ -71,6 +73,11 @@ func (c *Clientset) Core() internalversioncore.CoreInterface {
 | 
			
		||||
	return &fakeinternalversioncore.FakeCore{Fake: &c.Fake}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Batch retrieves the BatchClient
 | 
			
		||||
func (c *Clientset) Batch() internalversionbatch.BatchInterface {
 | 
			
		||||
	return &fakeinternalversionbatch.FakeBatch{Fake: &c.Fake}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Extensions retrieves the ExtensionsClient
 | 
			
		||||
func (c *Clientset) Extensions() internalversionextensions.ExtensionsInterface {
 | 
			
		||||
	return &fakeinternalversionextensions.FakeExtensions{Fake: &c.Fake}
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated fake clientset.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,27 @@
 | 
			
		||||
package(default_visibility = ["//visibility:public"])
 | 
			
		||||
 | 
			
		||||
licenses(["notice"])
 | 
			
		||||
 | 
			
		||||
load(
 | 
			
		||||
    "@io_bazel_rules_go//go:def.bzl",
 | 
			
		||||
    "go_library",
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
go_library(
 | 
			
		||||
    name = "go_default_library",
 | 
			
		||||
    srcs = [
 | 
			
		||||
        "batch_client.go",
 | 
			
		||||
        "doc.go",
 | 
			
		||||
        "generated_expansion.go",
 | 
			
		||||
        "job.go",
 | 
			
		||||
    ],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//pkg/api:go_default_library",
 | 
			
		||||
        "//pkg/apimachinery/registered:go_default_library",
 | 
			
		||||
        "//pkg/apis/batch:go_default_library",
 | 
			
		||||
        "//pkg/apis/meta/v1:go_default_library",
 | 
			
		||||
        "//pkg/client/restclient:go_default_library",
 | 
			
		||||
        "//pkg/watch:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
@@ -0,0 +1,99 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package internalversion
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	api "k8s.io/kubernetes/pkg/api"
 | 
			
		||||
	registered "k8s.io/kubernetes/pkg/apimachinery/registered"
 | 
			
		||||
	restclient "k8s.io/kubernetes/pkg/client/restclient"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type BatchInterface interface {
 | 
			
		||||
	RESTClient() restclient.Interface
 | 
			
		||||
	JobsGetter
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BatchClient is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group.
 | 
			
		||||
type BatchClient struct {
 | 
			
		||||
	restClient restclient.Interface
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *BatchClient) Jobs(namespace string) JobInterface {
 | 
			
		||||
	return newJobs(c, namespace)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NewForConfig creates a new BatchClient for the given config.
 | 
			
		||||
func NewForConfig(c *restclient.Config) (*BatchClient, error) {
 | 
			
		||||
	config := *c
 | 
			
		||||
	if err := setConfigDefaults(&config); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	client, err := restclient.RESTClientFor(&config)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return &BatchClient{client}, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NewForConfigOrDie creates a new BatchClient for the given config and
 | 
			
		||||
// panics if there is an error in the config.
 | 
			
		||||
func NewForConfigOrDie(c *restclient.Config) *BatchClient {
 | 
			
		||||
	client, err := NewForConfig(c)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		panic(err)
 | 
			
		||||
	}
 | 
			
		||||
	return client
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// New creates a new BatchClient for the given RESTClient.
 | 
			
		||||
func New(c restclient.Interface) *BatchClient {
 | 
			
		||||
	return &BatchClient{c}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func setConfigDefaults(config *restclient.Config) error {
 | 
			
		||||
	// if batch group is not registered, return an error
 | 
			
		||||
	g, err := registered.Group("batch")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return err
 | 
			
		||||
	}
 | 
			
		||||
	config.APIPath = "/apis"
 | 
			
		||||
	if config.UserAgent == "" {
 | 
			
		||||
		config.UserAgent = restclient.DefaultKubernetesUserAgent()
 | 
			
		||||
	}
 | 
			
		||||
	if config.GroupVersion == nil || config.GroupVersion.Group != g.GroupVersion.Group {
 | 
			
		||||
		copyGroupVersion := g.GroupVersion
 | 
			
		||||
		config.GroupVersion = ©GroupVersion
 | 
			
		||||
	}
 | 
			
		||||
	config.NegotiatedSerializer = api.Codecs
 | 
			
		||||
 | 
			
		||||
	if config.QPS == 0 {
 | 
			
		||||
		config.QPS = 5
 | 
			
		||||
	}
 | 
			
		||||
	if config.Burst == 0 {
 | 
			
		||||
		config.Burst = 10
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// RESTClient returns a RESTClient that is used to communicate
 | 
			
		||||
// with API server by this client implementation.
 | 
			
		||||
func (c *BatchClient) RESTClient() restclient.Interface {
 | 
			
		||||
	if c == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	return c.restClient
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,20 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package internalversion
 | 
			
		||||
@@ -0,0 +1,29 @@
 | 
			
		||||
package(default_visibility = ["//visibility:public"])
 | 
			
		||||
 | 
			
		||||
licenses(["notice"])
 | 
			
		||||
 | 
			
		||||
load(
 | 
			
		||||
    "@io_bazel_rules_go//go:def.bzl",
 | 
			
		||||
    "go_library",
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
go_library(
 | 
			
		||||
    name = "go_default_library",
 | 
			
		||||
    srcs = [
 | 
			
		||||
        "doc.go",
 | 
			
		||||
        "fake_batch_client.go",
 | 
			
		||||
        "fake_job.go",
 | 
			
		||||
    ],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion:go_default_library",
 | 
			
		||||
        "//pkg/api:go_default_library",
 | 
			
		||||
        "//pkg/apis/batch:go_default_library",
 | 
			
		||||
        "//pkg/apis/meta/v1:go_default_library",
 | 
			
		||||
        "//pkg/client/restclient:go_default_library",
 | 
			
		||||
        "//pkg/client/testing/core:go_default_library",
 | 
			
		||||
        "//pkg/labels:go_default_library",
 | 
			
		||||
        "//pkg/runtime/schema:go_default_library",
 | 
			
		||||
        "//pkg/watch:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
@@ -0,0 +1,20 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package fake
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	internalversion "k8s.io/kubernetes/federation/client/clientset_generated/federation_internalclientset/typed/batch/internalversion"
 | 
			
		||||
	restclient "k8s.io/kubernetes/pkg/client/restclient"
 | 
			
		||||
	core "k8s.io/kubernetes/pkg/client/testing/core"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type FakeBatch struct {
 | 
			
		||||
	*core.Fake
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeBatch) Jobs(namespace string) internalversion.JobInterface {
 | 
			
		||||
	return &FakeJobs{c, namespace}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// RESTClient returns a RESTClient that is used to communicate
 | 
			
		||||
// with API server by this client implementation.
 | 
			
		||||
func (c *FakeBatch) RESTClient() restclient.Interface {
 | 
			
		||||
	var ret *restclient.RESTClient
 | 
			
		||||
	return ret
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,128 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package fake
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	api "k8s.io/kubernetes/pkg/api"
 | 
			
		||||
	batch "k8s.io/kubernetes/pkg/apis/batch"
 | 
			
		||||
	v1 "k8s.io/kubernetes/pkg/apis/meta/v1"
 | 
			
		||||
	core "k8s.io/kubernetes/pkg/client/testing/core"
 | 
			
		||||
	labels "k8s.io/kubernetes/pkg/labels"
 | 
			
		||||
	schema "k8s.io/kubernetes/pkg/runtime/schema"
 | 
			
		||||
	watch "k8s.io/kubernetes/pkg/watch"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// FakeJobs implements JobInterface
 | 
			
		||||
type FakeJobs struct {
 | 
			
		||||
	Fake *FakeBatch
 | 
			
		||||
	ns   string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var jobsResource = schema.GroupVersionResource{Group: "batch", Version: "", Resource: "jobs"}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Create(job *batch.Job) (result *batch.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewCreateAction(jobsResource, c.ns, job), &batch.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*batch.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Update(job *batch.Job) (result *batch.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewUpdateAction(jobsResource, c.ns, job), &batch.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*batch.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) UpdateStatus(job *batch.Job) (*batch.Job, error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewUpdateSubresourceAction(jobsResource, "status", c.ns, job), &batch.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*batch.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Delete(name string, options *api.DeleteOptions) error {
 | 
			
		||||
	_, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewDeleteAction(jobsResource, c.ns, name), &batch.Job{})
 | 
			
		||||
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error {
 | 
			
		||||
	action := core.NewDeleteCollectionAction(jobsResource, c.ns, listOptions)
 | 
			
		||||
 | 
			
		||||
	_, err := c.Fake.Invokes(action, &batch.JobList{})
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) Get(name string, options v1.GetOptions) (result *batch.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewGetAction(jobsResource, c.ns, name), &batch.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*batch.Job), err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *FakeJobs) List(opts api.ListOptions) (result *batch.JobList, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewListAction(jobsResource, c.ns, opts), &batch.JobList{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	label, _, _ := core.ExtractFromListOptions(opts)
 | 
			
		||||
	if label == nil {
 | 
			
		||||
		label = labels.Everything()
 | 
			
		||||
	}
 | 
			
		||||
	list := &batch.JobList{}
 | 
			
		||||
	for _, item := range obj.(*batch.JobList).Items {
 | 
			
		||||
		if label.Matches(labels.Set(item.Labels)) {
 | 
			
		||||
			list.Items = append(list.Items, item)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return list, err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Watch returns a watch.Interface that watches the requested jobs.
 | 
			
		||||
func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error) {
 | 
			
		||||
	return c.Fake.
 | 
			
		||||
		InvokesWatch(core.NewWatchAction(jobsResource, c.ns, opts))
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Patch applies the patch and returns the patched job.
 | 
			
		||||
func (c *FakeJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *batch.Job, err error) {
 | 
			
		||||
	obj, err := c.Fake.
 | 
			
		||||
		Invokes(core.NewPatchSubresourceAction(jobsResource, c.ns, name, data, subresources...), &batch.Job{})
 | 
			
		||||
 | 
			
		||||
	if obj == nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return obj.(*batch.Job), err
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package internalversion
 | 
			
		||||
 | 
			
		||||
type JobExpansion interface{}
 | 
			
		||||
@@ -0,0 +1,171 @@
 | 
			
		||||
/*
 | 
			
		||||
Copyright 2016 The Kubernetes Authors.
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
package internalversion
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	api "k8s.io/kubernetes/pkg/api"
 | 
			
		||||
	batch "k8s.io/kubernetes/pkg/apis/batch"
 | 
			
		||||
	v1 "k8s.io/kubernetes/pkg/apis/meta/v1"
 | 
			
		||||
	restclient "k8s.io/kubernetes/pkg/client/restclient"
 | 
			
		||||
	watch "k8s.io/kubernetes/pkg/watch"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// JobsGetter has a method to return a JobInterface.
 | 
			
		||||
// A group's client should implement this interface.
 | 
			
		||||
type JobsGetter interface {
 | 
			
		||||
	Jobs(namespace string) JobInterface
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// JobInterface has methods to work with Job resources.
 | 
			
		||||
type JobInterface interface {
 | 
			
		||||
	Create(*batch.Job) (*batch.Job, error)
 | 
			
		||||
	Update(*batch.Job) (*batch.Job, error)
 | 
			
		||||
	UpdateStatus(*batch.Job) (*batch.Job, error)
 | 
			
		||||
	Delete(name string, options *api.DeleteOptions) error
 | 
			
		||||
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
 | 
			
		||||
	Get(name string, options v1.GetOptions) (*batch.Job, error)
 | 
			
		||||
	List(opts api.ListOptions) (*batch.JobList, error)
 | 
			
		||||
	Watch(opts api.ListOptions) (watch.Interface, error)
 | 
			
		||||
	Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *batch.Job, err error)
 | 
			
		||||
	JobExpansion
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// jobs implements JobInterface
 | 
			
		||||
type jobs struct {
 | 
			
		||||
	client restclient.Interface
 | 
			
		||||
	ns     string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// newJobs returns a Jobs
 | 
			
		||||
func newJobs(c *BatchClient, namespace string) *jobs {
 | 
			
		||||
	return &jobs{
 | 
			
		||||
		client: c.RESTClient(),
 | 
			
		||||
		ns:     namespace,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Create takes the representation of a job and creates it.  Returns the server's representation of the job, and an error, if there is any.
 | 
			
		||||
func (c *jobs) Create(job *batch.Job) (result *batch.Job, err error) {
 | 
			
		||||
	result = &batch.Job{}
 | 
			
		||||
	err = c.client.Post().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Body(job).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Update takes the representation of a job and updates it. Returns the server's representation of the job, and an error, if there is any.
 | 
			
		||||
func (c *jobs) Update(job *batch.Job) (result *batch.Job, err error) {
 | 
			
		||||
	result = &batch.Job{}
 | 
			
		||||
	err = c.client.Put().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(job.Name).
 | 
			
		||||
		Body(job).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// UpdateStatus was generated because the type contains a Status member.
 | 
			
		||||
// Add a +genclientstatus=false comment above the type to avoid generating UpdateStatus().
 | 
			
		||||
 | 
			
		||||
func (c *jobs) UpdateStatus(job *batch.Job) (result *batch.Job, err error) {
 | 
			
		||||
	result = &batch.Job{}
 | 
			
		||||
	err = c.client.Put().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(job.Name).
 | 
			
		||||
		SubResource("status").
 | 
			
		||||
		Body(job).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Delete takes name of the job and deletes it. Returns an error if one occurs.
 | 
			
		||||
func (c *jobs) Delete(name string, options *api.DeleteOptions) error {
 | 
			
		||||
	return c.client.Delete().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(name).
 | 
			
		||||
		Body(options).
 | 
			
		||||
		Do().
 | 
			
		||||
		Error()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeleteCollection deletes a collection of objects.
 | 
			
		||||
func (c *jobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error {
 | 
			
		||||
	return c.client.Delete().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		VersionedParams(&listOptions, api.ParameterCodec).
 | 
			
		||||
		Body(options).
 | 
			
		||||
		Do().
 | 
			
		||||
		Error()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Get takes name of the job, and returns the corresponding job object, and an error if there is any.
 | 
			
		||||
func (c *jobs) Get(name string, options v1.GetOptions) (result *batch.Job, err error) {
 | 
			
		||||
	result = &batch.Job{}
 | 
			
		||||
	err = c.client.Get().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		Name(name).
 | 
			
		||||
		VersionedParams(&options, api.ParameterCodec).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// List takes label and field selectors, and returns the list of Jobs that match those selectors.
 | 
			
		||||
func (c *jobs) List(opts api.ListOptions) (result *batch.JobList, err error) {
 | 
			
		||||
	result = &batch.JobList{}
 | 
			
		||||
	err = c.client.Get().
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		VersionedParams(&opts, api.ParameterCodec).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Watch returns a watch.Interface that watches the requested jobs.
 | 
			
		||||
func (c *jobs) Watch(opts api.ListOptions) (watch.Interface, error) {
 | 
			
		||||
	return c.client.Get().
 | 
			
		||||
		Prefix("watch").
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		VersionedParams(&opts, api.ParameterCodec).
 | 
			
		||||
		Watch()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Patch applies the patch and returns the patched job.
 | 
			
		||||
func (c *jobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *batch.Job, err error) {
 | 
			
		||||
	result = &batch.Job{}
 | 
			
		||||
	err = c.client.Patch(pt).
 | 
			
		||||
		Namespace(c.ns).
 | 
			
		||||
		Resource("jobs").
 | 
			
		||||
		SubResource(subresources...).
 | 
			
		||||
		Name(name).
 | 
			
		||||
		Body(data).
 | 
			
		||||
		Do().
 | 
			
		||||
		Into(result)
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package internalversion
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package internalversion
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// This package has the automatically generated typed clients.
 | 
			
		||||
package internalversion
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event] --input=[../../federation/apis/federation/,api/,extensions/]
 | 
			
		||||
// This package is generated by client-gen with arguments: --clientset-name=federation_internalclientset --clientset-path=k8s.io/kubernetes/federation/client/clientset_generated --included-types-overrides=[api/Service,api/Namespace,extensions/ReplicaSet,api/Secret,extensions/Ingress,extensions/Deployment,extensions/DaemonSet,api/ConfigMap,api/Event,batch/Job] --input=[../../federation/apis/federation/,api/,extensions/,batch/]
 | 
			
		||||
 | 
			
		||||
// Package fake has the automatically generated clients.
 | 
			
		||||
package fake
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user