v1alpha1

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleExpansion

type BundleExpansion interface{}

type BundleInterface

type BundleInterface interface {
	Create(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.CreateOptions) (*v1alpha1.Bundle, error)
	Update(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (*v1alpha1.Bundle, error)
	UpdateStatus(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (*v1alpha1.Bundle, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Bundle, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BundleList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Bundle, err error)
	BundleExpansion
}

BundleInterface has methods to work with Bundle resources.

type BundlesGetter

type BundlesGetter interface {
	Bundles() BundleInterface
}

BundlesGetter has a method to return a BundleInterface. A group's client should implement this interface.

type KubepackV1alpha1Client

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

KubepackV1alpha1Client is used to interact with features provided by the kubepack.com group.

func New

New creates a new KubepackV1alpha1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*KubepackV1alpha1Client, error)

NewForConfig creates a new KubepackV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KubepackV1alpha1Client

NewForConfigOrDie creates a new KubepackV1alpha1Client for the given config and panics if there is an error in the config.

func (*KubepackV1alpha1Client) Bundles

func (*KubepackV1alpha1Client) Orders

func (*KubepackV1alpha1Client) Plans

func (*KubepackV1alpha1Client) Products

func (*KubepackV1alpha1Client) RESTClient

func (c *KubepackV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type KubepackV1alpha1Interface

type KubepackV1alpha1Interface interface {
	RESTClient() rest.Interface
	BundlesGetter
	OrdersGetter
	PlansGetter
	ProductsGetter
}

type OrderExpansion

type OrderExpansion interface{}

type OrderInterface

type OrderInterface interface {
	Create(ctx context.Context, order *v1alpha1.Order, opts v1.CreateOptions) (*v1alpha1.Order, error)
	Update(ctx context.Context, order *v1alpha1.Order, opts v1.UpdateOptions) (*v1alpha1.Order, error)
	UpdateStatus(ctx context.Context, order *v1alpha1.Order, opts v1.UpdateOptions) (*v1alpha1.Order, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Order, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.OrderList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Order, err error)
	OrderExpansion
}

OrderInterface has methods to work with Order resources.

type OrdersGetter

type OrdersGetter interface {
	Orders() OrderInterface
}

OrdersGetter has a method to return a OrderInterface. A group's client should implement this interface.

type PlanExpansion

type PlanExpansion interface{}

type PlanInterface

type PlanInterface interface {
	Create(ctx context.Context, plan *v1alpha1.Plan, opts v1.CreateOptions) (*v1alpha1.Plan, error)
	Update(ctx context.Context, plan *v1alpha1.Plan, opts v1.UpdateOptions) (*v1alpha1.Plan, error)
	UpdateStatus(ctx context.Context, plan *v1alpha1.Plan, opts v1.UpdateOptions) (*v1alpha1.Plan, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Plan, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PlanList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Plan, err error)
	PlanExpansion
}

PlanInterface has methods to work with Plan resources.

type PlansGetter

type PlansGetter interface {
	Plans() PlanInterface
}

PlansGetter has a method to return a PlanInterface. A group's client should implement this interface.

type ProductExpansion

type ProductExpansion interface{}

type ProductInterface

type ProductInterface interface {
	Create(ctx context.Context, product *v1alpha1.Product, opts v1.CreateOptions) (*v1alpha1.Product, error)
	Update(ctx context.Context, product *v1alpha1.Product, opts v1.UpdateOptions) (*v1alpha1.Product, error)
	UpdateStatus(ctx context.Context, product *v1alpha1.Product, opts v1.UpdateOptions) (*v1alpha1.Product, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Product, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ProductList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Product, err error)
	ProductExpansion
}

ProductInterface has methods to work with Product resources.

type ProductsGetter

type ProductsGetter interface {
	Products() ProductInterface
}

ProductsGetter has a method to return a ProductInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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