api

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultProjectsLimit = 10
	MaxProjectsLimit     = 20
)

Variables

This section is empty.

Functions

func GetObjectKindRef added in v0.8.0

func GetObjectKindRef(r *http.Request) (types.ObjectKind, string, error)

Types

type AddOrgMemberHandler

type AddOrgMemberHandler struct {
	// contains filtered or unexported fields
}

func NewAddOrgMemberHandler

func NewAddOrgMemberHandler(log zerolog.Logger, ah *action.ActionHandler) *AddOrgMemberHandler

func (*AddOrgMemberHandler) ServeHTTP

func (h *AddOrgMemberHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CreateOrgHandler

type CreateOrgHandler struct {
	// contains filtered or unexported fields
}

func NewCreateOrgHandler

func NewCreateOrgHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateOrgHandler

func (*CreateOrgHandler) ServeHTTP

func (h *CreateOrgHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CreateOrgInvitationHandler added in v0.8.0

type CreateOrgInvitationHandler struct {
	// contains filtered or unexported fields
}

func NewCreateOrgInvitationHandler added in v0.8.0

func NewCreateOrgInvitationHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateOrgInvitationHandler

func (*CreateOrgInvitationHandler) ServeHTTP added in v0.8.0

type CreateProjectGroupHandler

type CreateProjectGroupHandler struct {
	// contains filtered or unexported fields
}

func NewCreateProjectGroupHandler

func NewCreateProjectGroupHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateProjectGroupHandler

func (*CreateProjectGroupHandler) ServeHTTP

type CreateProjectHandler

type CreateProjectHandler struct {
	// contains filtered or unexported fields
}

func NewCreateProjectHandler

func NewCreateProjectHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateProjectHandler

func (*CreateProjectHandler) ServeHTTP

func (h *CreateProjectHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CreateRemoteSourceHandler

type CreateRemoteSourceHandler struct {
	// contains filtered or unexported fields
}

func NewCreateRemoteSourceHandler

func NewCreateRemoteSourceHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateRemoteSourceHandler

func (*CreateRemoteSourceHandler) ServeHTTP

type CreateSecretHandler

type CreateSecretHandler struct {
	// contains filtered or unexported fields
}

func NewCreateSecretHandler

func NewCreateSecretHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateSecretHandler

func (*CreateSecretHandler) ServeHTTP

func (h *CreateSecretHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CreateUserHandler

type CreateUserHandler struct {
	// contains filtered or unexported fields
}

func NewCreateUserHandler

func NewCreateUserHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateUserHandler

func (*CreateUserHandler) ServeHTTP

func (h *CreateUserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CreateUserLAHandler

type CreateUserLAHandler struct {
	// contains filtered or unexported fields
}

func NewCreateUserLAHandler

func NewCreateUserLAHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateUserLAHandler

func (*CreateUserLAHandler) ServeHTTP

func (h *CreateUserLAHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CreateUserTokenHandler

type CreateUserTokenHandler struct {
	// contains filtered or unexported fields
}

func NewCreateUserTokenHandler

func NewCreateUserTokenHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateUserTokenHandler

func (*CreateUserTokenHandler) ServeHTTP

type CreateVariableHandler

type CreateVariableHandler struct {
	// contains filtered or unexported fields
}

func NewCreateVariableHandler

func NewCreateVariableHandler(log zerolog.Logger, ah *action.ActionHandler) *CreateVariableHandler

func (*CreateVariableHandler) ServeHTTP

type DeleteOrgHandler

type DeleteOrgHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteOrgHandler

func NewDeleteOrgHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteOrgHandler

func (*DeleteOrgHandler) ServeHTTP

func (h *DeleteOrgHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type DeleteOrgInvitationHandler added in v0.8.0

type DeleteOrgInvitationHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteOrgInvitationHandler added in v0.8.0

func NewDeleteOrgInvitationHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteOrgInvitationHandler

func (*DeleteOrgInvitationHandler) ServeHTTP added in v0.8.0

type DeleteProjectGroupHandler

type DeleteProjectGroupHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteProjectGroupHandler

func NewDeleteProjectGroupHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteProjectGroupHandler

func (*DeleteProjectGroupHandler) ServeHTTP

type DeleteProjectHandler

type DeleteProjectHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteProjectHandler

func NewDeleteProjectHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteProjectHandler

func (*DeleteProjectHandler) ServeHTTP

func (h *DeleteProjectHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type DeleteRemoteSourceHandler

type DeleteRemoteSourceHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteRemoteSourceHandler

func NewDeleteRemoteSourceHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteRemoteSourceHandler

func (*DeleteRemoteSourceHandler) ServeHTTP

type DeleteSecretHandler

type DeleteSecretHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteSecretHandler

func NewDeleteSecretHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteSecretHandler

func (*DeleteSecretHandler) ServeHTTP

func (h *DeleteSecretHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type DeleteUserHandler

type DeleteUserHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteUserHandler

func NewDeleteUserHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteUserHandler

func (*DeleteUserHandler) ServeHTTP

func (h *DeleteUserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type DeleteUserLAHandler

type DeleteUserLAHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteUserLAHandler

func NewDeleteUserLAHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteUserLAHandler

func (*DeleteUserLAHandler) ServeHTTP

func (h *DeleteUserLAHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type DeleteUserTokenHandler

type DeleteUserTokenHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteUserTokenHandler

func NewDeleteUserTokenHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteUserTokenHandler

func (*DeleteUserTokenHandler) ServeHTTP

type DeleteVariableHandler

type DeleteVariableHandler struct {
	// contains filtered or unexported fields
}

func NewDeleteVariableHandler

func NewDeleteVariableHandler(log zerolog.Logger, ah *action.ActionHandler) *DeleteVariableHandler

func (*DeleteVariableHandler) ServeHTTP

type ExportHandler added in v0.2.0

type ExportHandler struct {
	// contains filtered or unexported fields
}

func NewExportHandler added in v0.2.0

func NewExportHandler(log zerolog.Logger, ah *action.ActionHandler) *ExportHandler

func (*ExportHandler) ServeHTTP added in v0.2.0

func (h *ExportHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type ImportHandler added in v0.2.0

type ImportHandler struct {
	// contains filtered or unexported fields
}

func NewImportHandler added in v0.2.0

func NewImportHandler(log zerolog.Logger, ah *action.ActionHandler) *ImportHandler

func (*ImportHandler) ServeHTTP added in v0.2.0

func (h *ImportHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type LinkedAccountsHandler added in v0.8.0

type LinkedAccountsHandler struct {
	// contains filtered or unexported fields
}

func NewLinkedAccountsHandler added in v0.8.0

func NewLinkedAccountsHandler(log zerolog.Logger, ah *action.ActionHandler) *LinkedAccountsHandler

func (*LinkedAccountsHandler) ServeHTTP added in v0.8.0

type MaintenanceModeHandler added in v0.2.0

type MaintenanceModeHandler struct {
	// contains filtered or unexported fields
}

func NewMaintenanceModeHandler added in v0.2.0

func NewMaintenanceModeHandler(log zerolog.Logger, ah *action.ActionHandler) *MaintenanceModeHandler

func (*MaintenanceModeHandler) ServeHTTP added in v0.2.0

type MaintenanceStatusHandler added in v0.8.0

type MaintenanceStatusHandler struct {
	// contains filtered or unexported fields
}

func NewMaintenanceStatusHandler added in v0.8.0

func NewMaintenanceStatusHandler(log zerolog.Logger, ah *action.ActionHandler, currentMaintenanceMode bool) *MaintenanceStatusHandler

func (*MaintenanceStatusHandler) ServeHTTP added in v0.8.0

type OrgHandler

type OrgHandler struct {
	// contains filtered or unexported fields
}

func NewOrgHandler

func NewOrgHandler(log zerolog.Logger, ah *action.ActionHandler) *OrgHandler

func (*OrgHandler) ServeHTTP

func (h *OrgHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type OrgInvitationActionHandler added in v0.8.0

type OrgInvitationActionHandler struct {
	// contains filtered or unexported fields
}

func NewOrgInvitationActionHandler added in v0.8.0

func NewOrgInvitationActionHandler(log zerolog.Logger, ah *action.ActionHandler) *OrgInvitationActionHandler

func (*OrgInvitationActionHandler) ServeHTTP added in v0.8.0

type OrgInvitationHandler added in v0.8.0

type OrgInvitationHandler struct {
	// contains filtered or unexported fields
}

func NewOrgInvitationHandler added in v0.8.0

func NewOrgInvitationHandler(log zerolog.Logger, ah *action.ActionHandler) *OrgInvitationHandler

func (*OrgInvitationHandler) ServeHTTP added in v0.8.0

func (h *OrgInvitationHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type OrgInvitationsHandler added in v0.8.0

type OrgInvitationsHandler struct {
	// contains filtered or unexported fields
}

func NewOrgInvitationsHandler added in v0.8.0

func NewOrgInvitationsHandler(log zerolog.Logger, ah *action.ActionHandler) *OrgInvitationsHandler

func (*OrgInvitationsHandler) ServeHTTP added in v0.8.0

type OrgMembersHandler

type OrgMembersHandler struct {
	// contains filtered or unexported fields
}

func NewOrgMembersHandler

func NewOrgMembersHandler(log zerolog.Logger, ah *action.ActionHandler) *OrgMembersHandler

func (*OrgMembersHandler) ServeHTTP

func (h *OrgMembersHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type OrgsHandler

type OrgsHandler struct {
	// contains filtered or unexported fields
}

func NewOrgsHandler

func NewOrgsHandler(log zerolog.Logger, ah *action.ActionHandler) *OrgsHandler

func (*OrgsHandler) ServeHTTP

func (h *OrgsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type ProjectGroupHandler

type ProjectGroupHandler struct {
	// contains filtered or unexported fields
}

func NewProjectGroupHandler

func NewProjectGroupHandler(log zerolog.Logger, ah *action.ActionHandler) *ProjectGroupHandler

func (*ProjectGroupHandler) ServeHTTP

func (h *ProjectGroupHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type ProjectGroupProjectsHandler

type ProjectGroupProjectsHandler struct {
	// contains filtered or unexported fields
}

func (*ProjectGroupProjectsHandler) ServeHTTP

type ProjectGroupSubgroupsHandler

type ProjectGroupSubgroupsHandler struct {
	// contains filtered or unexported fields
}

func (*ProjectGroupSubgroupsHandler) ServeHTTP

type ProjectHandler

type ProjectHandler struct {
	// contains filtered or unexported fields
}

func NewProjectHandler

func NewProjectHandler(log zerolog.Logger, ah *action.ActionHandler) *ProjectHandler

func (*ProjectHandler) ServeHTTP

func (h *ProjectHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RemoteSourceHandler

type RemoteSourceHandler struct {
	// contains filtered or unexported fields
}

func NewRemoteSourceHandler

func NewRemoteSourceHandler(log zerolog.Logger, ah *action.ActionHandler) *RemoteSourceHandler

func (*RemoteSourceHandler) ServeHTTP

func (h *RemoteSourceHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RemoteSourcesHandler

type RemoteSourcesHandler struct {
	// contains filtered or unexported fields
}

func NewRemoteSourcesHandler

func NewRemoteSourcesHandler(log zerolog.Logger, ah *action.ActionHandler) *RemoteSourcesHandler

func (*RemoteSourcesHandler) ServeHTTP

func (h *RemoteSourcesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RemoveOrgMemberHandler

type RemoveOrgMemberHandler struct {
	// contains filtered or unexported fields
}

func NewRemoveOrgMemberHandler

func NewRemoveOrgMemberHandler(log zerolog.Logger, ah *action.ActionHandler) *RemoveOrgMemberHandler

func (*RemoveOrgMemberHandler) ServeHTTP

type SecretHandler

type SecretHandler struct {
	// contains filtered or unexported fields
}

func NewSecretHandler

func NewSecretHandler(log zerolog.Logger, ah *action.ActionHandler) *SecretHandler

func (*SecretHandler) ServeHTTP

func (h *SecretHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type SecretsHandler

type SecretsHandler struct {
	// contains filtered or unexported fields
}

func NewSecretsHandler

func NewSecretsHandler(log zerolog.Logger, ah *action.ActionHandler) *SecretsHandler

func (*SecretsHandler) ServeHTTP

func (h *SecretsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UpdateOrgHandler added in v0.8.0

type UpdateOrgHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateOrgHandler added in v0.8.0

func NewUpdateOrgHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateOrgHandler

func (*UpdateOrgHandler) ServeHTTP added in v0.8.0

func (h *UpdateOrgHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UpdateProjectGroupHandler

type UpdateProjectGroupHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateProjectGroupHandler

func NewUpdateProjectGroupHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateProjectGroupHandler

func (*UpdateProjectGroupHandler) ServeHTTP

type UpdateProjectHandler

type UpdateProjectHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateProjectHandler

func NewUpdateProjectHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateProjectHandler

func (*UpdateProjectHandler) ServeHTTP

func (h *UpdateProjectHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UpdateRemoteSourceHandler

type UpdateRemoteSourceHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateRemoteSourceHandler

func NewUpdateRemoteSourceHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateRemoteSourceHandler

func (*UpdateRemoteSourceHandler) ServeHTTP

type UpdateSecretHandler

type UpdateSecretHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateSecretHandler

func NewUpdateSecretHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateSecretHandler

func (*UpdateSecretHandler) ServeHTTP

func (h *UpdateSecretHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UpdateUserHandler

type UpdateUserHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateUserHandler

func NewUpdateUserHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateUserHandler

func (*UpdateUserHandler) ServeHTTP

func (h *UpdateUserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UpdateUserLAHandler

type UpdateUserLAHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateUserLAHandler

func NewUpdateUserLAHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateUserLAHandler

func (*UpdateUserLAHandler) ServeHTTP

func (h *UpdateUserLAHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UpdateVariableHandler

type UpdateVariableHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateVariableHandler

func NewUpdateVariableHandler(log zerolog.Logger, ah *action.ActionHandler) *UpdateVariableHandler

func (*UpdateVariableHandler) ServeHTTP

type UserHandler

type UserHandler struct {
	// contains filtered or unexported fields
}

func NewUserHandler

func NewUserHandler(log zerolog.Logger, ah *action.ActionHandler) *UserHandler

func (*UserHandler) ServeHTTP

func (h *UserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UserLinkedAccountsHandler added in v0.8.0

type UserLinkedAccountsHandler struct {
	// contains filtered or unexported fields
}

func NewUserLinkedAccountsHandler added in v0.8.0

func NewUserLinkedAccountsHandler(log zerolog.Logger, ah *action.ActionHandler) *UserLinkedAccountsHandler

func (*UserLinkedAccountsHandler) ServeHTTP added in v0.8.0

type UserOrgHandler added in v0.9.0

type UserOrgHandler struct {
	// contains filtered or unexported fields
}

func NewUserOrgHandler added in v0.9.0

func NewUserOrgHandler(log zerolog.Logger, ah *action.ActionHandler) *UserOrgHandler

func (*UserOrgHandler) ServeHTTP added in v0.9.0

func (h *UserOrgHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UserOrgInvitationsHandler added in v0.8.0

type UserOrgInvitationsHandler struct {
	// contains filtered or unexported fields
}

func NewUserOrgInvitationsHandler added in v0.8.0

func NewUserOrgInvitationsHandler(log zerolog.Logger, ah *action.ActionHandler) *UserOrgInvitationsHandler

func (*UserOrgInvitationsHandler) ServeHTTP added in v0.8.0

type UserOrgsHandler

type UserOrgsHandler struct {
	// contains filtered or unexported fields
}

func NewUserOrgsHandler

func NewUserOrgsHandler(log zerolog.Logger, ah *action.ActionHandler) *UserOrgsHandler

func (*UserOrgsHandler) ServeHTTP

func (h *UserOrgsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UserTokensHandler added in v0.8.0

type UserTokensHandler struct {
	// contains filtered or unexported fields
}

func NewUserTokensHandler added in v0.8.0

func NewUserTokensHandler(log zerolog.Logger, ah *action.ActionHandler) *UserTokensHandler

func (*UserTokensHandler) ServeHTTP added in v0.8.0

func (h *UserTokensHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UsersHandler

type UsersHandler struct {
	// contains filtered or unexported fields
}

func NewUsersHandler

func NewUsersHandler(log zerolog.Logger, ah *action.ActionHandler) *UsersHandler

func (*UsersHandler) ServeHTTP

func (h *UsersHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type VariablesHandler

type VariablesHandler struct {
	// contains filtered or unexported fields
}

func NewVariablesHandler

func NewVariablesHandler(log zerolog.Logger, ah *action.ActionHandler) *VariablesHandler

func (*VariablesHandler) ServeHTTP

func (h *VariablesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL