v1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgusV1Client

type ArgusV1Client struct {
	// contains filtered or unexported fields
}

ArgusV1Client is used to interact with features provided by the group.

func New

New creates a new ArgusV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*ArgusV1Client, error)

NewForConfig creates a new ArgusV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ArgusV1Client

NewForConfigOrDie creates a new ArgusV1Client for the given config and panics if there is an error in the config.

func (*ArgusV1Client) ConfigMaps

func (c *ArgusV1Client) ConfigMaps(aid, namespace string) ConfigMapInterface

func (*ArgusV1Client) Namespaces

func (c *ArgusV1Client) Namespaces(aid string) NamespaceInterface

func (*ArgusV1Client) Nodes

func (c *ArgusV1Client) Nodes(aid string) NodeInterface

func (*ArgusV1Client) PersistentVolumeClaims

func (c *ArgusV1Client) PersistentVolumeClaims(aid, namespace string) PersistentVolumeClaimInterface

func (*ArgusV1Client) PersistentVolumes

func (c *ArgusV1Client) PersistentVolumes(aid string) PersistentVolumeInterface

func (*ArgusV1Client) Pods

func (c *ArgusV1Client) Pods(aid, namespace string) PodInterface

func (*ArgusV1Client) RESTClient

func (c *ArgusV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*ArgusV1Client) Secrets

func (c *ArgusV1Client) Secrets(aid, namespace string) SecretInterface

type ConfigMapExpansion

type ConfigMapExpansion interface{}

type ConfigMapInterface

type ConfigMapInterface interface {
	Create(*v1.ConfigMap) (*v1.ConfigMap, error)
	Update(*v1.ConfigMap) (*v1.ConfigMap, 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.ConfigMap, error)
	List(opts meta_v1.ListOptions) (*v1.ConfigMapList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ConfigMap, err error)
	ConfigMapExpansion
}

ConfigMapInterface has methods to work with ConfigMap resources.

type ConfigMapsGetter

type ConfigMapsGetter interface {
	ConfigMaps(accountid, namespace string) ConfigMapInterface
}

ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.

type IngressExpansion

type IngressExpansion interface{}

type NamespaceExpansion

type NamespaceExpansion interface {
	Finalize(item *v1.Namespace) (*v1.Namespace, error)
}

The NamespaceExpansion interface allows manually adding extra methods to the NamespaceInterface.

type NamespaceInterface

type NamespaceInterface interface {
	Create(*v1.Namespace) (*v1.Namespace, error)
	Update(*v1.Namespace) (*v1.Namespace, error)
	UpdateStatus(*v1.Namespace) (*v1.Namespace, error)
	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Namespace, error)
	List(opts metav1.ListOptions) (*v1.NamespaceList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Namespace, err error)
	NamespaceExpansion
}

NamespaceInterface has methods to work with Namespace resources.

type NamespacesGetter

type NamespacesGetter interface {
	Namespaces(accountid string) NamespaceInterface
}

NamespacesGetter has a method to return a NamespaceInterface. A group's client should implement this interface.

type NodeExpansion

type NodeExpansion interface {
	// PatchStatus modifies the status of an existing node. It returns the copy
	// of the node that the server returns, or an error.
	PatchStatus(aid, nodeName string, data []byte) (*v1.Node, error)
}

The NodeExpansion interface allows manually adding extra methods to the NodeInterface.

type NodeInterface

type NodeInterface interface {
	Create(*v1.Node) (*v1.Node, error)
	Update(*v1.Node) (*v1.Node, error)
	UpdateStatus(*v1.Node) (*v1.Node, 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.Node, error)
	List(opts meta_v1.ListOptions) (*v1.NodeList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Node, err error)
	NodeExpansion
}

NodeInterface has methods to work with Node resources.

type NodesGetter

type NodesGetter interface {
	Nodes(aid string) NodeInterface
}

NodesGetter has a method to return a NodeInterface. A group's client should implement this interface.

type PersistentVolumeClaimInterface

type PersistentVolumeClaimInterface interface {
	Create(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
	Update(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
	UpdateStatus(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.PersistentVolumeClaim, error)
	List(opts metav1.ListOptions) (*v1.PersistentVolumeClaimList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolumeClaim, err error)
}

PersistentVolumeClaimInterface has methods to work with PersistentVolumeClaim resources.

type PersistentVolumeClaimsGetter

type PersistentVolumeClaimsGetter interface {
	PersistentVolumeClaims(aid, namespace string) PersistentVolumeClaimInterface
}

PersistentVolumeClaimsGetter has a method to return a PersistentVolumeClaimInterface. A group's client should implement this interface.

type PersistentVolumeInterface

type PersistentVolumeInterface interface {
	Create(*v1.PersistentVolume) (*v1.PersistentVolume, error)
	Update(*v1.PersistentVolume) (*v1.PersistentVolume, error)
	UpdateStatus(*v1.PersistentVolume) (*v1.PersistentVolume, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.PersistentVolume, error)
	List(opts metav1.ListOptions) (*v1.PersistentVolumeList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolume, err error)
}

PersistentVolumeInterface has methods to work with PersistentVolume resources.

type PersistentVolumesGetter

type PersistentVolumesGetter interface {
	PersistentVolumes(aid string) PersistentVolumeInterface
}

PersistentVolumesGetter has a method to return a PersistentVolumeInterface. A group's client should implement this interface.

type PodInterface

type PodInterface interface {
	Create(*v1.Pod) (*v1.Pod, error)
	Update(*v1.Pod) (*v1.Pod, error)
	UpdateStatus(*v1.Pod) (*v1.Pod, 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.Pod, error)
	List(opts meta_v1.ListOptions) (*v1.PodList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Pod, err error)
}

PodInterface has methods to work with Pod resources.

type PodSecurityPolicyExpansion

type PodSecurityPolicyExpansion interface{}

type PodsGetter

type PodsGetter interface {
	Pods(aid, namespace string) PodInterface
}

PodsGetter has a method to return a PodInterface. A group's client should implement this interface.

type SecretExpansion

type SecretExpansion interface{}

type SecretInterface

type SecretInterface interface {
	Create(*v1.Secret) (*v1.Secret, error)
	Update(*v1.Secret) (*v1.Secret, 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.Secret, error)
	List(opts meta_v1.ListOptions) (*v1.SecretList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Secret, err error)
	SecretExpansion
}

SecretInterface has methods to work with Secret resources.

type SecretsGetter

type SecretsGetter interface {
	Secrets(accountid, namespace string) SecretInterface
}

SecretsGetter has a method to return a SecretInterface. A group's client should implement this interface.

Jump to

Keyboard shortcuts

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