Documentation ¶
Index ¶
- type StatusClient
- func (nsf *StatusClient) Create(ctx context.Context) error
- func (nsf *StatusClient) Exists(ctx context.Context) (bool, error)
- func (nsf *StatusClient) Matches(ctx context.Context, polState secprofnodestatusv1alpha1.ProfileState) (bool, error)
- func (nsf *StatusClient) Remove(ctx context.Context, c client.Client) error
- func (nsf *StatusClient) SetNodeStatus(ctx context.Context, polState secprofnodestatusv1alpha1.ProfileState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusClient ¶
type StatusClient struct {
// contains filtered or unexported fields
}
func NewForProfile ¶
func (*StatusClient) Matches ¶
func (nsf *StatusClient) Matches( ctx context.Context, polState secprofnodestatusv1alpha1.ProfileState, ) (bool, error)
func (*StatusClient) SetNodeStatus ¶
func (nsf *StatusClient) SetNodeStatus( ctx context.Context, polState secprofnodestatusv1alpha1.ProfileState, ) error
Click to show internal directories.
Click to hide internal directories.