Documentation ¶
Overview ¶
Copyright 2018 Pressinfra SRL
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 Pressinfra SRL ¶
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 Pressinfra SRL ¶
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 Pressinfra SRL ¶
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 Pressinfra SRL ¶
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 MysqlBackupExpansion ¶
type MysqlBackupExpansion interface{}
type MysqlBackupInterface ¶
type MysqlBackupInterface interface { Create(*v1alpha1.MysqlBackup) (*v1alpha1.MysqlBackup, error) Update(*v1alpha1.MysqlBackup) (*v1alpha1.MysqlBackup, error) UpdateStatus(*v1alpha1.MysqlBackup) (*v1alpha1.MysqlBackup, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.MysqlBackup, error) List(opts v1.ListOptions) (*v1alpha1.MysqlBackupList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MysqlBackup, err error) MysqlBackupExpansion }
MysqlBackupInterface has methods to work with MysqlBackup resources.
type MysqlBackupsGetter ¶
type MysqlBackupsGetter interface {
MysqlBackups(namespace string) MysqlBackupInterface
}
MysqlBackupsGetter has a method to return a MysqlBackupInterface. A group's client should implement this interface.
type MysqlClusterExpansion ¶
type MysqlClusterExpansion interface{}
type MysqlClusterInterface ¶
type MysqlClusterInterface interface { Create(*v1alpha1.MysqlCluster) (*v1alpha1.MysqlCluster, error) Update(*v1alpha1.MysqlCluster) (*v1alpha1.MysqlCluster, error) UpdateStatus(*v1alpha1.MysqlCluster) (*v1alpha1.MysqlCluster, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.MysqlCluster, error) List(opts v1.ListOptions) (*v1alpha1.MysqlClusterList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MysqlCluster, err error) MysqlClusterExpansion }
MysqlClusterInterface has methods to work with MysqlCluster resources.
type MysqlClustersGetter ¶
type MysqlClustersGetter interface {
MysqlClusters(namespace string) MysqlClusterInterface
}
MysqlClustersGetter has a method to return a MysqlClusterInterface. A group's client should implement this interface.
type MysqlV1alpha1Client ¶
type MysqlV1alpha1Client struct {
// contains filtered or unexported fields
}
MysqlV1alpha1Client is used to interact with features provided by the mysql.presslabs.net group.
func New ¶
func New(c rest.Interface) *MysqlV1alpha1Client
New creates a new MysqlV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MysqlV1alpha1Client, error)
NewForConfig creates a new MysqlV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MysqlV1alpha1Client
NewForConfigOrDie creates a new MysqlV1alpha1Client for the given config and panics if there is an error in the config.
func (*MysqlV1alpha1Client) MysqlBackups ¶
func (c *MysqlV1alpha1Client) MysqlBackups(namespace string) MysqlBackupInterface
func (*MysqlV1alpha1Client) MysqlClusters ¶
func (c *MysqlV1alpha1Client) MysqlClusters(namespace string) MysqlClusterInterface
func (*MysqlV1alpha1Client) RESTClient ¶
func (c *MysqlV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type MysqlV1alpha1Interface ¶
type MysqlV1alpha1Interface interface { RESTClient() rest.Interface MysqlBackupsGetter MysqlClustersGetter }