func (c *FakeClusterPolicies) List(opts kapi.ListOptions) (*authorizationapi.ClusterPolicyList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("clusterpolicies", opts), &authorizationapi.ClusterPolicyList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*authorizationapi.ClusterPolicyList), err
}
Example #2
0
func (c *FakeProjects) List(opts kapi.ListOptions) (*projectapi.ProjectList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("projects", opts), &projectapi.ProjectList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*projectapi.ProjectList), err
}
Example #3
0
func (c *FakeGroups) List(opts kapi.ListOptions) (*userapi.GroupList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("groups", opts), &userapi.GroupList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*userapi.GroupList), err
}
Example #4
0
func (c *FakeOAuthClient) List(opts kapi.ListOptions) (*oauthapi.OAuthClientList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("oauthclients", opts), &oauthapi.OAuthClientList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*oauthapi.OAuthClientList), err
}
func (c *FakeClusterPolicies) List(label labels.Selector, field fields.Selector) (*authorizationapi.ClusterPolicyList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("clusterpolicies", label, field), &authorizationapi.ClusterPolicyList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*authorizationapi.ClusterPolicyList), err
}
Example #6
0
func (c *FakeNetNamespace) List() (*sdnapi.NetNamespaceList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("netnamespaces", nil, nil), &sdnapi.NetNamespaceList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*sdnapi.NetNamespaceList), err
}
func (c *FakeProjectRequests) List(opts kapi.ListOptions) (*unversioned.Status, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("newprojects", opts), &unversioned.Status{})
	if obj == nil {
		return nil, err
	}

	return obj.(*unversioned.Status), err
}
func (c *FakeProjectRequests) List(label labels.Selector, field fields.Selector) (*unversioned.Status, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("newprojects", label, field), &unversioned.Status{})
	if obj == nil {
		return nil, err
	}

	return obj.(*unversioned.Status), err
}
Example #9
0
func (c *FakeGroups) List(label labels.Selector, field fields.Selector) (*userapi.GroupList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("groups", label, field), &userapi.GroupList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*userapi.GroupList), err
}
Example #10
0
func (c *FakeProjects) List(label labels.Selector, field fields.Selector) (*projectapi.ProjectList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("projects", label, field), &projectapi.ProjectList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*projectapi.ProjectList), err
}
func (c *FakeClusterResourceQuotas) List(opts kapi.ListOptions) (*quotaapi.ClusterResourceQuotaList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("clusterresourcequotas", opts), &quotaapi.ClusterResourceQuotaList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*quotaapi.ClusterResourceQuotaList), err
}
func (c *FakeHostSubnet) List(opts kapi.ListOptions) (*sdnapi.HostSubnetList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("hostsubnets", opts), &sdnapi.HostSubnetList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*sdnapi.HostSubnetList), err
}
Example #13
0
func (c *FakeImages) List(opts kapi.ListOptions) (*imageapi.ImageList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("images", opts), &imageapi.ImageList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*imageapi.ImageList), err
}
func (c *FakeServiceBrokers) List(opts kapi.ListOptions) (*servicebrokerapi.ServiceBrokerList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("servicebroker", opts), &servicebrokerapi.ServiceBrokerList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*servicebrokerapi.ServiceBrokerList), err
}
Example #15
0
func (c *FakeImages) List(label labels.Selector, field fields.Selector) (*imageapi.ImageList, error) {
	obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("images", label, field), &imageapi.ImageList{})
	if obj == nil {
		return nil, err
	}

	return obj.(*imageapi.ImageList), err
}