crossplane

package
v0.0.0-...-c522c54 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIv1

type APIv1 interface {
	Providers() ProviderInterface
}

type APIv1Client

type APIv1Client struct {
	// contains filtered or unexported fields
}

func NewAPIv1Client

func NewAPIv1Client(c *rest.Config) (*APIv1Client, error)

func (*APIv1Client) Providers

func (c *APIv1Client) Providers() ProviderInterface

type CRDInterface

type CRDInterface interface {
	List(ctx context.Context, gvk schema.GroupVersionKind) (*unstructured.UnstructuredList, error)
	Get(ctx context.Context, dst resource.Object, reference *v1.ObjectReference) error // todo: migrate it onto ObjectReference
}

func NewCRDsClient

func NewCRDsClient(cfg *rest.Config, ext *ExtensionsV1Client) CRDInterface

type CompositionInterface

type CompositionInterface interface {
	List(ctx context.Context) (*v1.CompositionList, error)
	Get(ctx context.Context, name string) (*v1.Composition, error)
}

type EventsInterface

type EventsInterface interface {
	List(ctx context.Context, reference *v1.ObjectReference) (*v1.EventList, error)
}

func NewEventsClient

func NewEventsClient(c *rest.Config) (EventsInterface, error)

type ExtensionsV1

type ExtensionsV1 interface {
	XRDs() XRDInterface
	Compositions() CompositionInterface
}

type ExtensionsV1Client

type ExtensionsV1Client struct {
	// contains filtered or unexported fields
}

func NewEXTv1Client

func NewEXTv1Client(c *rest.Config) (*ExtensionsV1Client, error)

func (*ExtensionsV1Client) Compositions

func (c *ExtensionsV1Client) Compositions() CompositionInterface

func (*ExtensionsV1Client) XRDs

func (c *ExtensionsV1Client) XRDs() XRDInterface

type ProviderInterface

type ProviderInterface interface {
	List(ctx context.Context) (*v1.ProviderList, error)
	Get(ctx context.Context, name string) (*v1.Provider, error)
}

type XRDInterface

type XRDInterface interface {
	List(ctx context.Context) (*v1.CompositeResourceDefinitionList, error)
	Get(ctx context.Context, name string) (*v1.CompositeResourceDefinition, error)
}

Jump to

Keyboard shortcuts

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