...

Package v1beta1

import "k8s.io/client-go/kubernetes/typed/extensions/v1beta1"
Overview
Index
Subdirectories

Overview ▾

This package has the automatically generated typed clients.

type DaemonSetExpansion

type DaemonSetExpansion interface{}

type DaemonSetInterface

DaemonSetInterface has methods to work with DaemonSet resources.

type DaemonSetInterface interface {
    Create(ctx context.Context, daemonSet *v1beta1.DaemonSet, opts v1.CreateOptions) (*v1beta1.DaemonSet, error)
    Update(ctx context.Context, daemonSet *v1beta1.DaemonSet, opts v1.UpdateOptions) (*v1beta1.DaemonSet, error)
    UpdateStatus(ctx context.Context, daemonSet *v1beta1.DaemonSet, opts v1.UpdateOptions) (*v1beta1.DaemonSet, error)
    Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
    DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.DaemonSet, error)
    List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DaemonSetList, error)
    Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
    Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DaemonSet, err error)
    Apply(ctx context.Context, daemonSet *extensionsv1beta1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.DaemonSet, err error)
    ApplyStatus(ctx context.Context, daemonSet *extensionsv1beta1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.DaemonSet, err error)
    DaemonSetExpansion
}

type DaemonSetsGetter

DaemonSetsGetter has a method to return a DaemonSetInterface. A group's client should implement this interface.

type DaemonSetsGetter interface {
    DaemonSets(namespace string) DaemonSetInterface
}

type DeploymentExpansion

The DeploymentExpansion interface allows manually adding extra methods to the DeploymentInterface.

type DeploymentExpansion interface {
    Rollback(context.Context, *v1beta1.DeploymentRollback, metav1.CreateOptions) error
}

type DeploymentInterface

DeploymentInterface has methods to work with Deployment resources.

type DeploymentInterface interface {
    Create(ctx context.Context, deployment *v1beta1.Deployment, opts v1.CreateOptions) (*v1beta1.Deployment, error)
    Update(ctx context.Context, deployment *v1beta1.Deployment, opts v1.UpdateOptions) (*v1beta1.Deployment, error)
    UpdateStatus(ctx context.Context, deployment *v1beta1.Deployment, opts v1.UpdateOptions) (*v1beta1.Deployment, error)
    Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
    DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Deployment, error)
    List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DeploymentList, error)
    Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
    Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Deployment, err error)
    Apply(ctx context.Context, deployment *extensionsv1beta1.DeploymentApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Deployment, err error)
    ApplyStatus(ctx context.Context, deployment *extensionsv1beta1.DeploymentApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Deployment, err error)
    GetScale(ctx context.Context, deploymentName string, options v1.GetOptions) (*v1beta1.Scale, error)
    UpdateScale(ctx context.Context, deploymentName string, scale *v1beta1.Scale, opts v1.UpdateOptions) (*v1beta1.Scale, error)
    ApplyScale(ctx context.Context, deploymentName string, scale *extensionsv1beta1.ScaleApplyConfiguration, opts v1.ApplyOptions) (*v1beta1.Scale, error)

    DeploymentExpansion
}

type DeploymentsGetter

DeploymentsGetter has a method to return a DeploymentInterface. A group's client should implement this interface.

type DeploymentsGetter interface {
    Deployments(namespace string) DeploymentInterface
}

type ExtensionsV1beta1Client

ExtensionsV1beta1Client is used to interact with features provided by the extensions group.

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

func New

func New(c rest.Interface) *ExtensionsV1beta1Client

New creates a new ExtensionsV1beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ExtensionsV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ExtensionsV1beta1Client, error)

NewForConfigAndClient creates a new ExtensionsV1beta1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ExtensionsV1beta1Client

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

func (*ExtensionsV1beta1Client) DaemonSets

func (c *ExtensionsV1beta1Client) DaemonSets(namespace string) DaemonSetInterface

func (*ExtensionsV1beta1Client) Deployments

func (c *ExtensionsV1beta1Client) Deployments(namespace string) DeploymentInterface

func (*ExtensionsV1beta1Client) Ingresses

func (c *ExtensionsV1beta1Client) Ingresses(namespace string) IngressInterface

func (*ExtensionsV1beta1Client) NetworkPolicies

func (c *ExtensionsV1beta1Client) NetworkPolicies(namespace string) NetworkPolicyInterface

func (*ExtensionsV1beta1Client) RESTClient

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

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

func (*ExtensionsV1beta1Client) ReplicaSets

