Documentation ¶
Index ¶
- type Client
- func (c *Client) AddRelationshipToPlatform(commandID int, platformID int) error
- func (c *Client) AddRelationshipToRepository(commandID int, repositoryID int) error
- func (c *Client) Create(command *models.Command) (*models.Command, error)
- func (c *Client) Delete(id int) error
- func (c *Client) Get(id int) (*models.Command, error)
- func (c *Client) List(opts *models.ListOptions) ([]*models.Command, error)
- func (c *Client) RemoveRelationshipToPlatform(commandID int, platformID int) error
- func (c *Client) RemoveRelationshipToRepository(commandID int, repositoryID int) error
- func (c *Client) Update(repo *models.Command) (*models.Command, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client contains methods for command related resource actions.
func (*Client) AddRelationshipToPlatform ¶
AddRelationshipToPlatform adds a relationship to a platform.
func (*Client) AddRelationshipToRepository ¶
AddRelationshipToRepository adds a relationship to a repository.
func (*Client) RemoveRelationshipToPlatform ¶
RemoveRelationshipToPlatform adds a relationship to a platform.
func (*Client) RemoveRelationshipToRepository ¶
RemoveRelationshipToRepository adds a relationship to a repository.
Click to show internal directories.
Click to hide internal directories.