Documentation ¶
Index ¶
Constants ¶
View Source
const (
ProjectFinalizerName = "finalizers.sentry.kubernetes.jaceys.me/project"
)
View Source
const (
ProjectKeyFinalizerName = "finalizers.sentry.kubernetes.jaceys.me/projectkey"
)
View Source
const (
TeamFinalizerName = "finalizers.sentry.kubernetes.jaceys.me/team"
)
Variables ¶
View Source
var (
ErrOutOfSync = errors.New("out of sync")
)
Functions ¶
This section is empty.
Types ¶
type ProjectKeyReconciler ¶
type ProjectKeyReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Sentry *Sentry }
ProjectKeyReconciler reconciles a ProjectKey object
func (*ProjectKeyReconciler) SetupWithManager ¶
func (r *ProjectKeyReconciler) SetupWithManager(mgr ctrl.Manager) error
type ProjectReconciler ¶
type ProjectReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Sentry *Sentry }
ProjectReconciler reconciles a Project object
func (*ProjectReconciler) SetupWithManager ¶
func (r *ProjectReconciler) SetupWithManager(mgr ctrl.Manager) error
type Sentry ¶
type Sentry struct { Organization string Client *SentryClient }
type SentryClient ¶
type SentryClient struct { Organizations SentryOrganizations Projects SentryProjects Teams SentryTeams }
type SentryOrganizations ¶
type SentryProjects ¶
type SentryProjects interface { Update(organizationSlug, projectSlug string, params *sentry.UpdateProjectParams) (*sentry.Project, *sentry.Response, error) Delete(organizationSlug, projectSlug string) (*sentry.Response, error) ListKeys(organizationSlug, projectSlug string, opts *sentry.ListOptions) ([]sentry.ProjectKey, *sentry.Response, error) CreateKey(organizationSlug, projectSlug string, params *sentry.CreateProjectKeyParams) (*sentry.ProjectKey, *sentry.Response, error) UpdateKey(organizationSlug, projectSlug, keyID string, params *sentry.UpdateProjectKeyParams) (*sentry.ProjectKey, *sentry.Response, error) DeleteKey(organizationSlug, projectSlug, keyID string) (*sentry.Response, error) }
type SentryTeams ¶
type SentryTeams interface { List(organizationSlug string, opts *sentry.ListOptions) ([]sentry.Team, *sentry.Response, error) Create(organizationSlug string, params *sentry.CreateTeamParams) (*sentry.Team, *sentry.Response, error) Update(organizationSlug, teamSlug string, params *sentry.UpdateTeamParams) (*sentry.Team, *sentry.Response, error) Delete(organizationSlug, teamSlug string) (*sentry.Response, error) CreateProject(organizationSlug, teamSlug string, params *sentry.CreateProjectParams) (*sentry.Project, *sentry.Response, error) }
type TeamReconciler ¶
TeamReconciler reconciles a Team object
func (*TeamReconciler) SetupWithManager ¶
func (r *TeamReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.