Documentation ¶
Overview ¶
Copyright 2018 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
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 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
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 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
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 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
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 ConfigV1alpha2Client ¶
type ConfigV1alpha2Client struct {
// contains filtered or unexported fields
}
ConfigV1alpha2Client is used to interact with features provided by the config.istio.io group.
func New ¶
func New(c rest.Interface) *ConfigV1alpha2Client
New creates a new ConfigV1alpha2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ConfigV1alpha2Client, error)
NewForConfig creates a new ConfigV1alpha2Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ConfigV1alpha2Client
NewForConfigOrDie creates a new ConfigV1alpha2Client for the given config and panics if there is an error in the config.
func (*ConfigV1alpha2Client) RESTClient ¶
func (c *ConfigV1alpha2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ConfigV1alpha2Client) RouteRules ¶
func (c *ConfigV1alpha2Client) RouteRules(namespace string) RouteRuleInterface
type ConfigV1alpha2Interface ¶
type ConfigV1alpha2Interface interface { RESTClient() rest.Interface RouteRulesGetter }
type RouteRuleExpansion ¶
type RouteRuleExpansion interface{}
type RouteRuleInterface ¶
type RouteRuleInterface interface { Create(*v1alpha2.RouteRule) (*v1alpha2.RouteRule, error) Update(*v1alpha2.RouteRule) (*v1alpha2.RouteRule, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha2.RouteRule, error) List(opts v1.ListOptions) (*v1alpha2.RouteRuleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.RouteRule, err error) RouteRuleExpansion }
RouteRuleInterface has methods to work with RouteRule resources.
type RouteRulesGetter ¶
type RouteRulesGetter interface {
RouteRules(namespace string) RouteRuleInterface
}
RouteRulesGetter has a method to return a RouteRuleInterface. A group's client should implement this interface.