Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIV1Client ¶
type APIV1Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(c rest.Interface) *APIV1Client
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*APIV1Client, error)
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *APIV1Client
func (*APIV1Client) Policies ¶
func (c *APIV1Client) Policies() PolicyInterface
func (*APIV1Client) RESTClient ¶
func (c *APIV1Client) RESTClient() rest.Interface
func (*APIV1Client) Secrets ¶
func (c *APIV1Client) Secrets() SecretInterface
func (*APIV1Client) Users ¶
func (c *APIV1Client) Users() UserInterface
func (*APIV1Client) ZbxCmd ¶
func (c *APIV1Client) ZbxCmd() ZbxCmdInterface
type APIV1Interface ¶
type APIV1Interface interface { RESTClient() rest.Interface UsersGetter SecretsGetter PoliciesGetter ZbxCmdGetter }
APIV1Interface - methods to work with ELMT resources
type PoliciesGetter ¶
type PoliciesGetter interface {
Policies() PolicyInterface
}
PoliciesGetter - method to return a PolicyInterface. - a group's client should implement this interface
type PolicyInterface ¶
type PolicyInterface interface { Create(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions) (*v1.Policy, error) Update(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (*v1.Policy, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Policy, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PolicyList, error) }
type SecretInterface ¶
type SecretInterface interface { Create(ctx context.Context, secret *v1.Secret, opts metav1.CreateOptions) (*v1.Secret, error) Update(ctx context.Context, secret *v1.Secret, opts metav1.UpdateOptions) (*v1.Secret, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Secret, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.SecretList, error) }
type SecretsGetter ¶
type SecretsGetter interface {
Secrets() SecretInterface
}
SecretsGetter interface - method to return a SecretInterface - a group's client should implement this interface:
type UserInterface ¶
type UserInterface interface { Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (*v1.User, error) Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (*v1.User, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.User, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.UserList, error) }
type UsersGetter ¶
type UsersGetter interface {
Users() UserInterface
}
UsersGetter - method to return a UserInterface. - a group's client should implement this interface
type ZbxCmdGetter ¶
type ZbxCmdGetter interface {
ZbxCmd() ZbxCmdInterface
}
ZbxCmdGetter - method to return a ZbxCmdInterface - a group's client should implement this interface
Click to show internal directories.
Click to hide internal directories.