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 CheckExpansion ¶
type CheckExpansion interface{}
type CheckInterface ¶
type CheckInterface interface { Create(*v1.Check) (*v1.Check, error) Update(*v1.Check) (*v1.Check, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Check, error) List(opts meta_v1.ListOptions) (*v1.CheckList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Check, err error) CheckExpansion }
CheckInterface has methods to work with Check resources.
type ChecksGetter ¶
type ChecksGetter interface {
Checks(namespace string) CheckInterface
}
ChecksGetter has a method to return a CheckInterface. A group's client should implement this interface.
type HostExpansion ¶
type HostExpansion interface{}
type HostGroupExpansion ¶
type HostGroupExpansion interface{}
type HostGroupInterface ¶
type HostGroupInterface interface { Create(*v1.HostGroup) (*v1.HostGroup, error) Update(*v1.HostGroup) (*v1.HostGroup, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.HostGroup, error) List(opts meta_v1.ListOptions) (*v1.HostGroupList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.HostGroup, err error) HostGroupExpansion }
HostGroupInterface has methods to work with HostGroup resources.
type HostGroupsGetter ¶
type HostGroupsGetter interface {
HostGroups(namespace string) HostGroupInterface
}
HostGroupsGetter has a method to return a HostGroupInterface. A group's client should implement this interface.
type HostInterface ¶
type HostInterface interface { Create(*v1.Host) (*v1.Host, error) Update(*v1.Host) (*v1.Host, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Host, error) List(opts meta_v1.ListOptions) (*v1.HostList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Host, err error) HostExpansion }
HostInterface has methods to work with Host resources.
type HostsGetter ¶
type HostsGetter interface {
Hosts(namespace string) HostInterface
}
HostsGetter has a method to return a HostInterface. A group's client should implement this interface.
type IcingaV1Client ¶
type IcingaV1Client struct {
// contains filtered or unexported fields
}
IcingaV1Client is used to interact with features provided by the icinga.nexinto.com group.
func New ¶
func New(c rest.Interface) *IcingaV1Client
New creates a new IcingaV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*IcingaV1Client, error)
NewForConfig creates a new IcingaV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *IcingaV1Client
NewForConfigOrDie creates a new IcingaV1Client for the given config and panics if there is an error in the config.
func (*IcingaV1Client) Checks ¶
func (c *IcingaV1Client) Checks(namespace string) CheckInterface
func (*IcingaV1Client) HostGroups ¶
func (c *IcingaV1Client) HostGroups(namespace string) HostGroupInterface
func (*IcingaV1Client) Hosts ¶
func (c *IcingaV1Client) Hosts(namespace string) HostInterface
func (*IcingaV1Client) RESTClient ¶
func (c *IcingaV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type IcingaV1Interface ¶
type IcingaV1Interface interface { RESTClient() rest.Interface ChecksGetter HostsGetter HostGroupsGetter }