Documentation ¶
Index ¶
- type Client
- func (c *Client) CreatePackage(pkg *types.Package) (*types.Package, error)
- func (c *Client) DeletePackage(packageId string) (string, error)
- func (c *Client) GetAllPackages() (*types.AllPackages, error)
- func (c *Client) GetCurrentUser() (*types.CurrentUser, error)
- func (c *Client) GetPackage(packageId string) (*types.Package, error)
- func (c *Client) GetPackageWithETag(packageId string) (*types.Package, string, error)
- func (c *Client) GetVersion() (*types.Version, error)
- func (c *Client) SetAccessToken(token string)
- func (c *Client) SetBasicAuth(user, password string)
- func (c *Client) SetDebug()
- func (c *Client) UpdatePackage(pkg *types.Package, eTag string) (*types.Package, error)
- type GoCDClient
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
}
func (*Client) CreatePackage ¶
func (*Client) GetAllPackages ¶
func (c *Client) GetAllPackages() (*types.AllPackages, error)
func (*Client) GetCurrentUser ¶
func (c *Client) GetCurrentUser() (*types.CurrentUser, error)
func (*Client) GetPackageWithETag ¶
func (*Client) SetAccessToken ¶
func (*Client) SetBasicAuth ¶
type GoCDClient ¶
Click to show internal directories.
Click to hide internal directories.