Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromGV ¶
func FromGV(gv schema.GroupVersion, kind string, obj interface{}) crd.CRD
FromGV returns an abstract namespace-scope CRD handler via group version and kind.
func NonNamespacedFromGV ¶
func NonNamespacedFromGV(gv schema.GroupVersion, kind string, obj interface{}) crd.CRD
NonNamespacedFromGV returns a cluster-scope CRD abstract handler via group version and kind.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactoryFromClient ¶
NewFactoryFromClient returns a CRD initialization factory.
func (*Factory) BatchCreateCRDsIfNotExisted ¶
CreateCRDsIfNotExisted concurrently creates the target CRDs which are not existed.
func (*Factory) CreateCRDs ¶
Click to show internal directories.
Click to hide internal directories.