Documentation ¶
Overview ¶
Copyright 2018 The Kubernetes 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 Kubernetes 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 Kubernetes 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 Kubernetes 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 ClusterExpansion ¶
type ClusterExpansion interface{}
type ClusterInterface ¶
type ClusterInterface interface { Create(*v1alpha1.Cluster) (*v1alpha1.Cluster, error) Update(*v1alpha1.Cluster) (*v1alpha1.Cluster, error) UpdateStatus(*v1alpha1.Cluster) (*v1alpha1.Cluster, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Cluster, error) List(opts v1.ListOptions) (*v1alpha1.ClusterList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error) ClusterExpansion }
ClusterInterface has methods to work with Cluster resources.
type ClusterV1alpha1Client ¶
type ClusterV1alpha1Client struct {
// contains filtered or unexported fields
}
ClusterV1alpha1Client is used to interact with features provided by the cluster.k8s.io group.
func New ¶
func New(c rest.Interface) *ClusterV1alpha1Client
New creates a new ClusterV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ClusterV1alpha1Client, error)
NewForConfig creates a new ClusterV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ClusterV1alpha1Client
NewForConfigOrDie creates a new ClusterV1alpha1Client for the given config and panics if there is an error in the config.
func (*ClusterV1alpha1Client) Clusters ¶
func (c *ClusterV1alpha1Client) Clusters(namespace string) ClusterInterface
func (*ClusterV1alpha1Client) Machines ¶
func (c *ClusterV1alpha1Client) Machines(namespace string) MachineInterface
func (*ClusterV1alpha1Client) RESTClient ¶
func (c *ClusterV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ClusterV1alpha1Interface ¶
type ClusterV1alpha1Interface interface { RESTClient() rest.Interface ClustersGetter MachinesGetter }
type ClustersGetter ¶
type ClustersGetter interface {
Clusters(namespace string) ClusterInterface
}
ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.
type MachineExpansion ¶
type MachineExpansion interface{}
type MachineInterface ¶
type MachineInterface interface { Create(*v1alpha1.Machine) (*v1alpha1.Machine, error) Update(*v1alpha1.Machine) (*v1alpha1.Machine, error) UpdateStatus(*v1alpha1.Machine) (*v1alpha1.Machine, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Machine, error) List(opts v1.ListOptions) (*v1alpha1.MachineList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Machine, err error) MachineExpansion }
MachineInterface has methods to work with Machine resources.
type MachinesGetter ¶
type MachinesGetter interface {
Machines(namespace string) MachineInterface
}
MachinesGetter has a method to return a MachineInterface. A group's client should implement this interface.