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 AlertRuleExpansion ¶
type AlertRuleExpansion interface{}
type AlertRuleInterface ¶
type AlertRuleInterface interface { Create(ctx context.Context, alertRule *v1alpha1.AlertRule, opts v1.CreateOptions) (*v1alpha1.AlertRule, error) Update(ctx context.Context, alertRule *v1alpha1.AlertRule, opts v1.UpdateOptions) (*v1alpha1.AlertRule, error) UpdateStatus(ctx context.Context, alertRule *v1alpha1.AlertRule, opts v1.UpdateOptions) (*v1alpha1.AlertRule, 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.AlertRule, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AlertRuleList, 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.AlertRule, err error) AlertRuleExpansion }
AlertRuleInterface has methods to work with AlertRule resources.
type AlertRulesGetter ¶
type AlertRulesGetter interface {
AlertRules(namespace string) AlertRuleInterface
}
AlertRulesGetter has a method to return a AlertRuleInterface. A group's client should implement this interface.
type BudgetExpansion ¶
type BudgetExpansion interface{}
type BudgetInterface ¶
type BudgetInterface interface { Create(ctx context.Context, budget *v1alpha1.Budget, opts v1.CreateOptions) (*v1alpha1.Budget, error) Update(ctx context.Context, budget *v1alpha1.Budget, opts v1.UpdateOptions) (*v1alpha1.Budget, error) UpdateStatus(ctx context.Context, budget *v1alpha1.Budget, opts v1.UpdateOptions) (*v1alpha1.Budget, 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.Budget, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BudgetList, 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.Budget, err error) BudgetExpansion }
BudgetInterface has methods to work with Budget resources.
type BudgetV1alpha1Client ¶
type BudgetV1alpha1Client struct {
// contains filtered or unexported fields
}
BudgetV1alpha1Client is used to interact with features provided by the budget.oci.kubeform.com group.
func New ¶
func New(c rest.Interface) *BudgetV1alpha1Client
New creates a new BudgetV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*BudgetV1alpha1Client, error)
NewForConfig creates a new BudgetV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *BudgetV1alpha1Client
NewForConfigOrDie creates a new BudgetV1alpha1Client for the given config and panics if there is an error in the config.
func (*BudgetV1alpha1Client) AlertRules ¶
func (c *BudgetV1alpha1Client) AlertRules(namespace string) AlertRuleInterface
func (*BudgetV1alpha1Client) Budgets ¶
func (c *BudgetV1alpha1Client) Budgets(namespace string) BudgetInterface
func (*BudgetV1alpha1Client) RESTClient ¶
func (c *BudgetV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type BudgetV1alpha1Interface ¶
type BudgetV1alpha1Interface interface { RESTClient() rest.Interface AlertRulesGetter BudgetsGetter }
type BudgetsGetter ¶
type BudgetsGetter interface {
Budgets(namespace string) BudgetInterface
}
BudgetsGetter has a method to return a BudgetInterface. A group's client should implement this interface.