v1

package
v0.0.0-...-b054aa7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 615

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupExpansion

type GroupExpansion interface{}

type GroupInterface

type GroupInterface interface {
	Create(ctx context.Context, group *v1.Group, opts metav1.CreateOptions) (*v1.Group, error)
	Update(ctx context.Context, group *v1.Group, opts metav1.UpdateOptions) (*v1.Group, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Group, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.GroupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Group, err error)
	Apply(ctx context.Context, group *userv1.GroupApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Group, err error)
	GroupExpansion
}

GroupInterface has methods to work with Group resources.

type GroupsGetter

type GroupsGetter interface {
	Groups() GroupInterface
}

GroupsGetter has a method to return a GroupInterface. A group's client should implement this interface.

type IdentitiesGetter

type IdentitiesGetter interface {
	Identities() IdentityInterface
}

IdentitiesGetter has a method to return a IdentityInterface. A group's client should implement this interface.

type IdentityExpansion

type IdentityExpansion interface{}

type IdentityInterface

type IdentityInterface interface {
	Create(ctx context.Context, identity *v1.Identity, opts metav1.CreateOptions) (*v1.Identity, error)
	Update(ctx context.Context, identity *v1.Identity, opts metav1.UpdateOptions) (*v1.Identity, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Identity, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IdentityList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Identity, err error)
	Apply(ctx context.Context, identity *userv1.IdentityApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Identity, err error)
	IdentityExpansion
}

IdentityInterface has methods to work with Identity resources.

type UserExpansion

type UserExpansion interface{}

type UserIdentityMappingExpansion

type UserIdentityMappingExpansion interface{}

type UserIdentityMappingInterface

type UserIdentityMappingInterface interface {
	Create(ctx context.Context, userIdentityMapping *v1.UserIdentityMapping, opts metav1.CreateOptions) (*v1.UserIdentityMapping, error)
	Update(ctx context.Context, userIdentityMapping *v1.UserIdentityMapping, opts metav1.UpdateOptions) (*v1.UserIdentityMapping, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.UserIdentityMapping, error)
	UserIdentityMappingExpansion
}

UserIdentityMappingInterface has methods to work with UserIdentityMapping resources.

type UserIdentityMappingsGetter

type UserIdentityMappingsGetter interface {
	UserIdentityMappings() UserIdentityMappingInterface
}

UserIdentityMappingsGetter has a method to return a UserIdentityMappingInterface. A group's client should implement this interface.

type UserInterface

type UserInterface interface {
	Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (*v1.User, error)
	Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (*v1.User, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.User, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.UserList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.User, err error)
	Apply(ctx context.Context, user *userv1.UserApplyConfiguration, opts metav1.ApplyOptions) (result *v1.User, err error)
	UserExpansion
}

UserInterface has methods to work with User resources.

type UserV1Client

type UserV1Client struct {
	// contains filtered or unexported fields
}

UserV1Client is used to interact with features provided by the user.openshift.io group.

func New

func New(c rest.Interface) *UserV1Client

New creates a new UserV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*UserV1Client, error)

NewForConfig creates a new UserV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*UserV1Client, error)

NewForConfigAndClient creates a new UserV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *UserV1Client

NewForConfigOrDie creates a new UserV1Client for the given config and panics if there is an error in the config.

func (*UserV1Client) Groups

func (c *UserV1Client) Groups() GroupInterface

func (*UserV1Client) Identities

func (c *UserV1Client) Identities() IdentityInterface

func (*UserV1Client) RESTClient

func (c *UserV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*UserV1Client) UserIdentityMappings

func (c *UserV1Client) UserIdentityMappings() UserIdentityMappingInterface

func (*UserV1Client) Users

func (c *UserV1Client) Users() UserInterface

type UsersGetter

type UsersGetter interface {
	Users() UserInterface
}

UsersGetter has a method to return a UserInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL