Documentation ¶
Index ¶
- Variables
- func FactoryGo(group string, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
- func GroupInterfaceGo(group string, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
- func GroupVersionInterfaceGo(gv schema.GroupVersion, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
- func ListTypesGo(gv schema.GroupVersion, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
- func Package(arguments *args.GeneratorArgs, name string, ...) generator.Package
- func RegisterGroupGo(group string, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
- func RegisterGroupVersionGo(gv schema.GroupVersion, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
- func TypeGo(gv schema.GroupVersion, name *types.Name, args *args.GeneratorArgs, ...) generator.Generator
- type ClientGenerator
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Imports = []string{
"context",
"time",
"k8s.io/client-go/rest",
"github.com/rancher/lasso/pkg/client",
"github.com/rancher/lasso/pkg/controller",
"github.com/rancher/wrangler/pkg/apply",
"github.com/rancher/wrangler/pkg/condition",
"github.com/rancher/wrangler/pkg/schemes",
"github.com/rancher/wrangler/pkg/generic",
"github.com/rancher/wrangler/pkg/kv",
"k8s.io/apimachinery/pkg/api/equality",
"k8s.io/apimachinery/pkg/api/errors",
"metav1 \"k8s.io/apimachinery/pkg/apis/meta/v1\"",
"k8s.io/apimachinery/pkg/labels",
"k8s.io/apimachinery/pkg/runtime",
"k8s.io/apimachinery/pkg/runtime/schema",
"k8s.io/apimachinery/pkg/types",
"utilruntime \"k8s.io/apimachinery/pkg/util/runtime\"",
"k8s.io/apimachinery/pkg/watch",
"k8s.io/client-go/tools/cache",
}
)
Functions ¶
func FactoryGo ¶
func FactoryGo(group string, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
func GroupInterfaceGo ¶
func GroupInterfaceGo(group string, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
func GroupVersionInterfaceGo ¶
func GroupVersionInterfaceGo(gv schema.GroupVersion, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
func ListTypesGo ¶
func ListTypesGo(gv schema.GroupVersion, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
func RegisterGroupGo ¶
func RegisterGroupGo(group string, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
func RegisterGroupVersionGo ¶
func RegisterGroupVersionGo(gv schema.GroupVersion, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
func TypeGo ¶
func TypeGo(gv schema.GroupVersion, name *types.Name, args *args.GeneratorArgs, customArgs *args2.CustomArgs) generator.Generator
Types ¶
type ClientGenerator ¶
func NewClientGenerator ¶
func NewClientGenerator() *ClientGenerator
func (*ClientGenerator) Packages ¶
func (cg *ClientGenerator) Packages(context *generator.Context, arguments *args.GeneratorArgs) generator.Packages
Packages makes the client package definition.
Click to show internal directories.
Click to hide internal directories.