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 KubetrivyV1Client ¶
type KubetrivyV1Client struct {
// contains filtered or unexported fields
}
KubetrivyV1Client is used to interact with features provided by the kubetrivy.io group.
func New ¶
func New(c rest.Interface) *KubetrivyV1Client
New creates a new KubetrivyV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KubetrivyV1Client, error)
NewForConfig creates a new KubetrivyV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *KubetrivyV1Client
NewForConfigOrDie creates a new KubetrivyV1Client for the given config and panics if there is an error in the config.
func (*KubetrivyV1Client) RESTClient ¶
func (c *KubetrivyV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*KubetrivyV1Client) Vulnerabilities ¶
func (c *KubetrivyV1Client) Vulnerabilities(namespace string) VulnerabilityInterface
type KubetrivyV1Interface ¶
type KubetrivyV1Interface interface { RESTClient() rest.Interface VulnerabilitiesGetter }
type VulnerabilitiesGetter ¶
type VulnerabilitiesGetter interface {
Vulnerabilities(namespace string) VulnerabilityInterface
}
VulnerabilitiesGetter has a method to return a VulnerabilityInterface. A group's client should implement this interface.
type VulnerabilityExpansion ¶
type VulnerabilityExpansion interface{}
type VulnerabilityInterface ¶
type VulnerabilityInterface interface { Create(*v1.Vulnerability) (*v1.Vulnerability, error) Update(*v1.Vulnerability) (*v1.Vulnerability, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.Vulnerability, error) List(opts metav1.ListOptions) (*v1.VulnerabilityList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Vulnerability, err error) VulnerabilityExpansion }
VulnerabilityInterface has methods to work with Vulnerability resources.