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.
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.
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 ¶
- type ClusterExpansion
- type ClusterInterface
- type ClusterV1alpha1Client
- func (c *ClusterV1alpha1Client) Clusters(namespace string) ClusterInterface
- func (c *ClusterV1alpha1Client) MachineDeployments(namespace string) MachineDeploymentInterface
- func (c *ClusterV1alpha1Client) MachineSets(namespace string) MachineSetInterface
- func (c *ClusterV1alpha1Client) Machines(namespace string) MachineInterface
- func (c *ClusterV1alpha1Client) RESTClient() rest.Interface
- type ClusterV1alpha1Interface
- type ClustersGetter
- type MachineDeploymentExpansion
- type MachineDeploymentInterface
- type MachineDeploymentsGetter
- type MachineExpansion
- type MachineInterface
- type MachineSetExpansion
- type MachineSetInterface
- type MachineSetsGetter
- type MachinesGetter
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) MachineDeployments ¶
func (c *ClusterV1alpha1Client) MachineDeployments(namespace string) MachineDeploymentInterface
func (*ClusterV1alpha1Client) MachineSets ¶
func (c *ClusterV1alpha1Client) MachineSets(namespace string) MachineSetInterface
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 MachineDeploymentsGetter MachineSetsGetter }
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 MachineDeploymentExpansion ¶
type MachineDeploymentExpansion interface{}
type MachineDeploymentInterface ¶
type MachineDeploymentInterface interface { Create(*v1alpha1.MachineDeployment) (*v1alpha1.MachineDeployment, error) Update(*v1alpha1.MachineDeployment) (*v1alpha1.MachineDeployment, error) UpdateStatus(*v1alpha1.MachineDeployment) (*v1alpha1.MachineDeployment, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.MachineDeployment, error) List(opts v1.ListOptions) (*v1alpha1.MachineDeploymentList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MachineDeployment, err error) MachineDeploymentExpansion }
MachineDeploymentInterface has methods to work with MachineDeployment resources.
type MachineDeploymentsGetter ¶
type MachineDeploymentsGetter interface {
MachineDeployments(namespace string) MachineDeploymentInterface
}
MachineDeploymentsGetter has a method to return a MachineDeploymentInterface. 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 MachineSetExpansion ¶
type MachineSetExpansion interface{}
type MachineSetInterface ¶
type MachineSetInterface interface { Create(*v1alpha1.MachineSet) (*v1alpha1.MachineSet, error) Update(*v1alpha1.MachineSet) (*v1alpha1.MachineSet, error) UpdateStatus(*v1alpha1.MachineSet) (*v1alpha1.MachineSet, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.MachineSet, error) List(opts v1.ListOptions) (*v1alpha1.MachineSetList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MachineSet, err error) MachineSetExpansion }
MachineSetInterface has methods to work with MachineSet resources.
type MachineSetsGetter ¶
type MachineSetsGetter interface {
MachineSets(namespace string) MachineSetInterface
}
MachineSetsGetter has a method to return a MachineSetInterface. A group's client should implement this interface.
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.