v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 7 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 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

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.

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.

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationExpansion

type ConfigurationExpansion interface{}

type ConfigurationInterface

type ConfigurationInterface interface {
	Create(*v1alpha1.Configuration) (*v1alpha1.Configuration, error)
	Update(*v1alpha1.Configuration) (*v1alpha1.Configuration, error)
	UpdateStatus(*v1alpha1.Configuration) (*v1alpha1.Configuration, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Configuration, error)
	List(opts v1.ListOptions) (*v1alpha1.ConfigurationList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Configuration, err error)
	ConfigurationExpansion
}

ConfigurationInterface has methods to work with Configuration resources.

type ConfigurationsGetter

type ConfigurationsGetter interface {
	Configurations(namespace string) ConfigurationInterface
}

ConfigurationsGetter has a method to return a ConfigurationInterface. A group's client should implement this interface.

type RevisionExpansion

type RevisionExpansion interface{}

type RevisionInterface

type RevisionInterface interface {
	Create(*v1alpha1.Revision) (*v1alpha1.Revision, error)
	Update(*v1alpha1.Revision) (*v1alpha1.Revision, error)
	UpdateStatus(*v1alpha1.Revision) (*v1alpha1.Revision, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Revision, error)
	List(opts v1.ListOptions) (*v1alpha1.RevisionList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Revision, err error)
	RevisionExpansion
}

RevisionInterface has methods to work with Revision resources.

type RevisionsGetter

type RevisionsGetter interface {
	Revisions(namespace string) RevisionInterface
}

RevisionsGetter has a method to return a RevisionInterface. A group's client should implement this interface.

type RouteExpansion

type RouteExpansion interface{}

type RouteInterface

type RouteInterface interface {
	Create(*v1alpha1.Route) (*v1alpha1.Route, error)
	Update(*v1alpha1.Route) (*v1alpha1.Route, error)
	UpdateStatus(*v1alpha1.Route) (*v1alpha1.Route, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Route, error)
	List(opts v1.ListOptions) (*v1alpha1.RouteList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Route, err error)
	RouteExpansion
}

RouteInterface has methods to work with Route resources.

type RoutesGetter

type RoutesGetter interface {
	Routes(namespace string) RouteInterface
}

RoutesGetter has a method to return a RouteInterface. A group's client should implement this interface.

type ServiceExpansion

type ServiceExpansion interface{}

type ServiceInterface

type ServiceInterface interface {
	Create(*v1alpha1.Service) (*v1alpha1.Service, error)
	Update(*v1alpha1.Service) (*v1alpha1.Service, error)
	UpdateStatus(*v1alpha1.Service) (*v1alpha1.Service, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Service, error)
	List(opts v1.ListOptions) (*v1alpha1.ServiceList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Service, err error)
	ServiceExpansion
}

ServiceInterface has methods to work with Service resources.

type ServicesGetter

type ServicesGetter interface {
	Services(namespace string) ServiceInterface
}

ServicesGetter has a method to return a ServiceInterface. A group's client should implement this interface.

type ServingV1alpha1Client

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

ServingV1alpha1Client is used to interact with features provided by the serving.knative.dev group.

func New

New creates a new ServingV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ServingV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ServingV1alpha1Client

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

func (*ServingV1alpha1Client) Configurations

func (c *ServingV1alpha1Client) Configurations(namespace string) ConfigurationInterface

func (*ServingV1alpha1Client) RESTClient

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

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

func (*ServingV1alpha1Client) Revisions

func (c *ServingV1alpha1Client) Revisions(namespace string) RevisionInterface

func (*ServingV1alpha1Client) Routes

func (c *ServingV1alpha1Client) Routes(namespace string) RouteInterface

func (*ServingV1alpha1Client) Services

func (c *ServingV1alpha1Client) Services(namespace string) ServiceInterface

type ServingV1alpha1Interface

type ServingV1alpha1Interface interface {
	RESTClient() rest.Interface
	ConfigurationsGetter
	RevisionsGetter
	RoutesGetter
	ServicesGetter
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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