func (c *ExtensionsV1beta1Client) ReplicaSets(namespace string) ReplicaSetInterface

type ExtensionsV1beta1Interface

type ExtensionsV1beta1Interface interface {
    RESTClient() rest.Interface
    DaemonSetsGetter
    DeploymentsGetter
    IngressesGetter
    NetworkPoliciesGetter
    ReplicaSetsGetter
}

type IngressExpansion

type IngressExpansion interface{}

type IngressInterface

IngressInterface has methods to work with Ingress resources.

type IngressInterface interface {
    Create(ctx context.Context, ingress *v1beta1.Ingress, opts v1.CreateOptions) (*v1beta1.Ingress, error)
    Update(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (*v1beta1.Ingress, error)
    UpdateStatus(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (*v1beta1.Ingress, error)
    Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
    DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Ingress, error)
    List(ctx context.Context, opts v1.ListOptions) (*v1beta1.IngressList, error)
    Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
    Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Ingress, err error)
    Apply(ctx context.Context, ingress *extensionsv1beta1.IngressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Ingress, err error)
    ApplyStatus(ctx context.Context, ingress *extensionsv1beta1.IngressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Ingress, err error)
    IngressExpansion
}

type IngressesGetter

IngressesGetter has a method to return a IngressInterface. A group's client should implement this interface.

type IngressesGetter interface {
    Ingresses(namespace string) IngressInterface
}

type NetworkPoliciesGetter

NetworkPoliciesGetter has a method to return a NetworkPolicyInterface. A group's client should implement this interface.

type NetworkPoliciesGetter interface {
    NetworkPolicies(namespace string) NetworkPolicyInterface
}

type NetworkPolicyExpansion

type NetworkPolicyExpansion interface{}

type NetworkPolicyInterface

NetworkPolicyInterface has methods to work with NetworkPolicy resources.

type NetworkPolicyInterface interface {
    Create(ctx context.Context, networkPolicy *v1beta1.NetworkPolicy, opts v1.CreateOptions) (*v1beta1.NetworkPolicy, error)
    Update(ctx context.Context, networkPolicy *v1beta1.NetworkPolicy, opts v1.UpdateOptions) (*v1beta1.NetworkPolicy, error)
    Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
    DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.NetworkPolicy, error)
    List(ctx context.Context, opts v1.ListOptions) (*v1beta1.NetworkPolicyList, error)
    Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
    Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.NetworkPolicy, err error)
    Apply(ctx context.Context, networkPolicy *extensionsv1beta1.NetworkPolicyApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.NetworkPolicy, err error)
    NetworkPolicyExpansion
}

type ReplicaSetExpansion

type ReplicaSetExpansion interface{}

type ReplicaSetInterface

ReplicaSetInterface has methods to work with ReplicaSet resources.

type ReplicaSetInterface interface {
    Create(ctx context.Context, replicaSet *v1beta1.ReplicaSet, opts v1.CreateOptions) (*v1beta1.ReplicaSet, error)
    Update(ctx context.Context, replicaSet *v1beta1.ReplicaSet, opts v1.UpdateOptions) (*v1beta1.ReplicaSet, error)
    UpdateStatus(ctx context.Context, replicaSet *v1beta1.ReplicaSet, opts v1.UpdateOptions) (*v1beta1.ReplicaSet, error)
    Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
    DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.ReplicaSet, error)
    List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ReplicaSetList, error)
    Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
    Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ReplicaSet, err error)
    Apply(ctx context.Context, replicaSet *extensionsv1beta1.ReplicaSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ReplicaSet, err error)
    ApplyStatus(ctx context.Context, replicaSet *extensionsv1beta1.ReplicaSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ReplicaSet, err error)
    GetScale(ctx context.Context, replicaSetName string, options v1.GetOptions) (*v1beta1.Scale, error)
    UpdateScale(ctx context.Context, replicaSetName string, scale *v1beta1.Scale, opts v1.UpdateOptions) (*v1beta1.Scale, error)
    ApplyScale(ctx context.Context, replicaSetName string, scale *extensionsv1beta1.ScaleApplyConfiguration, opts v1.ApplyOptions) (*v1beta1.Scale, error)

    ReplicaSetExpansion
}

type ReplicaSetsGetter

ReplicaSetsGetter has a method to return a ReplicaSetInterface. A group's client should implement this interface.

type ReplicaSetsGetter interface {
    ReplicaSets(namespace string) ReplicaSetInterface
}

Subdirectories

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