Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCRDs ¶
func GetCRDs(filesystem fs.FS) ([]*apiextensions.CustomResourceDefinition, error)
GetCRDs returns CRDs.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder decodes CRD objects.
func (*Decoder) Decode ¶
func (d *Decoder) Decode(document []byte) (*apiextensions.CustomResourceDefinition, error)
Decode decodes the given YAML/JSON manifest into a CustomResourceDefinition.
type HubDecoder ¶
type HubDecoder struct {
// contains filtered or unexported fields
}
HubDecoder decodes Traefik Hub Kubernetes objects.
func NewHubDecoder ¶
func NewHubDecoder() (*HubDecoder, error)
NewHubDecoder creates a new HubDecoder.
func (*HubDecoder) Decode ¶
func (d *HubDecoder) Decode(document []byte, into *unstructured.Unstructured) error
Decode decodes the given YAML/JSON.
Click to show internal directories.
Click to hide internal directories.