clientset

package
v0.0.0-...-468f387 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2017 License: Apache-2.0 Imports: 28 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtendedCodec = &extendedCodec{}

TODO(@sadlil): Find a better way to replace ExtendedCodec to encode and decode objects. Follow the guide to replace it with api.Codec and api.ParameterCodecs.

Functions

This section is empty.

Types

type AlertImpl

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

func (*AlertImpl) Create

func (c *AlertImpl) Create(alert *aci.Alert) (result *aci.Alert, err error)

func (*AlertImpl) Delete

func (c *AlertImpl) Delete(name string) (err error)

func (*AlertImpl) Get

func (c *AlertImpl) Get(name string) (result *aci.Alert, err error)

func (*AlertImpl) List

func (c *AlertImpl) List(opts api.ListOptions) (result *aci.AlertList, err error)

func (*AlertImpl) Update

func (c *AlertImpl) Update(alert *aci.Alert) (result *aci.Alert, err error)

func (*AlertImpl) UpdateStatus

func (c *AlertImpl) UpdateStatus(alert *aci.Alert) (result *aci.Alert, err error)

func (*AlertImpl) Watch

func (c *AlertImpl) Watch(opts api.ListOptions) (watch.Interface, error)

type AlertInterface

type AlertInterface interface {
	List(opts api.ListOptions) (*aci.AlertList, error)
	Get(name string) (*aci.Alert, error)
	Create(Alert *aci.Alert) (*aci.Alert, error)
	Update(Alert *aci.Alert) (*aci.Alert, error)
	Delete(name string) error
	Watch(opts api.ListOptions) (watch.Interface, error)
	UpdateStatus(Alert *aci.Alert) (*aci.Alert, error)
}

type AlertNamespacer

type AlertNamespacer interface {
	Alert(namespace string) AlertInterface
}

type AppsCodeExtensionInterface

type AppsCodeExtensionInterface interface {
	RESTClient() rest.Interface
	IngressNamespacer
	AlertNamespacer
	CertificateNamespacer
}

type AppsCodeExtensionsClient

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

AppsCodeExtensionsClient is used to interact with experimental Kubernetes features. Features of Extensions group are not supported and may be changed or removed in incompatible ways at any time.

func NewACExtensionsForConfig

func NewACExtensionsForConfig(c *rest.Config) (*AppsCodeExtensionsClient, error)

NewAppsCodeExtensions creates a new AppsCodeExtensionsClient for the given config. This client provides access to experimental Kubernetes features. Features of Extensions group are not supported and may be changed or removed in incompatible ways at any time.

func NewACExtensionsForConfigOrDie

func NewACExtensionsForConfigOrDie(c *rest.Config) *AppsCodeExtensionsClient

NewAppsCodeExtensionsOrDie creates a new AppsCodeExtensionsClient for the given config and panics if there is an error in the config. Features of Extensions group are not supported and may be changed or removed in incompatible ways at any time.

func NewNewACExtensions

func NewNewACExtensions(c rest.Interface) *AppsCodeExtensionsClient

New creates a new ExtensionsV1beta1Client for the given RESTClient.

func (*AppsCodeExtensionsClient) Alert

func (a *AppsCodeExtensionsClient) Alert(namespace string) AlertInterface

func (*AppsCodeExtensionsClient) Certificate

func (a *AppsCodeExtensionsClient) Certificate(namespace string) CertificateInterface

func (*AppsCodeExtensionsClient) Ingress

func (a *AppsCodeExtensionsClient) Ingress(namespace string) IngressInterface

func (*AppsCodeExtensionsClient) RESTClient

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

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

type CertificateImpl

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

func (*CertificateImpl) Create

func (c *CertificateImpl) Create(certificate *aci.Certificate) (result *aci.Certificate, err error)

func (*CertificateImpl) Delete

func (c *CertificateImpl) Delete(name string) (err error)

func (*CertificateImpl) Get

func (c *CertificateImpl) Get(name string) (result *aci.Certificate, err error)

func (*CertificateImpl) List

func (c *CertificateImpl) List(opts api.ListOptions) (result *aci.CertificateList, err error)

func (*CertificateImpl) Update

func (c *CertificateImpl) Update(certificate *aci.Certificate) (result *aci.Certificate, err error)

func (*CertificateImpl) UpdateStatus

func (c *CertificateImpl) UpdateStatus(certificate *aci.Certificate) (result *aci.Certificate, err error)

func (*CertificateImpl) Watch

func (c *CertificateImpl) Watch(opts api.ListOptions) (watch.Interface, error)

type CertificateInterface

