Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientSet ¶
type ClientSet struct { // Name is the name of the clientset, e.g. "kubernetes" Name string // Groups are the groups in this client-set. Groups []parser.Group // PackagePath is the package under which this client-set will be exposed. // TODO(skuznets) we should be able to figure this out from the output dir, ideally PackagePath string // SingleClusterClientPackagePath is the root directory under which single-cluster-aware clients exist. // e.g. "k8s.io/client-go/kubernetes" SingleClusterClientPackagePath string }
type FakeClientset ¶
type FakeClientset struct { // Name is the name of the clientset, e.g. "kubernetes" Name string // Groups are the groups in this client-set. Groups []parser.Group // PackagePath is the package under which this client-set will be exposed. // TODO(skuznets) we should be able to figure this out from the output dir, ideally PackagePath string // SingleClusterClientPackagePath is the root directory under which single-cluster-aware clients exist. // e.g. "k8s.io/client-go/kubernetes" SingleClusterClientPackagePath string }
func (*FakeClientset) WriteContent ¶
func (c *FakeClientset) WriteContent(w io.Writer) error
type FakeGroup ¶
type FakeGroup struct { // Group is the group in this client. Group parser.Group // Kinds are the kinds in the group. Kinds []parser.Kind // PackagePath is the package under which this client-set will be exposed. // TODO(skuznets) we should be able to figure this out from the output dir, ideally PackagePath string // SingleClusterClientPackagePath is the root directory under which single-cluster-aware clients exist. // e.g. "k8s.io/client-go/kubernetes" SingleClusterClientPackagePath string }
type FakeTypedClient ¶
type FakeTypedClient struct { // Group is the group in this client. Group parser.Group // Kind is the kinds in this file. Kind parser.Kind // PackagePath is the package under which this client-set will be exposed. // TODO(skuznets) we should be able to figure this out from the output dir, ideally PackagePath string // APIPackagePath is the root directory under which API types exist. // e.g. "k8s.io/api" APIPackagePath string // SingleClusterClientPackagePath is the root directory under which single-cluster-aware clients exist. // e.g. "k8s.io/client-go/kubernetes" SingleClusterClientPackagePath string // SingleClusterApplyConfigurationsPackagePath is the root directory under which single-cluster-aware clients exist. // e.g. "k8s.io/client-go/applyconfigurations" SingleClusterApplyConfigurationsPackagePath string }
func (*FakeTypedClient) WriteContent ¶
func (c *FakeTypedClient) WriteContent(w io.Writer) error
type Group ¶
type Group struct { // Group is the group in this client. Group parser.Group // Kinds are the kinds in the group. Kinds []parser.Kind // SingleClusterClientPackagePath is the root directory under which single-cluster-aware clients exist. // e.g. "k8s.io/client-go/kubernetes" SingleClusterClientPackagePath string }
type Scheme ¶
type TypedClient ¶
type TypedClient struct { // Group is the group in this client. Group parser.Group // Kind is the kinds in this file. Kind parser.Kind // APIPackagePath is the root directory under which API types exist. // e.g. "k8s.io/api" APIPackagePath string // SingleClusterClientPackagePath is the root directory under which single-cluster-aware clients exist. // e.g. "k8s.io/client-go/kubernetes" SingleClusterClientPackagePath string }
func (*TypedClient) WriteContent ¶
func (c *TypedClient) WriteContent(w io.Writer) error
Click to show internal directories.
Click to hide internal directories.