Documentation ¶
Index ¶
- Variables
- func FactoryGo(group string, customArgs *args.CustomArgs) generator.Generator
- func GroupInterfaceGo(group string, customArgs *args.CustomArgs) generator.Generator
- func GroupVersionInterfaceGo(gv schema.GroupVersion, customArgs *args.CustomArgs) generator.Generator
- func ListTypesGo(gv schema.GroupVersion, customArgs *args.CustomArgs) generator.Generator
- func RegisterGroupGo(group string, customArgs *args.CustomArgs) generator.Generator
- func RegisterGroupVersionGo(gv schema.GroupVersion, customArgs *args.CustomArgs) generator.Generator
- func Target(customArgs *args.CustomArgs, name string, ...) generator.SimpleTarget
- func TypeGo(gv schema.GroupVersion, name *types.Name, customArgs *args.CustomArgs) generator.Generator
- type ClientGenerator
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Imports = []string{
"context",
"sync",
"time",
"k8s.io/client-go/rest",
"github.com/rancher/wrangler/v3/pkg/apply",
"github.com/rancher/lasso/pkg/controller",
"github.com/rancher/wrangler/v3/pkg/condition",
"github.com/rancher/wrangler/v3/pkg/schemes",
"github.com/rancher/wrangler/v3/pkg/generic",
"github.com/rancher/wrangler/v3/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",
"k8s.io/apimachinery/pkg/watch",
}
)
Functions ¶
func GroupInterfaceGo ¶
func GroupInterfaceGo(group string, customArgs *args.CustomArgs) generator.Generator
func GroupVersionInterfaceGo ¶
func GroupVersionInterfaceGo(gv schema.GroupVersion, customArgs *args.CustomArgs) generator.Generator
func ListTypesGo ¶
func ListTypesGo(gv schema.GroupVersion, customArgs *args.CustomArgs) generator.Generator
func RegisterGroupGo ¶
func RegisterGroupGo(group string, customArgs *args.CustomArgs) generator.Generator
func RegisterGroupVersionGo ¶
func RegisterGroupVersionGo(gv schema.GroupVersion, customArgs *args.CustomArgs) generator.Generator
func Target ¶
func Target(customArgs *args.CustomArgs, name string, generators func(context *generator.Context) []generator.Generator) generator.SimpleTarget
func TypeGo ¶
func TypeGo(gv schema.GroupVersion, name *types.Name, customArgs *args.CustomArgs) generator.Generator
Types ¶
type ClientGenerator ¶
func NewClientGenerator ¶
func NewClientGenerator() *ClientGenerator
func (*ClientGenerator) GetTargets ¶
func (cg *ClientGenerator) GetTargets(context *generator.Context, customArgs *args.CustomArgs) []generator.Target
Packages makes the client package definition.
Click to show internal directories.
Click to hide internal directories.