v1

package
v0.0.0-...-0d7ecfb Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 8 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 HiveTableExpansion

type HiveTableExpansion interface{}

type HiveTableInterface

type HiveTableInterface interface {
	Create(ctx context.Context, hiveTable *v1.HiveTable, opts metav1.CreateOptions) (*v1.HiveTable, error)
	Update(ctx context.Context, hiveTable *v1.HiveTable, opts metav1.UpdateOptions) (*v1.HiveTable, error)
	UpdateStatus(ctx context.Context, hiveTable *v1.HiveTable, opts metav1.UpdateOptions) (*v1.HiveTable, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.HiveTable, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.HiveTableList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.HiveTable, err error)
	HiveTableExpansion
}

HiveTableInterface has methods to work with HiveTable resources.

type HiveTablesGetter

type HiveTablesGetter interface {
	HiveTables(namespace string) HiveTableInterface
}

HiveTablesGetter has a method to return a HiveTableInterface. A group's client should implement this interface.

type MeteringConfigExpansion

type MeteringConfigExpansion interface{}

type MeteringConfigInterface

type MeteringConfigInterface interface {
	Create(ctx context.Context, meteringConfig *v1.MeteringConfig, opts metav1.CreateOptions) (*v1.MeteringConfig, error)
	Update(ctx context.Context, meteringConfig *v1.MeteringConfig, opts metav1.UpdateOptions) (*v1.MeteringConfig, error)
	UpdateStatus(ctx context.Context, meteringConfig *v1.MeteringConfig, opts metav1.UpdateOptions) (*v1.MeteringConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MeteringConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MeteringConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MeteringConfig, err error)
	MeteringConfigExpansion
}

MeteringConfigInterface has methods to work with MeteringConfig resources.

type MeteringConfigsGetter

type MeteringConfigsGetter interface {
	MeteringConfigs(namespace string) MeteringConfigInterface
}

MeteringConfigsGetter has a method to return a MeteringConfigInterface. A group's client should implement this interface.

type MeteringV1Client

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

MeteringV1Client is used to interact with features provided by the metering.openshift.io group.

func New

New creates a new MeteringV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new MeteringV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *MeteringV1Client

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

func (*MeteringV1Client) HiveTables

func (c *MeteringV1Client) HiveTables(namespace string) HiveTableInterface

func (*MeteringV1Client) MeteringConfigs

func (c *MeteringV1Client) MeteringConfigs(namespace string) MeteringConfigInterface

func (*MeteringV1Client) PrestoTables

func (c *MeteringV1Client) PrestoTables(namespace string) PrestoTableInterface

func (*MeteringV1Client) RESTClient

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

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

func (*MeteringV1Client) ReportDataSources

func (c *MeteringV1Client) ReportDataSources(namespace string) ReportDataSourceInterface

func (*MeteringV1Client) ReportQueries

func (c *MeteringV1Client) ReportQueries(namespace string) ReportQueryInterface

func (*MeteringV1Client) Reports

func (c *MeteringV1Client) Reports(namespace string) ReportInterface

func (*MeteringV1Client) StorageLocations

func (c *MeteringV1Client) StorageLocations(namespace string) StorageLocationInterface

type PrestoTableExpansion

type PrestoTableExpansion interface{}

type PrestoTableInterface

type PrestoTableInterface interface {
	Create(ctx context.Context, prestoTable *v1.PrestoTable, opts metav1.CreateOptions) (*v1.PrestoTable, error)
	Update(ctx context.Context, prestoTable *v1.PrestoTable, opts metav1.UpdateOptions) (*v1.PrestoTable, error)
	UpdateStatus(ctx context.Context, prestoTable *v1.PrestoTable, opts metav1.UpdateOptions) (*v1.PrestoTable, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PrestoTable, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PrestoTableList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PrestoTable, err error)
	PrestoTableExpansion
}

PrestoTableInterface has methods to work with PrestoTable resources.

type PrestoTablesGetter

