gen-installer

command
v0.0.0-...-81b4045 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2022 License: AGPL-3.0 Imports: 32 Imported by: 0

README

generator

sample code

	out.Version = in.Version
	out.Replicas = (*int32)(unsafe.Pointer(in.Replicas))
	out.ConfigSecret = (*v1.LocalObjectReference)(unsafe.Pointer(in.ConfigSecret))
	out.DataSources = *(*[]v1.VolumeSource)(unsafe.Pointer(&in.DataSources))
	out.TLS = (*apiv1.TLSConfig)(unsafe.Pointer(in.TLS))
	if err := Convert_v1alpha1_BackendStorageSpec_To_v1alpha2_BackendStorageSpec(&in.Backend, &out.Backend, s); err != nil {
		return err
	}
	if in.Unsealer != nil {
		in, out := &in.Unsealer, &out.Unsealer
		*out = new(v1alpha2.UnsealerSpec)
		if err := Convert_v1alpha1_UnsealerSpec_To_v1alpha2_UnsealerSpec(*in, *out, s); err != nil {
			return err
		}
	} else {
		out.Unsealer = nil
	}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL