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 IamV1Client ¶
type IamV1Client struct {
// contains filtered or unexported fields
}
IamV1Client is used to interact with features provided by the iam.openfaas.com group.
func New ¶
func New(c rest.Interface) *IamV1Client
New creates a new IamV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*IamV1Client, error)
NewForConfig creates a new IamV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new IamV1Client 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) *IamV1Client
NewForConfigOrDie creates a new IamV1Client for the given config and panics if there is an error in the config.
func (*IamV1Client) JwtIssuers ¶
func (c *IamV1Client) JwtIssuers(namespace string) JwtIssuerInterface
func (*IamV1Client) Policies ¶
func (c *IamV1Client) Policies(namespace string) PolicyInterface
func (*IamV1Client) RESTClient ¶
func (c *IamV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*IamV1Client) Roles ¶
func (c *IamV1Client) Roles(namespace string) RoleInterface
type IamV1Interface ¶
type IamV1Interface interface { RESTClient() rest.Interface JwtIssuersGetter PoliciesGetter RolesGetter }
type JwtIssuerExpansion ¶
type JwtIssuerExpansion interface{}
type JwtIssuerInterface ¶
type JwtIssuerInterface interface { Create(ctx context.Context, jwtIssuer *v1.JwtIssuer, opts metav1.CreateOptions) (*v1.JwtIssuer, error) Update(ctx context.Context, jwtIssuer *v1.JwtIssuer, opts metav1.UpdateOptions) (*v1.JwtIssuer, 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.JwtIssuer, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.JwtIssuerList, 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.JwtIssuer, err error) Apply(ctx context.Context, jwtIssuer *iamv1.JwtIssuerApplyConfiguration, opts metav1.ApplyOptions) (result *v1.JwtIssuer, err error) JwtIssuerExpansion }
JwtIssuerInterface has methods to work with JwtIssuer resources.
type JwtIssuersGetter ¶
type JwtIssuersGetter interface {
JwtIssuers(namespace string) JwtIssuerInterface
}
JwtIssuersGetter has a method to return a JwtIssuerInterface. A group's client should implement this interface.
type PoliciesGetter ¶
type PoliciesGetter interface {
Policies(namespace string) PolicyInterface
}
PoliciesGetter has a method to return a PolicyInterface. A group's client should implement this interface.
type PolicyExpansion ¶
type PolicyExpansion interface{}
type PolicyInterface ¶
type PolicyInterface interface { Create(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions) (*v1.Policy, error) Update(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (*v1.Policy, 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.Policy, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PolicyList, 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.Policy, err error) Apply(ctx context.Context, policy *iamv1.PolicyApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Policy, err error) PolicyExpansion }
PolicyInterface has methods to work with Policy resources.
type RoleExpansion ¶
type RoleExpansion interface{}
type RoleInterface ¶
type RoleInterface interface { Create(ctx context.Context, role *v1.Role, opts metav1.CreateOptions) (*v1.Role, error) Update(ctx context.Context, role *v1.Role, opts metav1.UpdateOptions) (*v1.Role, 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.Role, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RoleList, 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.Role, err error) Apply(ctx context.Context, role *iamv1.RoleApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Role, err error) RoleExpansion }
RoleInterface has methods to work with Role resources.
type RolesGetter ¶
type RolesGetter interface {
Roles(namespace string) RoleInterface
}
RolesGetter has a method to return a RoleInterface. A group's client should implement this interface.