v1

package
v0.0.0-...-82afb99 Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2017 Google LLC

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

https://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 typed clients.

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

https://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

https://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

https://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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleV1Client

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

ExampleV1Client is used to interact with features provided by the example.com group.

func New

New creates a new ExampleV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ExampleV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ExampleV1Client

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

func (*ExampleV1Client) Foos

func (c *ExampleV1Client) Foos(namespace string) FooInterface

func (*ExampleV1Client) RESTClient

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

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

type ExampleV1Interface

type ExampleV1Interface interface {
	RESTClient() rest.Interface
	FoosGetter
}

type FooExpansion

type FooExpansion interface{}

type FooInterface

type FooInterface interface {
	Create(*v1.Foo) (*v1.Foo, error)
	Update(*v1.Foo) (*v1.Foo, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.Foo, error)
	List(opts meta_v1.ListOptions) (*v1.FooList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Foo, err error)
	FooExpansion
}

FooInterface has methods to work with Foo resources.

type FoosGetter

type FoosGetter interface {
	Foos(namespace string) FooInterface
}

FoosGetter has a method to return a FooInterface. A group's client should implement this interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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