Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDHandler ¶
type CRDHandler struct {
// contains filtered or unexported fields
}
CRDHandler takes care of ensuring CRD's for a cluster.
func NewCRDHandler ¶
func NewCRDHandler(client crdclient.Interface) *CRDHandler
NewCRDHandler returns a new CRDHandler.
func (*CRDHandler) EnsureCRD ¶
func (h *CRDHandler) EnsureCRD(meta *CRDMeta, namespacedScoped bool) (*apiextensionsv1.CustomResourceDefinition, error)
EnsureCRD ensures a CRD in a cluster given the CRD's metadata.
type CRDMeta ¶
type CRDMeta struct {
// contains filtered or unexported fields
}
CRDMeta contains version, validation and API information for a CRD.
type Version ¶ added in v1.11.0
type Version struct {
// contains filtered or unexported fields
}
Version specifies the API version and meta information that is needed to generate OpenAPI schema based CRD validation.
func NewVersion ¶ added in v1.11.0
func NewVersion(name, typeSource string, fn common.GetOpenAPIDefinitions, deprecated bool) *Version
NewVersion returns a CRD API version with validation metadata.
Click to show internal directories.
Click to hide internal directories.