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 ContactMethodExpansion ¶
type ContactMethodExpansion interface{}
type ContactMethodInterface ¶
type ContactMethodInterface interface { Create(ctx context.Context, contactMethod *v1alpha1.ContactMethod, opts v1.CreateOptions) (*v1alpha1.ContactMethod, error) Update(ctx context.Context, contactMethod *v1alpha1.ContactMethod, opts v1.UpdateOptions) (*v1alpha1.ContactMethod, error) UpdateStatus(ctx context.Context, contactMethod *v1alpha1.ContactMethod, opts v1.UpdateOptions) (*v1alpha1.ContactMethod, 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.ContactMethod, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ContactMethodList, 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.ContactMethod, err error) ContactMethodExpansion }
ContactMethodInterface has methods to work with ContactMethod resources.
type ContactMethodsGetter ¶
type ContactMethodsGetter interface {
ContactMethods(namespace string) ContactMethodInterface
}
ContactMethodsGetter has a method to return a ContactMethodInterface. A group's client should implement this interface.
type NotificationRuleExpansion ¶
type NotificationRuleExpansion interface{}
type NotificationRuleInterface ¶
type NotificationRuleInterface interface { Create(ctx context.Context, notificationRule *v1alpha1.NotificationRule, opts v1.CreateOptions) (*v1alpha1.NotificationRule, error) Update(ctx context.Context, notificationRule *v1alpha1.NotificationRule, opts v1.UpdateOptions) (*v1alpha1.NotificationRule, error) UpdateStatus(ctx context.Context, notificationRule *v1alpha1.NotificationRule, opts v1.UpdateOptions) (*v1alpha1.NotificationRule, 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.NotificationRule, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NotificationRuleList, 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.NotificationRule, err error) NotificationRuleExpansion }
NotificationRuleInterface has methods to work with NotificationRule resources.
type NotificationRulesGetter ¶
type NotificationRulesGetter interface {
NotificationRules(namespace string) NotificationRuleInterface
}
NotificationRulesGetter has a method to return a NotificationRuleInterface. A group's client should implement this interface.
type UserExpansion ¶
type UserExpansion interface{}
type UserInterface ¶
type UserInterface interface { Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (*v1alpha1.User, error) Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error) UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, 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.User, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UserList, 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.User, err error) UserExpansion }
UserInterface has methods to work with User resources.
type UserV1alpha1Client ¶
type UserV1alpha1Client struct {
// contains filtered or unexported fields
}
UserV1alpha1Client is used to interact with features provided by the user.pagerduty.kubeform.com group.
func New ¶
func New(c rest.Interface) *UserV1alpha1Client
New creates a new UserV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*UserV1alpha1Client, error)
NewForConfig creates a new UserV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *UserV1alpha1Client
NewForConfigOrDie creates a new UserV1alpha1Client for the given config and panics if there is an error in the config.
func (*UserV1alpha1Client) ContactMethods ¶
func (c *UserV1alpha1Client) ContactMethods(namespace string) ContactMethodInterface
func (*UserV1alpha1Client) NotificationRules ¶
func (c *UserV1alpha1Client) NotificationRules(namespace string) NotificationRuleInterface
func (*UserV1alpha1Client) RESTClient ¶
func (c *UserV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*UserV1alpha1Client) Users ¶
func (c *UserV1alpha1Client) Users(namespace string) UserInterface
type UserV1alpha1Interface ¶
type UserV1alpha1Interface interface { RESTClient() rest.Interface ContactMethodsGetter NotificationRulesGetter UsersGetter }
type UsersGetter ¶
type UsersGetter interface {
Users(namespace string) UserInterface
}
UsersGetter has a method to return a UserInterface. A group's client should implement this interface.