...

Package versioned

import "github.com/openshift/client-go/operator/clientset/versioned"
Overview
Index
Subdirectories

Overview ▾

This package has the automatically generated clientset.

type Clientset

Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.

type Clientset struct {
    *discovery.DiscoveryClient
    // contains filtered or unexported fields
}

func New

func New(c rest.Interface) *Clientset

New creates a new Clientset for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new Clientset for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfig will generate a rate-limiter in configShallowCopy.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *Clientset

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

func (*Clientset) Discovery

func (c *Clientset) Discovery() discovery.DiscoveryInterface

Discovery retrieves the DiscoveryClient

func (*Clientset) OperatorV1

func (c *Clientset) OperatorV1() operatorv1.OperatorV1Interface

OperatorV1 retrieves the OperatorV1Client

func (*Clientset) OperatorV1alpha1

func (c *Clientset) OperatorV1alpha1() operatorv1alpha1.OperatorV1alpha1Interface

OperatorV1alpha1 retrieves the OperatorV1alpha1Client

type Interface

type Interface interface {
    Discovery() discovery.DiscoveryInterface
    OperatorV1() operatorv1.OperatorV1Interface
    OperatorV1alpha1() operatorv1alpha1.OperatorV1alpha1Interface
}

Subdirectories

Name Synopsis
..
fake This package has the automatically generated fake clientset.
scheme This package contains the scheme of the automatically generated clientset.
typed
operator
v1 This package has the automatically generated typed clients.
fake Package fake has the automatically generated clients.
v1alpha1 This package has the automatically generated typed clients.
fake Package fake has the automatically generated clients.