type CertificateInterface interface {
	List(opts api.ListOptions) (*aci.CertificateList, error)
	Get(name string) (*aci.Certificate, error)
	Create(certificate *aci.Certificate) (*aci.Certificate, error)
	Update(certificate *aci.Certificate) (*aci.Certificate, error)
	Delete(name string) error
	Watch(opts api.ListOptions) (watch.Interface, error)
	UpdateStatus(certificate *aci.Certificate) (*aci.Certificate, error)
}

type CertificateNamespacer

type CertificateNamespacer interface {
	Certificate(namespace string) CertificateInterface
}

type DirectCodecFactory

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

DirectCodecFactory provides methods for retrieving "DirectCodec"s, which do not do conversion.

func (DirectCodecFactory) Decode

func (e DirectCodecFactory) Decode(data []byte, gvk *schema.GroupVersionKind, obj runtime.Object) (runtime.Object, *schema.GroupVersionKind, error)

func (DirectCodecFactory) DecodeParameters

func (DirectCodecFactory) DecodeParameters(parameters url.Values, from schema.GroupVersion, into runtime.Object) error

DecodeParameters converts the provided url.Values into an object of type From with the kind of into, and then converts that object to into (if necessary). Returns an error if the operation cannot be completed.

func (DirectCodecFactory) DecoderToVersion

func (f DirectCodecFactory) DecoderToVersion(serializer runtime.Decoder, _ runtime.GroupVersioner) runtime.Decoder

DecoderToVersion returns an decoder that does not do conversion. gv is ignored.

func (DirectCodecFactory) Encode

func (e DirectCodecFactory) Encode(obj runtime.Object, w io.Writer) error

func (DirectCodecFactory) EncodeParameters

func (c DirectCodecFactory) EncodeParameters(obj runtime.Object, to schema.GroupVersion) (url.Values, error)

EncodeParameters converts the provided object into the to version, then converts that object to url.Values. Returns an error if conversion is not possible.

func (DirectCodecFactory) EncoderForVersion

func (f DirectCodecFactory) EncoderForVersion(serializer runtime.Encoder, _ runtime.GroupVersioner) runtime.Encoder

EncoderForVersion returns an encoder that does not do conversion. gv is ignored.

func (DirectCodecFactory) SupportedMediaTypes

func (f DirectCodecFactory) SupportedMediaTypes() []runtime.SerializerInfo

SupportedMediaTypes returns the RFC2046 media types that this factory has serializers for.

type IngressImpl

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

ExtendedIngress implements ExtendedIngressNamespacer interface

func (*IngressImpl) Create

func (c *IngressImpl) Create(extendedIngress *aci.Ingress) (result *aci.Ingress, err error)

Create creates a new ExtendedIngress.

func (*IngressImpl) Delete

func (c *IngressImpl) Delete(name string) (err error)

Delete deletes a ExtendedIngress, returns error if one occurs.

func (*IngressImpl) Get

func (c *IngressImpl) Get(name string) (result *aci.Ingress, err error)

Get returns information about a particular ExtendedIngress.

func (*IngressImpl) List

func (c *IngressImpl) List(opts api.ListOptions) (result *aci.IngressList, err error)

List returns a list of ExtendedIngress that match the label and field selectors.

func (*IngressImpl) Update

func (c *IngressImpl) Update(extendedIngress *aci.Ingress) (result *aci.Ingress, err error)

Update updates an existing ExtendedIngress.

func (*IngressImpl) UpdateStatus

func (c *IngressImpl) UpdateStatus(extendedIngress *aci.Ingress) (result *aci.Ingress, err error)

UpdateStatus takes the name of the ExtendedIngress and the new status. Returns the server's representation of the ExtendedIngress, and an error, if it occurs.

func (*IngressImpl) Watch

func (c *IngressImpl) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested ExtendedIngress.

type IngressInterface

type IngressInterface interface {
	List(opts api.ListOptions) (*aci.IngressList, error)
	Get(name string) (*aci.Ingress, error)
	Create(ExtendedIngress *aci.Ingress) (*aci.Ingress, error)
	Update(ExtendedIngress *aci.Ingress) (*aci.Ingress, error)
	Delete(name string) error
	Watch(opts api.ListOptions) (watch.Interface, error)
	UpdateStatus(ExtendedIngress *aci.Ingress) (*aci.Ingress, error)
}

ExtendedIngressInterface exposes methods to work on ExtendedIngress resources.

type IngressNamespacer

type IngressNamespacer interface {
	Ingress(namespace string) IngressInterface
}

ExtendedIngressNamespacer has methods to work with ExtendedIngress resources in a namespace

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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