v1

package
v0.0.0-...-ccb6e0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

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)
	UpdateStatus(*v1.Check) (*v1.Check, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Check, error)
	List(opts metav1.ListOptions) (*v1.CheckList, error)
	Watch(opts metav1.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)
	UpdateStatus(*v1.HostGroup) (*v1.HostGroup, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.HostGroup, error)
	List(opts metav1.ListOptions) (*v1.HostGroupList, error)
	Watch(opts metav1.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)
	UpdateStatus(*v1.Host) (*v1.Host, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Host, error)
	List(opts metav1.ListOptions) (*v1.HostList, error)
	Watch(opts metav1.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

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
}

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL