1
0
mirror of https://github.com/rancher/types.git synced 2025-09-13 05:26:11 +00:00

Update generated code

This commit is contained in:
Darren Shepherd
2018-01-18 16:48:52 -07:00
parent 214e18f189
commit 1c614de229
52 changed files with 315 additions and 321 deletions

View File

@@ -55,11 +55,11 @@ type PodSecurityPolicyController interface {
type PodSecurityPolicyInterface interface {
ObjectClient() *clientbase.ObjectClient
Create(*v1beta1.PodSecurityPolicy) (*v1beta1.PodSecurityPolicy, error)
GetNamespace(name, namespace string, opts metav1.GetOptions) (*v1beta1.PodSecurityPolicy, error)
GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1beta1.PodSecurityPolicy, error)
Get(name string, opts metav1.GetOptions) (*v1beta1.PodSecurityPolicy, error)
Update(*v1beta1.PodSecurityPolicy) (*v1beta1.PodSecurityPolicy, error)
Delete(name string, options *metav1.DeleteOptions) error
DeleteNamespace(name, namespace string, options *metav1.DeleteOptions) error
DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
List(opts metav1.ListOptions) (*PodSecurityPolicyList, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
@@ -196,8 +196,8 @@ func (s *podSecurityPolicyClient) Get(name string, opts metav1.GetOptions) (*v1b
return obj.(*v1beta1.PodSecurityPolicy), err
}
func (s *podSecurityPolicyClient) GetNamespace(name, namespace string, opts metav1.GetOptions) (*v1beta1.PodSecurityPolicy, error) {
obj, err := s.objectClient.GetNamespace(name, namespace, opts)
func (s *podSecurityPolicyClient) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1beta1.PodSecurityPolicy, error) {
obj, err := s.objectClient.GetNamespaced(namespace, name, opts)
return obj.(*v1beta1.PodSecurityPolicy), err
}
@@ -210,8 +210,8 @@ func (s *podSecurityPolicyClient) Delete(name string, options *metav1.DeleteOpti
return s.objectClient.Delete(name, options)
}
func (s *podSecurityPolicyClient) DeleteNamespace(name, namespace string, options *metav1.DeleteOptions) error {
return s.objectClient.DeleteNamespace(name, namespace, options)
func (s *podSecurityPolicyClient) DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error {
return s.objectClient.DeleteNamespaced(namespace, name, options)
}
func (s *podSecurityPolicyClient) List(opts metav1.ListOptions) (*PodSecurityPolicyList, error) {