Documentation ¶
Index ¶
- type Option
- type PortClient
- func (c *PortClient) Authenticate(ctx context.Context, clientID, clientSecret string) (string, error)
- func (c *PortClient) CreateEntity(ctx context.Context, e *port.Entity, runID string) (*port.Entity, error)
- func (c *PortClient) DeleteEntity(ctx context.Context, id string, blueprint string) error
- func (c *PortClient) ReadEntity(ctx context.Context, id string, blueprint string) (*port.Entity, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*PortClient)
func WithClientID ¶
func WithClientSecret ¶
func WithHeader ¶
type PortClient ¶
func (*PortClient) Authenticate ¶
func (*PortClient) CreateEntity ¶
func (*PortClient) DeleteEntity ¶
func (*PortClient) ReadEntity ¶
Click to show internal directories.
Click to hide internal directories.