Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateSCIMResource(ctx context.Context, req *scimpb.CreateSCIMResourceRequest) (*scimpb.Resource, error)
- func (c *Client) DeleteSCIMResource(ctx context.Context, req *scimpb.DeleteSCIMResourceRequest) (*emptypb.Empty, error)
- func (c *Client) GetSCIMResource(ctx context.Context, req *scimpb.GetSCIMResourceRequest) (*scimpb.Resource, error)
- func (c *Client) ListSCIMResources(ctx context.Context, req *scimpb.ListSCIMResourcesRequest) (*scimpb.ResourceList, error)
- func (c *Client) UpdateSCIMResource(ctx context.Context, req *scimpb.UpdateSCIMResourceRequest) (*scimpb.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the underlying GRPC client with some more human-friendly tooling
func NewClient ¶
func NewClient(grpcClient scimpb.SCIMServiceClient) *Client
func NewClientFromConn ¶
func NewClientFromConn(cc grpc.ClientConnInterface) *Client
func (*Client) CreateSCIMResource ¶
func (c *Client) CreateSCIMResource(ctx context.Context, req *scimpb.CreateSCIMResourceRequest) (*scimpb.Resource, error)
CreateSCIResource creates a new SCIM resource based on a supplied resource description
func (*Client) DeleteSCIMResource ¶
func (c *Client) DeleteSCIMResource(ctx context.Context, req *scimpb.DeleteSCIMResourceRequest) (*emptypb.Empty, error)
DeleteSCIMResource handles a request to delete a resource.
func (*Client) GetSCIMResource ¶
func (c *Client) GetSCIMResource(ctx context.Context, req *scimpb.GetSCIMResourceRequest) (*scimpb.Resource, error)
GetSCIMResource fetches a single SCIM resource from the server by name
func (*Client) ListSCIMResources ¶
func (c *Client) ListSCIMResources(ctx context.Context, req *scimpb.ListSCIMResourcesRequest) (*scimpb.ResourceList, error)
List fetches all (or a subset of all) resources resources of a given type
func (*Client) UpdateSCIMResource ¶
func (c *Client) UpdateSCIMResource(ctx context.Context, req *scimpb.UpdateSCIMResourceRequest) (*scimpb.Resource, error)
UpdateSCIMResource handles a request to update a resource, returning a representation of the updated resource
Click to show internal directories.
Click to hide internal directories.