Documentation ¶
Index ¶
- type ActionHandler
- func (h *ActionHandler) AddOrgMember(ctx context.Context, orgRef, userRef string, role types.MemberRole) (*types.OrganizationMember, error)
- func (h *ActionHandler) CreateOrg(ctx context.Context, req *CreateOrgRequest) (*types.Organization, error)
- func (h *ActionHandler) CreateOrgInvitation(ctx context.Context, req *CreateOrgInvitationRequest) (*types.OrgInvitation, error)
- func (h *ActionHandler) CreateProject(ctx context.Context, req *CreateUpdateProjectRequest) (*GetProjectResponse, error)
- func (h *ActionHandler) CreateProjectGroup(ctx context.Context, req *CreateUpdateProjectGroupRequest) (*GetProjectGroupResponse, error)
- func (h *ActionHandler) CreateRemoteSource(ctx context.Context, req *CreateUpdateRemoteSourceRequest) (*types.RemoteSource, error)
- func (h *ActionHandler) CreateSecret(ctx context.Context, req *CreateUpdateSecretRequest) (*types.Secret, error)
- func (h *ActionHandler) CreateUser(ctx context.Context, req *CreateUserRequest) (*types.User, error)
- func (h *ActionHandler) CreateUserLA(ctx context.Context, req *CreateUserLARequest) (*types.LinkedAccount, error)
- func (h *ActionHandler) CreateUserToken(ctx context.Context, userRef, tokenName string) (*types.UserToken, error)
- func (h *ActionHandler) CreateVariable(ctx context.Context, req *CreateUpdateVariableRequest) (*types.Variable, error)
- func (h *ActionHandler) DeleteOrg(ctx context.Context, orgRef string) error
- func (h *ActionHandler) DeleteOrgInvitation(ctx context.Context, orgRef string, userRef string) error
- func (h *ActionHandler) DeleteProject(ctx context.Context, projectRef string) error
- func (h *ActionHandler) DeleteProjectGroup(ctx context.Context, projectGroupRef string) error
- func (h *ActionHandler) DeleteRemoteSource(ctx context.Context, remoteSourceName string) error
- func (h *ActionHandler) DeleteSecret(ctx context.Context, parentKind types.ObjectKind, parentRef, secretName string) error
- func (h *ActionHandler) DeleteUser(ctx context.Context, userRef string) error
- func (h *ActionHandler) DeleteUserLA(ctx context.Context, userRef, laID string) error
- func (h *ActionHandler) DeleteUserToken(ctx context.Context, userRef, tokenName string) error
- func (h *ActionHandler) DeleteVariable(ctx context.Context, parentKind types.ObjectKind, ...) error
- func (h *ActionHandler) Export(ctx context.Context, w io.Writer) error
- func (h *ActionHandler) GetLinkedAccounts(ctx context.Context, req *GetLinkedAccountsRequest) ([]*types.LinkedAccount, error)
- func (h *ActionHandler) GetOrg(ctx context.Context, orgRef string) (*types.Organization, error)
- func (h *ActionHandler) GetOrgByRef(tx *sql.Tx, orgRef string) (*types.Organization, error)
- func (h *ActionHandler) GetOrgInvitationByUserRef(ctx context.Context, orgRef, userRef string) (*types.OrgInvitation, error)
- func (h *ActionHandler) GetOrgInvitations(ctx context.Context, orgRef string) ([]*types.OrgInvitation, error)
- func (h *ActionHandler) GetOrgMembers(ctx context.Context, req *GetOrgMembersRequest) (*GetOrgMembersResponse, error)
- func (h *ActionHandler) GetOrgs(ctx context.Context, req *GetOrgsRequest) (*GetOrgsResponse, error)
- func (h *ActionHandler) GetPath(tx *sql.Tx, objectKind types.ObjectKind, id string) (string, error)
- func (h *ActionHandler) GetProject(ctx context.Context, projectRef string) (*GetProjectResponse, error)
- func (h *ActionHandler) GetProjectByPath(tx *sql.Tx, projectPath string) (*types.Project, error)
- func (h *ActionHandler) GetProjectByRef(tx *sql.Tx, projectRef string) (*types.Project, error)
- func (h *ActionHandler) GetProjectGroup(ctx context.Context, projectGroupRef string) (*GetProjectGroupResponse, error)
- func (h *ActionHandler) GetProjectGroupByPath(tx *sql.Tx, projectGroupPath string) (*types.ProjectGroup, error)
- func (h *ActionHandler) GetProjectGroupByRef(tx *sql.Tx, projectGroupRef string) (*types.ProjectGroup, error)
- func (h *ActionHandler) GetProjectGroupHierarchy(tx *sql.Tx, projectGroup *types.ProjectGroup) ([]*hierarchyElement, error)
- func (h *ActionHandler) GetProjectGroupOwnerID(tx *sql.Tx, group *types.ProjectGroup) (types.ObjectKind, string, error)
- func (h *ActionHandler) GetProjectGroupPath(tx *sql.Tx, group *types.ProjectGroup) (string, error)
- func (h *ActionHandler) GetProjectGroupProjects(ctx context.Context, projectGroupRef string) (*GetProjectGroupProjectsResponse, error)
- func (h *ActionHandler) GetProjectGroupSubgroups(ctx context.Context, projectGroupRef string) (*GetProjectGroupSubGroupsResponse, error)
- func (h *ActionHandler) GetProjectOwnerID(tx *sql.Tx, project *types.Project) (types.ObjectKind, string, error)
- func (h *ActionHandler) GetProjectPath(tx *sql.Tx, project *types.Project) (string, error)
- func (h *ActionHandler) GetRemoteSource(ctx context.Context, remoteSourceRef string) (*types.RemoteSource, error)
- func (h *ActionHandler) GetRemoteSources(ctx context.Context, req *GetRemoteSourcesRequest) (*GetRemoteSourcesResponse, error)
- func (h *ActionHandler) GetSecret(ctx context.Context, secretID string) (*types.Secret, error)
- func (h *ActionHandler) GetSecretTree(tx *sql.Tx, parentKind types.ObjectKind, parentID, name string) (*types.Secret, error)
- func (h *ActionHandler) GetSecrets(ctx context.Context, parentKind types.ObjectKind, parentRef string, tree bool) (*GetSecretsResponse, error)
- func (h *ActionHandler) GetSecretsTree(tx *sql.Tx, parentKind types.ObjectKind, parentID string) ([]*types.Secret, error)
- func (h *ActionHandler) GetUser(ctx context.Context, userRef string) (*types.User, error)
- func (h *ActionHandler) GetUserByRef(tx *sql.Tx, userRef string) (*types.User, error)
- func (h *ActionHandler) GetUserLinkedAccounts(ctx context.Context, userRef string) ([]*types.LinkedAccount, error)
- func (h *ActionHandler) GetUserOrg(ctx context.Context, userRef, orgRef string) (*UserOrg, error)
- func (h *ActionHandler) GetUserOrgInvitations(ctx context.Context, userRef string) ([]*types.OrgInvitation, error)
- func (h *ActionHandler) GetUserOrgs(ctx context.Context, req *GetUserOrgsRequest) (*GetUserOrgsResponse, error)
- func (h *ActionHandler) GetUserTokens(ctx context.Context, userRef string) ([]*types.UserToken, error)
- func (h *ActionHandler) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error)
- func (h *ActionHandler) GetVariables(ctx context.Context, parentKind types.ObjectKind, parentRef string, tree bool) (*GetVariablesResponse, error)
- func (h *ActionHandler) GetVariablesTree(tx *sql.Tx, parentKind types.ObjectKind, parentID string) ([]*types.Variable, error)
- func (h *ActionHandler) Import(ctx context.Context, r io.Reader) error
- func (h *ActionHandler) IsMaintenanceEnabled(ctx context.Context) (bool, error)
- func (h *ActionHandler) IsMaintenanceMode() bool
- func (h *ActionHandler) OrgInvitationAction(ctx context.Context, req *OrgInvitationActionRequest) error
- func (h *ActionHandler) RemoveOrgMember(ctx context.Context, orgRef, userRef string) error
- func (h *ActionHandler) ResolveObjectID(tx *sql.Tx, objectKind types.ObjectKind, ref string) (string, error)
- func (h *ActionHandler) SetMaintenanceEnabled(ctx context.Context, enable bool) error
- func (h *ActionHandler) SetMaintenanceMode(maintenanceMode bool)
- func (h *ActionHandler) UpdateOrg(ctx context.Context, orgRef string, req *UpdateOrgRequest) (*types.Organization, error)
- func (h *ActionHandler) UpdateProject(ctx context.Context, curProjectRef string, req *CreateUpdateProjectRequest) (*GetProjectResponse, error)
- func (h *ActionHandler) UpdateProjectGroup(ctx context.Context, curProjectGroupRef string, ...) (*GetProjectGroupResponse, error)
- func (h *ActionHandler) UpdateRemoteSource(ctx context.Context, remoteSourceRef string, ...) (*types.RemoteSource, error)
- func (h *ActionHandler) UpdateSecret(ctx context.Context, curSecretName string, req *CreateUpdateSecretRequest) (*types.Secret, error)
- func (h *ActionHandler) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*types.User, error)
- func (h *ActionHandler) UpdateUserLA(ctx context.Context, req *UpdateUserLARequest) (*types.LinkedAccount, error)
- func (h *ActionHandler) UpdateVariable(ctx context.Context, curVariableName string, req *CreateUpdateVariableRequest) (*types.Variable, error)
- func (h *ActionHandler) UserQuery(ctx context.Context, req *UserQueryRequest) (*types.User, error)
- func (h *ActionHandler) ValidateProjectGroupReq(ctx context.Context, req *CreateUpdateProjectGroupRequest) error
- func (h *ActionHandler) ValidateProjectReq(ctx context.Context, req *CreateUpdateProjectRequest) error
- func (h *ActionHandler) ValidateRemoteSourceReq(ctx context.Context, req *CreateUpdateRemoteSourceRequest) error
- func (h *ActionHandler) ValidateSecretReq(ctx context.Context, req *CreateUpdateSecretRequest) error
- func (h *ActionHandler) ValidateVariableReq(ctx context.Context, req *CreateUpdateVariableRequest) error
- type CreateOrgInvitationRequest
- type CreateOrgRequest
- type CreateUpdateProjectGroupRequest
- type CreateUpdateProjectRequest
- type CreateUpdateRemoteSourceRequest
- type CreateUpdateSecretRequest
- type CreateUpdateVariableRequest
- type CreateUserLARequest
- type CreateUserRequest
- type GetLinkedAccountsRequest
- type GetOrgMembersRequest
- type GetOrgMembersResponse
- type GetOrgsRequest
- type GetOrgsResponse
- type GetProjectGroupProjectsResponse
- type GetProjectGroupResponse
- type GetProjectGroupSubGroupsResponse
- type GetProjectResponse
- type GetRemoteSourcesRequest
- type GetRemoteSourcesResponse
- type GetSecretsResponse
- type GetUserOrgsRequest
- type GetUserOrgsResponse
- type GetUsersRequest
- type GetUsersResponse
- type GetVariablesResponse
- type OrgInvitationActionRequest
- type OrgMember
- type ProjectDynamicData
- type ProjectGroupDynamicData
- type UpdateOrgRequest
- type UpdateUserLARequest
- type UpdateUserRequest
- type UserOrg
- type UserQueryRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionHandler ¶
type ActionHandler struct {
// contains filtered or unexported fields
}
func NewActionHandler ¶
func NewActionHandler(log zerolog.Logger, d *db.DB, lf lock.LockFactory) *ActionHandler
func (*ActionHandler) AddOrgMember ¶
func (h *ActionHandler) AddOrgMember(ctx context.Context, orgRef, userRef string, role types.MemberRole) (*types.OrganizationMember, error)
AddOrgMember add/updates an org member. TODO(sgotti) handle invitation when implemented
func (*ActionHandler) CreateOrg ¶
func (h *ActionHandler) CreateOrg(ctx context.Context, req *CreateOrgRequest) (*types.Organization, error)
func (*ActionHandler) CreateOrgInvitation ¶ added in v0.8.0
func (h *ActionHandler) CreateOrgInvitation(ctx context.Context, req *CreateOrgInvitationRequest) (*types.OrgInvitation, error)
func (*ActionHandler) CreateProject ¶
func (h *ActionHandler) CreateProject(ctx context.Context, req *CreateUpdateProjectRequest) (*GetProjectResponse, error)
func (*ActionHandler) CreateProjectGroup ¶
func (h *ActionHandler) CreateProjectGroup(ctx context.Context, req *CreateUpdateProjectGroupRequest) (*GetProjectGroupResponse, error)
func (*ActionHandler) CreateRemoteSource ¶
func (h *ActionHandler) CreateRemoteSource(ctx context.Context, req *CreateUpdateRemoteSourceRequest) (*types.RemoteSource, error)
func (*ActionHandler) CreateSecret ¶
func (h *ActionHandler) CreateSecret(ctx context.Context, req *CreateUpdateSecretRequest) (*types.Secret, error)
func (*ActionHandler) CreateUser ¶
func (h *ActionHandler) CreateUser(ctx context.Context, req *CreateUserRequest) (*types.User, error)
func (*ActionHandler) CreateUserLA ¶
func (h *ActionHandler) CreateUserLA(ctx context.Context, req *CreateUserLARequest) (*types.LinkedAccount, error)
func (*ActionHandler) CreateUserToken ¶
func (*ActionHandler) CreateVariable ¶
func (h *ActionHandler) CreateVariable(ctx context.Context, req *CreateUpdateVariableRequest) (*types.Variable, error)
func (*ActionHandler) DeleteOrg ¶
func (h *ActionHandler) DeleteOrg(ctx context.Context, orgRef string) error
func (*ActionHandler) DeleteOrgInvitation ¶ added in v0.8.0
func (*ActionHandler) DeleteProject ¶
func (h *ActionHandler) DeleteProject(ctx context.Context, projectRef string) error
func (*ActionHandler) DeleteProjectGroup ¶
func (h *ActionHandler) DeleteProjectGroup(ctx context.Context, projectGroupRef string) error
func (*ActionHandler) DeleteRemoteSource ¶
func (h *ActionHandler) DeleteRemoteSource(ctx context.Context, remoteSourceName string) error
func (*ActionHandler) DeleteSecret ¶
func (h *ActionHandler) DeleteSecret(ctx context.Context, parentKind types.ObjectKind, parentRef, secretName string) error
func (*ActionHandler) DeleteUser ¶
func (h *ActionHandler) DeleteUser(ctx context.Context, userRef string) error
func (*ActionHandler) DeleteUserLA ¶
func (h *ActionHandler) DeleteUserLA(ctx context.Context, userRef, laID string) error
func (*ActionHandler) DeleteUserToken ¶
func (h *ActionHandler) DeleteUserToken(ctx context.Context, userRef, tokenName string) error
func (*ActionHandler) DeleteVariable ¶
func (h *ActionHandler) DeleteVariable(ctx context.Context, parentKind types.ObjectKind, parentRef, variableName string) error
func (*ActionHandler) GetLinkedAccounts ¶ added in v0.10.0
func (h *ActionHandler) GetLinkedAccounts(ctx context.Context, req *GetLinkedAccountsRequest) ([]*types.LinkedAccount, error)
func (*ActionHandler) GetOrg ¶ added in v0.10.0
func (h *ActionHandler) GetOrg(ctx context.Context, orgRef string) (*types.Organization, error)
func (*ActionHandler) GetOrgByRef ¶ added in v0.10.0
func (h *ActionHandler) GetOrgByRef(tx *sql.Tx, orgRef string) (*types.Organization, error)
func (*ActionHandler) GetOrgInvitationByUserRef ¶ added in v0.8.0
func (h *ActionHandler) GetOrgInvitationByUserRef(ctx context.Context, orgRef, userRef string) (*types.OrgInvitation, error)
func (*ActionHandler) GetOrgInvitations ¶ added in v0.8.0
func (h *ActionHandler) GetOrgInvitations(ctx context.Context, orgRef string) ([]*types.OrgInvitation, error)
func (*ActionHandler) GetOrgMembers ¶
func (h *ActionHandler) GetOrgMembers(ctx context.Context, req *GetOrgMembersRequest) (*GetOrgMembersResponse, error)
func (*ActionHandler) GetOrgs ¶ added in v0.9.0
func (h *ActionHandler) GetOrgs(ctx context.Context, req *GetOrgsRequest) (*GetOrgsResponse, error)
func (*ActionHandler) GetPath ¶ added in v0.10.0
func (h *ActionHandler) GetPath(tx *sql.Tx, objectKind types.ObjectKind, id string) (string, error)
func (*ActionHandler) GetProject ¶ added in v0.3.0
func (h *ActionHandler) GetProject(ctx context.Context, projectRef string) (*GetProjectResponse, error)
func (*ActionHandler) GetProjectByPath ¶ added in v0.10.0
func (*ActionHandler) GetProjectByRef ¶ added in v0.10.0
func (*ActionHandler) GetProjectGroup ¶ added in v0.3.0
func (h *ActionHandler) GetProjectGroup(ctx context.Context, projectGroupRef string) (*GetProjectGroupResponse, error)
func (*ActionHandler) GetProjectGroupByPath ¶ added in v0.10.0
func (h *ActionHandler) GetProjectGroupByPath(tx *sql.Tx, projectGroupPath string) (*types.ProjectGroup, error)
func (*ActionHandler) GetProjectGroupByRef ¶ added in v0.10.0
func (h *ActionHandler) GetProjectGroupByRef(tx *sql.Tx, projectGroupRef string) (*types.ProjectGroup, error)
func (*ActionHandler) GetProjectGroupHierarchy ¶ added in v0.10.0
func (h *ActionHandler) GetProjectGroupHierarchy(tx *sql.Tx, projectGroup *types.ProjectGroup) ([]*hierarchyElement, error)
func (*ActionHandler) GetProjectGroupOwnerID ¶ added in v0.10.0
func (h *ActionHandler) GetProjectGroupOwnerID(tx *sql.Tx, group *types.ProjectGroup) (types.ObjectKind, string, error)
func (*ActionHandler) GetProjectGroupPath ¶ added in v0.10.0
func (h *ActionHandler) GetProjectGroupPath(tx *sql.Tx, group *types.ProjectGroup) (string, error)
func (*ActionHandler) GetProjectGroupProjects ¶
func (h *ActionHandler) GetProjectGroupProjects(ctx context.Context, projectGroupRef string) (*GetProjectGroupProjectsResponse, error)
func (*ActionHandler) GetProjectGroupSubgroups ¶
func (h *ActionHandler) GetProjectGroupSubgroups(ctx context.Context, projectGroupRef string) (*GetProjectGroupSubGroupsResponse, error)
func (*ActionHandler) GetProjectOwnerID ¶ added in v0.10.0
func (h *ActionHandler) GetProjectOwnerID(tx *sql.Tx, project *types.Project) (types.ObjectKind, string, error)
func (*ActionHandler) GetProjectPath ¶ added in v0.10.0
func (*ActionHandler) GetRemoteSource ¶ added in v0.10.0
func (h *ActionHandler) GetRemoteSource(ctx context.Context, remoteSourceRef string) (*types.RemoteSource, error)
func (*ActionHandler) GetRemoteSources ¶ added in v0.9.0
func (h *ActionHandler) GetRemoteSources(ctx context.Context, req *GetRemoteSourcesRequest) (*GetRemoteSourcesResponse, error)
func (*ActionHandler) GetSecretTree ¶ added in v0.10.0
func (h *ActionHandler) GetSecretTree(tx *sql.Tx, parentKind types.ObjectKind, parentID, name string) (*types.Secret, error)
func (*ActionHandler) GetSecrets ¶
func (h *ActionHandler) GetSecrets(ctx context.Context, parentKind types.ObjectKind, parentRef string, tree bool) (*GetSecretsResponse, error)
func (*ActionHandler) GetSecretsTree ¶ added in v0.10.0
func (h *ActionHandler) GetSecretsTree(tx *sql.Tx, parentKind types.ObjectKind, parentID string) ([]*types.Secret, error)
func (*ActionHandler) GetUserByRef ¶ added in v0.10.0
func (*ActionHandler) GetUserLinkedAccounts ¶ added in v0.8.0
func (h *ActionHandler) GetUserLinkedAccounts(ctx context.Context, userRef string) ([]*types.LinkedAccount, error)
func (*ActionHandler) GetUserOrg ¶ added in v0.9.0
func (*ActionHandler) GetUserOrgInvitations ¶ added in v0.8.0
func (h *ActionHandler) GetUserOrgInvitations(ctx context.Context, userRef string) ([]*types.OrgInvitation, error)
func (*ActionHandler) GetUserOrgs ¶
func (h *ActionHandler) GetUserOrgs(ctx context.Context, req *GetUserOrgsRequest) (*GetUserOrgsResponse, error)
func (*ActionHandler) GetUserTokens ¶ added in v0.8.0
func (*ActionHandler) GetUsers ¶ added in v0.9.0
func (h *ActionHandler) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error)
func (*ActionHandler) GetVariables ¶
func (h *ActionHandler) GetVariables(ctx context.Context, parentKind types.ObjectKind, parentRef string, tree bool) (*GetVariablesResponse, error)
func (*ActionHandler) GetVariablesTree ¶ added in v0.10.0
func (h *ActionHandler) GetVariablesTree(tx *sql.Tx, parentKind types.ObjectKind, parentID string) ([]*types.Variable, error)
func (*ActionHandler) IsMaintenanceEnabled ¶ added in v0.8.0
func (h *ActionHandler) IsMaintenanceEnabled(ctx context.Context) (bool, error)
func (*ActionHandler) IsMaintenanceMode ¶ added in v0.9.0
func (h *ActionHandler) IsMaintenanceMode() bool
func (*ActionHandler) OrgInvitationAction ¶ added in v0.8.0
func (h *ActionHandler) OrgInvitationAction(ctx context.Context, req *OrgInvitationActionRequest) error
func (*ActionHandler) RemoveOrgMember ¶
func (h *ActionHandler) RemoveOrgMember(ctx context.Context, orgRef, userRef string) error
RemoveOrgMember removes an org member.
func (*ActionHandler) ResolveObjectID ¶ added in v0.8.0
func (h *ActionHandler) ResolveObjectID(tx *sql.Tx, objectKind types.ObjectKind, ref string) (string, error)
func (*ActionHandler) SetMaintenanceEnabled ¶ added in v0.9.0
func (h *ActionHandler) SetMaintenanceEnabled(ctx context.Context, enable bool) error
func (*ActionHandler) SetMaintenanceMode ¶ added in v0.2.0
func (h *ActionHandler) SetMaintenanceMode(maintenanceMode bool)
func (*ActionHandler) UpdateOrg ¶ added in v0.8.0
func (h *ActionHandler) UpdateOrg(ctx context.Context, orgRef string, req *UpdateOrgRequest) (*types.Organization, error)
func (*ActionHandler) UpdateProject ¶
func (h *ActionHandler) UpdateProject(ctx context.Context, curProjectRef string, req *CreateUpdateProjectRequest) (*GetProjectResponse, error)
func (*ActionHandler) UpdateProjectGroup ¶
func (h *ActionHandler) UpdateProjectGroup(ctx context.Context, curProjectGroupRef string, req *CreateUpdateProjectGroupRequest) (*GetProjectGroupResponse, error)
func (*ActionHandler) UpdateRemoteSource ¶
func (h *ActionHandler) UpdateRemoteSource(ctx context.Context, remoteSourceRef string, req *CreateUpdateRemoteSourceRequest) (*types.RemoteSource, error)
func (*ActionHandler) UpdateSecret ¶
func (h *ActionHandler) UpdateSecret(ctx context.Context, curSecretName string, req *CreateUpdateSecretRequest) (*types.Secret, error)
func (*ActionHandler) UpdateUser ¶
func (h *ActionHandler) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*types.User, error)
func (*ActionHandler) UpdateUserLA ¶
func (h *ActionHandler) UpdateUserLA(ctx context.Context, req *UpdateUserLARequest) (*types.LinkedAccount, error)
func (*ActionHandler) UpdateVariable ¶
func (h *ActionHandler) UpdateVariable(ctx context.Context, curVariableName string, req *CreateUpdateVariableRequest) (*types.Variable, error)
func (*ActionHandler) UserQuery ¶ added in v0.10.0
func (h *ActionHandler) UserQuery(ctx context.Context, req *UserQueryRequest) (*types.User, error)
func (*ActionHandler) ValidateProjectGroupReq ¶ added in v0.7.0
func (h *ActionHandler) ValidateProjectGroupReq(ctx context.Context, req *CreateUpdateProjectGroupRequest) error
func (*ActionHandler) ValidateProjectReq ¶ added in v0.7.0
func (h *ActionHandler) ValidateProjectReq(ctx context.Context, req *CreateUpdateProjectRequest) error
func (*ActionHandler) ValidateRemoteSourceReq ¶ added in v0.7.0
func (h *ActionHandler) ValidateRemoteSourceReq(ctx context.Context, req *CreateUpdateRemoteSourceRequest) error
func (*ActionHandler) ValidateSecretReq ¶ added in v0.7.0
func (h *ActionHandler) ValidateSecretReq(ctx context.Context, req *CreateUpdateSecretRequest) error
func (*ActionHandler) ValidateVariableReq ¶ added in v0.7.0
func (h *ActionHandler) ValidateVariableReq(ctx context.Context, req *CreateUpdateVariableRequest) error
type CreateOrgInvitationRequest ¶ added in v0.8.0
type CreateOrgInvitationRequest struct { UserRef string OrganizationRef string Role types.MemberRole }
type CreateOrgRequest ¶ added in v0.7.0
type CreateOrgRequest struct { Name string Visibility types.Visibility CreatorUserID string }
type CreateUpdateProjectGroupRequest ¶ added in v0.7.0
type CreateUpdateProjectGroupRequest struct { Name string Parent types.Parent Visibility types.Visibility }
type CreateUpdateProjectRequest ¶ added in v0.7.0
type CreateUpdateProjectRequest struct { Name string Parent types.Parent Visibility types.Visibility RemoteRepositoryConfigType types.RemoteRepositoryConfigType RemoteSourceID string LinkedAccountID string RepositoryID string RepositoryPath string SSHPrivateKey string SkipSSHHostKeyCheck bool PassVarsToForkedPR bool DefaultBranch string // MembersCanPerformRunActions defines if project organization members can restart/stop/cancel a project run MembersCanPerformRunActions bool }
type CreateUpdateRemoteSourceRequest ¶ added in v0.7.0
type CreateUpdateSecretRequest ¶ added in v0.7.0
type CreateUpdateVariableRequest ¶ added in v0.7.0
type CreateUpdateVariableRequest struct { Name string Parent types.Parent Values []types.VariableValue }
type CreateUserLARequest ¶
type CreateUserRequest ¶
type CreateUserRequest struct { UserName string CreateUserLARequest *CreateUserLARequest }
type GetLinkedAccountsRequest ¶ added in v0.10.0
type GetOrgMembersRequest ¶ added in v0.9.0
type GetOrgMembersRequest struct { OrgRef string StartUserName string Limit int SortDirection types.SortDirection }
type GetOrgMembersResponse ¶ added in v0.9.0
type GetOrgsRequest ¶ added in v0.9.0
type GetOrgsRequest struct { StartOrgName string Visibilities []types.Visibility Limit int SortDirection types.SortDirection }
type GetOrgsResponse ¶ added in v0.9.0
type GetOrgsResponse struct { Orgs []*types.Organization HasMore bool }
type GetProjectGroupProjectsResponse ¶ added in v0.10.0
type GetProjectGroupProjectsResponse struct { Projects []*types.Project ProjectsDynamicData map[string]*ProjectDynamicData }
type GetProjectGroupResponse ¶ added in v0.10.0
type GetProjectGroupResponse struct { ProjectGroup *types.ProjectGroup ProjectGroupDynamicData *ProjectGroupDynamicData }
type GetProjectGroupSubGroupsResponse ¶ added in v0.10.0
type GetProjectGroupSubGroupsResponse struct { ProjectGroups []*types.ProjectGroup ProjectGroupsDynamicData map[string]*ProjectGroupDynamicData }
type GetProjectResponse ¶ added in v0.10.0
type GetProjectResponse struct { Project *types.Project ProjectDynamicData *ProjectDynamicData }
type GetRemoteSourcesRequest ¶ added in v0.9.0
type GetRemoteSourcesRequest struct { StartRemoteSourceName string Limit int SortDirection types.SortDirection }
type GetRemoteSourcesResponse ¶ added in v0.9.0
type GetRemoteSourcesResponse struct { RemoteSources []*types.RemoteSource HasMore bool }
type GetSecretsResponse ¶ added in v0.10.0
type GetUserOrgsRequest ¶ added in v0.9.0
type GetUserOrgsRequest struct { UserRef string StartOrgName string Limit int SortDirection types.SortDirection }
type GetUserOrgsResponse ¶ added in v0.9.0
type GetUsersRequest ¶ added in v0.9.0
type GetUsersRequest struct { StartUserName string Limit int SortDirection types.SortDirection }
type GetUsersResponse ¶ added in v0.9.0
type GetVariablesResponse ¶ added in v0.10.0
type OrgInvitationActionRequest ¶ added in v0.8.0
type OrgInvitationActionRequest struct { OrgRef string UserRef string Action csapitypes.OrgInvitationActionType }
type ProjectDynamicData ¶ added in v0.10.0
type ProjectDynamicData struct { OwnerType types.ObjectKind OwnerID string Path string ParentPath string GlobalVisibility types.Visibility }
type ProjectGroupDynamicData ¶ added in v0.10.0
type ProjectGroupDynamicData struct { OwnerType types.ObjectKind OwnerID string Path string ParentPath string GlobalVisibility types.Visibility }
type UpdateOrgRequest ¶ added in v0.8.0
type UpdateOrgRequest struct {
Visibility types.Visibility
}
type UpdateUserLARequest ¶
type UpdateUserRequest ¶
type UserOrg ¶ added in v0.9.0
type UserOrg struct { Organization *types.Organization Role types.MemberRole }
Click to show internal directories.
Click to hide internal directories.