v1beta1

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 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 EntitiesGetter

type EntitiesGetter interface {
	Entities(namespace string) EntityInterface
}

EntitiesGetter has a method to return a EntityInterface. A group's client should implement this interface.

type EntityExpansion

type EntityExpansion interface{}

type EntityInterface

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

EntityInterface has methods to work with Entity resources.

type KindExpansion

type KindExpansion interface{}

type KindInterface

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

KindInterface has methods to work with Kind resources.

type KindsGetter

type KindsGetter interface {
	Kinds(namespace string) KindInterface
}

KindsGetter has a method to return a KindInterface. A group's client should implement this interface.

type RelationExpansion

type RelationExpansion interface{}

type RelationInterface

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

RelationInterface has methods to work with Relation resources.

type RelationsGetter

type RelationsGetter interface {
	Relations(namespace string) RelationInterface
}

RelationsGetter has a method to return a RelationInterface. A group's client should implement this interface.

type ServiceExpansion

type ServiceExpansion interface{}

type ServiceInterface

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

ServiceInterface has methods to work with Service resources.

type ServicesGetter

type ServicesGetter interface {
	Services(namespace string) ServiceInterface
}

ServicesGetter has a method to return a ServiceInterface. A group's client should implement this interface.

type TopoV1beta1Client

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

TopoV1beta1Client is used to interact with features provided by the topo.onosproject.org group.

func New

New creates a new TopoV1beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new TopoV1beta1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *TopoV1beta1Client

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

func (*TopoV1beta1Client) Entities

func (c *TopoV1beta1Client) Entities(namespace string) EntityInterface

func (*TopoV1beta1Client) Kinds

func (c *TopoV1beta1Client) Kinds(namespace string) KindInterface

func (*TopoV1beta1Client) RESTClient

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

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

func (*TopoV1beta1Client) Relations

func (c *TopoV1beta1Client) Relations(namespace string) RelationInterface

func (*TopoV1beta1Client) Services

func (c *TopoV1beta1Client) Services(namespace string) ServiceInterface

type TopoV1beta1Interface

type TopoV1beta1Interface interface {
	RESTClient() rest.Interface
	EntitiesGetter
	KindsGetter
	RelationsGetter
	ServicesGetter
}

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