Documentation
¶
Index ¶
- Constants
- type AddAppMembersRequest
- type AddAppMembersResponse
- type AddAppMembersResponseResult
- type AddAppSharedTeamRequest
- type AddAppSharedTeamResponse
- type AddAppTeamRequest
- type AddAppTeamResponse
- type AddEnterpriseMemberRequest
- type AddEnterpriseMemberResponse
- type AddEnterpriseOrganizationMemberRequest
- type AddEnterpriseOrganizationMemberResponse
- type AddEnterpriseSharedTeamRequest
- type AddEnterpriseSharedTeamResponse
- type AddOrganizationMemberByEmailRequest
- type AddOrganizationMemberByUserNameRequest
- type AddOrganizationMemberResponse
- type AddOrganizationTeamMemberRequest
- type AddOrganizationTeamMemberResponse
- type Application
- type Client
- func (c *Client) AddAppMembers(req *AddAppMembersRequest) (*AddAppMembersResponse, error)
- func (c *Client) AddAppSharedTeam(req *AddAppSharedTeamRequest) (*AddAppSharedTeamResponse, error)
- func (c *Client) AddAppTeam(req *AddAppTeamRequest) (*AddAppTeamResponse, error)
- func (c *Client) AddEnterpriseMember(req *AddEnterpriseMemberRequest) (*AddEnterpriseMemberResponse, error)
- func (c *Client) AddEnterpriseOrganizationMember(req *AddEnterpriseOrganizationMemberRequest) (*AddEnterpriseOrganizationMemberResponse, error)
- func (c *Client) AddEnterpriseSharedTeam(req *AddEnterpriseSharedTeamRequest) (*AddEnterpriseSharedTeamResponse, error)
- func (c *Client) AddOrganizationMemberByEmail(req *AddOrganizationMemberByEmailRequest) (*AddOrganizationMemberResponse, error)
- func (c *Client) AddOrganizationMemberByUserName(req *AddOrganizationMemberByUserNameRequest) (*AddOrganizationMemberResponse, error)
- func (c *Client) AddOrganizationTeamMember(req *AddOrganizationTeamMemberRequest) (*AddOrganizationTeamMemberResponse, error)
- func (c *Client) CreateOrganization(req *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
- func (c *Client) Decode(resp *http.Response, out interface{}) error
- func (c *Client) Delete(httpRequest *HttpRequest) (*http.Response, error)
- func (c *Client) DeleteAppDistributionsPage(req *DeleteAppDistributionsPageRequest) (*DeleteAppDistributionsPageResponse, error)
- func (c *Client) DeleteDistributionsPage(req *DeleteDistributionsPageRequest) (*DeleteDistributionsPageResponse, error)
- func (c *Client) DeleteOrganization(req *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
- func (c *Client) DisableAppProtection(req *DisableAppProtectionRequest) (*DisableAppProtectionResponse, error)
- func (c *Client) EnableAppProtection(req *EnableAppProtectionRequest) (*EnableAppProtectionResponse, error)
- func (c *Client) Get(httpRequest *HttpRequest) (*http.Response, error)
- func (c *Client) GetAppMembers(req *GetAppMembersRequest) (*GetAppMembersResponse, error)
- func (c *Client) GetOrganization(req *GetOrganizationRequest) (*GetOrganizationResponse, error)
- func (c *Client) ListAppSharedTeams(req *ListAppSharedTeamsRequest) (*ListAppSharedTeamsResponse, error)
- func (c *Client) ListAppTeams(req *ListAppTeamsRequest) (*ListAppTeamsResponse, error)
- func (c *Client) ListEnterpriseMembers(req *ListEnterpriseMembersRequest) (*ListEnterpriseMembersResponse, error)
- func (c *Client) ListEnterpriseOrganizationMembers(req *ListEnterpriseOrganizationMembersRequest) (*ListEnterpriseOrganizationMembersResponse, error)
- func (c *Client) ListEnterpriseSharedTeams(req *ListEnterpriseSharedTeamsRequest) (*ListEnterpriseSharedTeamsResponse, error)
- func (c *Client) ListOrganizationMembers(req *ListOrganizationMembersRequest) (*ListOrganizationMembersResponse, error)
- func (c *Client) ListOrganizationTeamMembers(req *ListOrganizationTeamMembersRequest) (*ListOrganizationTeamMembersResponse, error)
- func (c *Client) ListOrganizations() (*ListOrganizationsResponse, error)
- func (c *Client) NewRequest(httpRequest *HttpRequest) (*http.Response, error)
- func (c *Client) Patch(httpRequest *HttpRequest) (*http.Response, error)
- func (c *Client) Post(httpRequest *HttpRequest) (*http.Response, error)
- func (c *Client) RemoveAppMembers(req *RemoveAppMembersRequest) (*RemoveAppMembersResponse, error)
- func (c *Client) RemoveAppSharedTeam(req *RemoveAppSharedTeamRequest) (*RemoveAppSharedTeamResponse, error)
- func (c *Client) RemoveAppTeam(req *RemoveAppTeamRequest) (*RemoveAppTeamResponse, error)
- func (c *Client) RemoveEnterpriseMember(req *RemoveEnterpriseMemberRequest) (*RemoveEnterpriseMemberResponse, error)
- func (c *Client) RemoveEnterpriseOrganizationMember(req *RemoveEnterpriseOrganizationMemberRequest) (*RemoveEnterpriseOrganizationMemberResponse, error)
- func (c *Client) RemoveEnterpriseSharedTeam(req *RemoveEnterpriseSharedTeamRequest) (*RemoveEnterpriseSharedTeamResponse, error)
- func (c *Client) RemoveOrganizationMemberByEmail(req *RemoveOrganizationMemberByEmailRequest) (*RemoveOrganizationMemberResponse, error)
- func (c *Client) RemoveOrganizationMemberByUserName(req *RemoveOrganizationMemberByUserNameRequest) (*RemoveOrganizationMemberResponse, error)
- func (c *Client) RemoveOrganizationTeamMember(req *RemoveOrganizationTeamMemberRequest) (*RemoveOrganizationTeamMemberResponse, error)
- func (c *Client) UpdateOrganization(req *UpdateOrganizationRequest) (*UpdateOrganizationResponse, error)
- func (c *Client) UploadApps(req *UploadAppsRequest) (*UploadAppsResponse, error)
- type ClientConfig
- type CreateOrganizationRequest
- type CreateOrganizationResponse
- type DeleteAppDistributionsPageRequest
- type DeleteAppDistributionsPageResponse
- type DeleteDistributionsPageRequest
- type DeleteDistributionsPageResponse
- type DeleteOrganizationRequest
- type DeleteOrganizationResponse
- type DisableAppProtectionRequest
- type DisableAppProtectionResponse
- type EnableAppProtectionRequest
- type EnableAppProtectionResponse
- type EnterpriseMember
- type GetAppMembersRequest
- type GetAppMembersResponse
- type GetAppMembersResponseResult
- type GetOrganizationRequest
- type GetOrganizationResponse
- type Header
- type HttpRequest
- type ListAppSharedTeamsRequest
- type ListAppSharedTeamsResponse
- type ListAppTeamsRequest
- type ListAppTeamsResponse
- type ListEnterpriseMembersRequest
- type ListEnterpriseMembersResponse
- type ListEnterpriseOrganizationMembersRequest
- type ListEnterpriseOrganizationMembersResponse
- type ListEnterpriseSharedTeamsRequest
- type ListEnterpriseSharedTeamsResponse
- type ListOrganizationMembersRequest
- type ListOrganizationMembersResponse
- type ListOrganizationTeamMembersRequest
- type ListOrganizationTeamMembersResponse
- type ListOrganizationsResponse
- type Member
- type Organization
- type OrganizationInfo
- type RemoveAppMembersRequest
- type RemoveAppMembersResponse
- type RemoveAppMembersResponseResult
- type RemoveAppSharedTeamRequest
- type RemoveAppSharedTeamResponse
- type RemoveAppTeamRequest
- type RemoveAppTeamResponse
- type RemoveEnterpriseMemberRequest
- type RemoveEnterpriseMemberResponse
- type RemoveEnterpriseOrganizationMemberRequest
- type RemoveEnterpriseOrganizationMemberResponse
- type RemoveEnterpriseSharedTeamRequest
- type RemoveEnterpriseSharedTeamResponse
- type RemoveOrganizationMemberByEmailRequest
- type RemoveOrganizationMemberByUserNameRequest
- type RemoveOrganizationMemberResponse
- type RemoveOrganizationTeamMemberRequest
- type RemoveOrganizationTeamMemberResponse
- type Results
- type Team
- type UpdateOrganizationRequest
- type UpdateOrganizationResponse
- type UploadAppsRequest
- type UploadAppsResponse
- type Usage
- type User
Constants ¶
View Source
const ( DGApiTokenEnv = "DEPLOYGATE_API_KEY" DGApiEndpoint = "https://deploygate.com/api" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAppMembersRequest ¶
type AddAppMembersResponse ¶
type AddAppMembersResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Because string `mapstructure:"because" json:"because"` Results AddAppMembersResponseResult `mapstructure:"results" json:"results"` }
type AddAppSharedTeamRequest ¶
type AddAppSharedTeamRequest struct {}
type AddAppSharedTeamResponse ¶
type AddAppSharedTeamResponse struct {}
type AddAppTeamRequest ¶
type AddAppTeamResponse ¶
type AddEnterpriseSharedTeamRequest ¶
type AddEnterpriseSharedTeamRequest struct {}
type AddEnterpriseSharedTeamResponse ¶
type AddEnterpriseSharedTeamResponse struct {}
type Application ¶ added in v1.0.2
type Application struct { Name string `mapstructure:"name" json:"name"` PackageName string `mapstructure:"package_name" json:"package_name"` Labels interface{} `mapstructure:"labels" json:"labels"` OsName string `mapstructure:"os_name" json:"os_name"` Path string `mapstructure:"path" json:"path"` UpdatedAt uint `mapstructure:"updated_at" json:"updated_at"` VersionCode string `mapstructure:"version_code" json:"version_code"` VersionName string `mapstructure:"version_name" json:"version_name"` SdkVersion uint `mapstructure:"sdk_version" json:"sdk_version"` RawSdkVersion string `mapstructure:"raw_sdk_version" json:"raw_sdk_version"` TargetSdkVersion uint `mapstructure:"target_sdk_version" json:"target_sdk_version"` Signature string `mapstructure:"signature" json:"signature"` Md5 string `mapstructure:"md5" json:"md5"` Revision uint `mapstructure:"revision" json:"revision"` File_Size string `mapstructure:"file_size" json:"file_size"` Icon string `mapstructure:"icon" json:"icon"` Message string `mapstructure:"message" json:"message"` File string `mapstructure:"file" json:"file"` User struct { ID uint `mapstructure:"id" json:"id"` Name string `mapstructure:"name" json:"name"` ProfileIcon string `mapstructure:"profile_icon" json:"profile_icon"` } `mapstructure:"user" json:"user"` }
type Client ¶
type Client struct { HttpClient *http.Client // Http client for using http request // contains filtered or unexported fields }
func DefaultClient ¶
func NewClient ¶
func NewClient(conf ClientConfig) (*Client, error)
func (*Client) AddAppMembers ¶
func (c *Client) AddAppMembers(req *AddAppMembersRequest) (*AddAppMembersResponse, error)
func (*Client) AddAppSharedTeam ¶
func (c *Client) AddAppSharedTeam(req *AddAppSharedTeamRequest) (*AddAppSharedTeamResponse, error)
func (*Client) AddAppTeam ¶
func (c *Client) AddAppTeam(req *AddAppTeamRequest) (*AddAppTeamResponse, error)
func (*Client) AddEnterpriseMember ¶
func (c *Client) AddEnterpriseMember(req *AddEnterpriseMemberRequest) (*AddEnterpriseMemberResponse, error)
func (*Client) AddEnterpriseOrganizationMember ¶
func (c *Client) AddEnterpriseOrganizationMember(req *AddEnterpriseOrganizationMemberRequest) (*AddEnterpriseOrganizationMemberResponse, error)
func (*Client) AddEnterpriseSharedTeam ¶
func (c *Client) AddEnterpriseSharedTeam(req *AddEnterpriseSharedTeamRequest) (*AddEnterpriseSharedTeamResponse, error)
func (*Client) AddOrganizationMemberByEmail ¶
func (c *Client) AddOrganizationMemberByEmail(req *AddOrganizationMemberByEmailRequest) (*AddOrganizationMemberResponse, error)
func (*Client) AddOrganizationMemberByUserName ¶
func (c *Client) AddOrganizationMemberByUserName(req *AddOrganizationMemberByUserNameRequest) (*AddOrganizationMemberResponse, error)
func (*Client) AddOrganizationTeamMember ¶
func (c *Client) AddOrganizationTeamMember(req *AddOrganizationTeamMemberRequest) (*AddOrganizationTeamMemberResponse, error)
func (*Client) CreateOrganization ¶
func (c *Client) CreateOrganization(req *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
func (*Client) DeleteAppDistributionsPage ¶
func (c *Client) DeleteAppDistributionsPage(req *DeleteAppDistributionsPageRequest) (*DeleteAppDistributionsPageResponse, error)
func (*Client) DeleteDistributionsPage ¶
func (c *Client) DeleteDistributionsPage(req *DeleteDistributionsPageRequest) (*DeleteDistributionsPageResponse, error)
func (*Client) DeleteOrganization ¶
func (c *Client) DeleteOrganization(req *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
func (*Client) DisableAppProtection ¶
func (c *Client) DisableAppProtection(req *DisableAppProtectionRequest) (*DisableAppProtectionResponse, error)
func (*Client) EnableAppProtection ¶
func (c *Client) EnableAppProtection(req *EnableAppProtectionRequest) (*EnableAppProtectionResponse, error)
func (*Client) GetAppMembers ¶
func (c *Client) GetAppMembers(req *GetAppMembersRequest) (*GetAppMembersResponse, error)
func (*Client) GetOrganization ¶
func (c *Client) GetOrganization(req *GetOrganizationRequest) (*GetOrganizationResponse, error)
func (*Client) ListAppSharedTeams ¶
func (c *Client) ListAppSharedTeams(req *ListAppSharedTeamsRequest) (*ListAppSharedTeamsResponse, error)
func (*Client) ListAppTeams ¶
func (c *Client) ListAppTeams(req *ListAppTeamsRequest) (*ListAppTeamsResponse, error)
func (*Client) ListEnterpriseMembers ¶
func (c *Client) ListEnterpriseMembers(req *ListEnterpriseMembersRequest) (*ListEnterpriseMembersResponse, error)
func (*Client) ListEnterpriseOrganizationMembers ¶
func (c *Client) ListEnterpriseOrganizationMembers(req *ListEnterpriseOrganizationMembersRequest) (*ListEnterpriseOrganizationMembersResponse, error)
func (*Client) ListEnterpriseSharedTeams ¶
func (c *Client) ListEnterpriseSharedTeams(req *ListEnterpriseSharedTeamsRequest) (*ListEnterpriseSharedTeamsResponse, error)
func (*Client) ListOrganizationMembers ¶
func (c *Client) ListOrganizationMembers(req *ListOrganizationMembersRequest) (*ListOrganizationMembersResponse, error)
func (*Client) ListOrganizationTeamMembers ¶
func (c *Client) ListOrganizationTeamMembers(req *ListOrganizationTeamMembersRequest) (*ListOrganizationTeamMembersResponse, error)
func (*Client) ListOrganizations ¶
func (c *Client) ListOrganizations() (*ListOrganizationsResponse, error)
func (*Client) NewRequest ¶
func (c *Client) NewRequest(httpRequest *HttpRequest) (*http.Response, error)
func (*Client) RemoveAppMembers ¶
func (c *Client) RemoveAppMembers(req *RemoveAppMembersRequest) (*RemoveAppMembersResponse, error)
func (*Client) RemoveAppSharedTeam ¶
func (c *Client) RemoveAppSharedTeam(req *RemoveAppSharedTeamRequest) (*RemoveAppSharedTeamResponse, error)
func (*Client) RemoveAppTeam ¶
func (c *Client) RemoveAppTeam(req *RemoveAppTeamRequest) (*RemoveAppTeamResponse, error)
func (*Client) RemoveEnterpriseMember ¶
func (c *Client) RemoveEnterpriseMember(req *RemoveEnterpriseMemberRequest) (*RemoveEnterpriseMemberResponse, error)
func (*Client) RemoveEnterpriseOrganizationMember ¶
func (c *Client) RemoveEnterpriseOrganizationMember(req *RemoveEnterpriseOrganizationMemberRequest) (*RemoveEnterpriseOrganizationMemberResponse, error)
func (*Client) RemoveEnterpriseSharedTeam ¶
func (c *Client) RemoveEnterpriseSharedTeam(req *RemoveEnterpriseSharedTeamRequest) (*RemoveEnterpriseSharedTeamResponse, error)
func (*Client) RemoveOrganizationMemberByEmail ¶
func (c *Client) RemoveOrganizationMemberByEmail(req *RemoveOrganizationMemberByEmailRequest) (*RemoveOrganizationMemberResponse, error)
func (*Client) RemoveOrganizationMemberByUserName ¶
func (c *Client) RemoveOrganizationMemberByUserName(req *RemoveOrganizationMemberByUserNameRequest) (*RemoveOrganizationMemberResponse, error)
func (*Client) RemoveOrganizationTeamMember ¶
func (c *Client) RemoveOrganizationTeamMember(req *RemoveOrganizationTeamMemberRequest) (*RemoveOrganizationTeamMemberResponse, error)
func (*Client) UpdateOrganization ¶
func (c *Client) UpdateOrganization(req *UpdateOrganizationRequest) (*UpdateOrganizationResponse, error)
func (*Client) UploadApps ¶
func (c *Client) UploadApps(req *UploadAppsRequest) (*UploadAppsResponse, error)
type ClientConfig ¶ added in v1.0.11
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Organization Organization `mapstructure:"organization" json:"organization"` }
type DeleteDistributionsPageRequest ¶
type DeleteDistributionsPageRequest struct {
Distribution string
}
type DeleteOrganizationRequest ¶
type DeleteOrganizationRequest struct {
Name string
}
type EnterpriseMember ¶ added in v1.0.2
type EnterpriseMember struct { Type string `mapstructure:"type" json:"type"` Name string `mapstructure:"name" json:"name"` IconUrl string `mapstructure:"icon_url" json:"icon_url"` Url string `mapstructure:"url" json:"url"` FullName string `mapstructure:"full_name" json:"full_name"` Email string `mapstructure:"email" json:"email"` Role string `mapstructure:"role" json:"role"` CreatedAt string `mapstructure:"created_at" json:"created_at"` LastAccessAt string `mapstructure:"last_access_at" json:"last_access_at"` }
type GetAppMembersRequest ¶
type GetAppMembersResponse ¶
type GetAppMembersResponse struct { Error bool `mapstructure:"error" json:"error"` Results GetAppMembersResponseResult `mapstructure:"results" json:"results"` }
type GetOrganizationRequest ¶
type GetOrganizationRequest struct {
Name string
}
type GetOrganizationResponse ¶
type GetOrganizationResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Organization OrganizationInfo `mapstructure:"organization" json:"organization"` }
type HttpRequest ¶
type HttpRequest struct {
// contains filtered or unexported fields
}
type ListAppSharedTeamsRequest ¶
type ListAppSharedTeamsRequest struct {}
type ListAppSharedTeamsResponse ¶
type ListAppSharedTeamsResponse struct {}
type ListAppTeamsRequest ¶
type ListAppTeamsResponse ¶
type ListEnterpriseMembersRequest ¶
type ListEnterpriseMembersRequest struct {
Enterprise string
}
type ListEnterpriseMembersResponse ¶
type ListEnterpriseMembersResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Because string `mapstructure:"because" json:"because"` Users []EnterpriseMember `mapstructure:"users" json:"users"` }
type ListEnterpriseSharedTeamsRequest ¶
type ListEnterpriseSharedTeamsRequest struct {
}type ListEnterpriseSharedTeamsResponse ¶
type ListEnterpriseSharedTeamsResponse struct {}
type ListOrganizationMembersRequest ¶
type ListOrganizationMembersRequest struct {
Organization string
}
type ListOrganizationsResponse ¶
type ListOrganizationsResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Organizations []Organization `mapstructure:"organizations" json:"organizations"` }
type Organization ¶
type OrganizationInfo ¶ added in v1.0.2
type OrganizationInfo struct { Type string `mapstructure:"type" json:"type"` Name string `mapstructure:"name" json:"name"` Description string `mapstructure:"description" json:"description"` Url string `mapstructure:"url" json:"url"` Teams []Team `mapstructure:"teams" json:"teams"` Applications []Application `mapstructure:"applications" json:"applications"` Members []Member `mapstructure:"members" json:"members"` }
type RemoveAppMembersRequest ¶
type RemoveAppMembersResponse ¶
type RemoveAppMembersResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Because string `mapstructure:"because" json:"because"` Results RemoveAppMembersResponseResult `mapstructure:"results" json:"results"` }
type RemoveAppMembersResponseResult ¶
type RemoveAppMembersResponseResult struct {
Invite string `mapstructure:"invite" json:"invite"`
}
type RemoveAppSharedTeamRequest ¶
type RemoveAppSharedTeamRequest struct {}
type RemoveAppSharedTeamResponse ¶
type RemoveAppSharedTeamResponse struct {}
type RemoveAppTeamRequest ¶
type RemoveAppTeamResponse ¶
type RemoveEnterpriseSharedTeamRequest ¶
type RemoveEnterpriseSharedTeamRequest struct {}
type RemoveEnterpriseSharedTeamResponse ¶
type RemoveEnterpriseSharedTeamResponse struct {}
type UpdateOrganizationResponse ¶
type UpdateOrganizationResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Organization Organization `mapstructure:"organization" json:"organization"` }
type UploadAppsRequest ¶
type UploadAppsResponse ¶
type UploadAppsResponse struct { Error bool `mapstructure:"error" json:"error"` Message string `mapstructure:"message" json:"message"` Because string `mapstructure:"because" json:"because"` Results Application `mapstructure:"results" json:"results"` }
Source Files
¶
- app.go
- app_distribution_page.go
- app_distribution_page_model.go
- app_member.go
- app_member_model.go
- app_model.go
- app_protection.go
- app_protection_model.go
- app_shared_team.go
- app_shared_team_model.go
- app_team.go
- app_team_model.go
- client.go
- client_model.go
- common_model.go
- distribution_page.go
- distribution_page_model.go
- enterprise_member.go
- enterprise_member_model.go
- enterprise_organization_member.go
- enterprise_organization_member_model.go
- enterprise_shared_team.go
- enterprise_shared_team_model.go
- organization.go
- organization_member.go
- organization_member_model.go
- organization_model.go
- organization_team_member.go
- organization_team_member_model.go
Click to show internal directories.
Click to hide internal directories.