Documentation ¶
Overview ¶
Copyright 2018 The Kubepack 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 Kubepack 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 Kubepack 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 Kubepack 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 Kubepack 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 AppsClient ¶
type AppsClient struct {
// contains filtered or unexported fields
}
AppsClient is used to interact with features provided by the apps.kubepack.com group.
func New ¶
func New(c rest.Interface) *AppsClient
New creates a new AppsClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AppsClient, error)
NewForConfig creates a new AppsClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AppsClient
NewForConfigOrDie creates a new AppsClient for the given config and panics if there is an error in the config.
func (*AppsClient) Packs ¶
func (c *AppsClient) Packs(namespace string) PackInterface
func (*AppsClient) RESTClient ¶
func (c *AppsClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AppsClient) Users ¶
func (c *AppsClient) Users() UserInterface
type AppsInterface ¶
type AppsInterface interface { RESTClient() rest.Interface PacksGetter UsersGetter }
type PackExpansion ¶
type PackExpansion interface{}
type PackInterface ¶
type PackInterface interface { Create(*apps.Pack) (*apps.Pack, error) Update(*apps.Pack) (*apps.Pack, error) UpdateStatus(*apps.Pack) (*apps.Pack, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apps.Pack, error) List(opts v1.ListOptions) (*apps.PackList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.Pack, err error) PackExpansion }
PackInterface has methods to work with Pack resources.
type PacksGetter ¶
type PacksGetter interface {
Packs(namespace string) PackInterface
}
PacksGetter has a method to return a PackInterface. A group's client should implement this interface.
type UserExpansion ¶
type UserExpansion interface{}
type UserInterface ¶
type UserInterface interface { Create(*apps.User) (*apps.User, error) Update(*apps.User) (*apps.User, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apps.User, error) List(opts v1.ListOptions) (*apps.UserList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.User, err error) UserExpansion }
UserInterface has methods to work with User resources.
type UsersGetter ¶
type UsersGetter interface {
Users() UserInterface
}
UsersGetter has a method to return a UserInterface. A group's client should implement this interface.