type PrestoTablesGetter interface {
	PrestoTables(namespace string) PrestoTableInterface
}

PrestoTablesGetter has a method to return a PrestoTableInterface. A group's client should implement this interface.

type ReportDataSourceExpansion

type ReportDataSourceExpansion interface{}

type ReportDataSourceInterface

type ReportDataSourceInterface interface {
	Create(ctx context.Context, reportDataSource *v1.ReportDataSource, opts metav1.CreateOptions) (*v1.ReportDataSource, error)
	Update(ctx context.Context, reportDataSource *v1.ReportDataSource, opts metav1.UpdateOptions) (*v1.ReportDataSource, error)
	UpdateStatus(ctx context.Context, reportDataSource *v1.ReportDataSource, opts metav1.UpdateOptions) (*v1.ReportDataSource, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ReportDataSource, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ReportDataSourceList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ReportDataSource, err error)
	ReportDataSourceExpansion
}

ReportDataSourceInterface has methods to work with ReportDataSource resources.

type ReportDataSourcesGetter

type ReportDataSourcesGetter interface {
	ReportDataSources(namespace string) ReportDataSourceInterface
}

ReportDataSourcesGetter has a method to return a ReportDataSourceInterface. A group's client should implement this interface.

type ReportExpansion

type ReportExpansion interface{}

type ReportInterface

type ReportInterface interface {
	Create(ctx context.Context, report *v1.Report, opts metav1.CreateOptions) (*v1.Report, error)
	Update(ctx context.Context, report *v1.Report, opts metav1.UpdateOptions) (*v1.Report, error)
	UpdateStatus(ctx context.Context, report *v1.Report, opts metav1.UpdateOptions) (*v1.Report, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Report, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ReportList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Report, err error)
	ReportExpansion
}

ReportInterface has methods to work with Report resources.

type ReportQueriesGetter

type ReportQueriesGetter interface {
	ReportQueries(namespace string) ReportQueryInterface
}

ReportQueriesGetter has a method to return a ReportQueryInterface. A group's client should implement this interface.

type ReportQueryExpansion

type ReportQueryExpansion interface{}

type ReportQueryInterface

type ReportQueryInterface interface {
	Create(ctx context.Context, reportQuery *v1.ReportQuery, opts metav1.CreateOptions) (*v1.ReportQuery, error)
	Update(ctx context.Context, reportQuery *v1.ReportQuery, opts metav1.UpdateOptions) (*v1.ReportQuery, error)
	UpdateStatus(ctx context.Context, reportQuery *v1.ReportQuery, opts metav1.UpdateOptions) (*v1.ReportQuery, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ReportQuery, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ReportQueryList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ReportQuery, err error)
	ReportQueryExpansion
}

ReportQueryInterface has methods to work with ReportQuery resources.

type ReportsGetter

type ReportsGetter interface {
	Reports(namespace string) ReportInterface
}

ReportsGetter has a method to return a ReportInterface. A group's client should implement this interface.

type StorageLocationExpansion

type StorageLocationExpansion interface{}

type StorageLocationInterface

type StorageLocationInterface interface {
	Create(ctx context.Context, storageLocation *v1.StorageLocation, opts metav1.CreateOptions) (*v1.StorageLocation, error)
	Update(ctx context.Context, storageLocation *v1.StorageLocation, opts metav1.UpdateOptions) (*v1.StorageLocation, error)
	UpdateStatus(ctx context.Context, storageLocation *v1.StorageLocation, opts metav1.UpdateOptions) (*v1.StorageLocation, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.StorageLocation, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.StorageLocationList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StorageLocation, err error)
	StorageLocationExpansion
}

StorageLocationInterface has methods to work with StorageLocation resources.

type StorageLocationsGetter

type StorageLocationsGetter interface {
	StorageLocations(namespace string) StorageLocationInterface
}

StorageLocationsGetter has a method to return a StorageLocationInterface. A group's client should implement this interface.

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