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.
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.
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.
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.
This package has the automatically generated typed clients.
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildExpansion ¶
type BuildExpansion interface{}
type BuildInterface ¶
type BuildInterface interface { Create(*v1alpha1.Build) (*v1alpha1.Build, error) Update(*v1alpha1.Build) (*v1alpha1.Build, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Build, error) List(opts v1.ListOptions) (*v1alpha1.BuildList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Build, err error) BuildExpansion }
BuildInterface has methods to work with Build resources.
type BuildTemplateExpansion ¶
type BuildTemplateExpansion interface{}
type BuildTemplateInterface ¶
type BuildTemplateInterface interface { Create(*v1alpha1.BuildTemplate) (*v1alpha1.BuildTemplate, error) Update(*v1alpha1.BuildTemplate) (*v1alpha1.BuildTemplate, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.BuildTemplate, error) List(opts v1.ListOptions) (*v1alpha1.BuildTemplateList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BuildTemplate, err error) BuildTemplateExpansion }
BuildTemplateInterface has methods to work with BuildTemplate resources.
type BuildTemplatesGetter ¶
type BuildTemplatesGetter interface {
BuildTemplates(namespace string) BuildTemplateInterface
}
BuildTemplatesGetter has a method to return a BuildTemplateInterface. A group's client should implement this interface.
type BuildV1alpha1Client ¶
type BuildV1alpha1Client struct {
// contains filtered or unexported fields
}
BuildV1alpha1Client is used to interact with features provided by the build.knative.dev group.
func New ¶
func New(c rest.Interface) *BuildV1alpha1Client
New creates a new BuildV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*BuildV1alpha1Client, error)
NewForConfig creates a new BuildV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *BuildV1alpha1Client
NewForConfigOrDie creates a new BuildV1alpha1Client for the given config and panics if there is an error in the config.
func (*BuildV1alpha1Client) BuildTemplates ¶
func (c *BuildV1alpha1Client) BuildTemplates(namespace string) BuildTemplateInterface
func (*BuildV1alpha1Client) Builds ¶
func (c *BuildV1alpha1Client) Builds(namespace string) BuildInterface
func (*BuildV1alpha1Client) RESTClient ¶
func (c *BuildV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type BuildV1alpha1Interface ¶
type BuildV1alpha1Interface interface { RESTClient() rest.Interface BuildsGetter BuildTemplatesGetter }
type BuildsGetter ¶
type BuildsGetter interface {
Builds(namespace string) BuildInterface
}
BuildsGetter has a method to return a BuildInterface. A group's client should implement this interface.