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