versioned

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Copyright 2018 The Knative Authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This package has the automatically generated clientset.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

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

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

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.

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) Tekton deprecated

Deprecated: Tekton retrieves the default version of TektonClient. Please explicitly pick a version.

func (*Clientset) TektonV1alpha1

func (c *Clientset) TektonV1alpha1() tektonv1alpha1.TektonV1alpha1Interface

TektonV1alpha1 retrieves the TektonV1alpha1Client

type Interface

type Interface interface {
	Discovery() discovery.DiscoveryInterface
	TektonV1alpha1() tektonv1alpha1.TektonV1alpha1Interface
	// Deprecated: please explicitly pick a version if possible.
	Tekton() tektonv1alpha1.TektonV1alpha1Interface
}

Directories

Path Synopsis
typed

Jump to

Keyboard shortcuts

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