Help us shape the future of Go! Take the 2026 Go Developer Survey

organization

package
v0.24.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package organization reconciles its managed resource in both API scopes. The markers below are the RBAC the controller needs.

Own resources: full access to the managed resource and its status in both API groups. +kubebuilder:rbac:groups=organizations.github.crossplane.io,resources=organizations,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=organizations.github.crossplane.io,resources=organizations/status,verbs=get;update;patch +kubebuilder:rbac:groups=organizations.github.m.crossplane.io,resources=organizations,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=organizations.github.m.crossplane.io,resources=organizations/status,verbs=get;update;patch

Referenced resources: the reference resolvers read these kinds. +kubebuilder:rbac:groups=organizations.github.crossplane.io,resources=repositories,verbs=get;list;watch +kubebuilder:rbac:groups=organizations.github.m.crossplane.io,resources=repositories,verbs=get;list;watch

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

Setup adds a controller that reconciles Organization managed resources.

func SetupNamespaced

func SetupNamespaced(mgr ctrl.Manager, o controller.Options, metrics *telemetry.RateLimitMetrics) error

SetupNamespaced adds a controller that reconciles namespaced Organization managed resources.

func SetupNamespacedWithTimeout

func SetupNamespacedWithTimeout(mgr ctrl.Manager, o controller.Options, metrics *telemetry.RateLimitMetrics, timeout time.Duration) error

SetupNamespacedWithTimeout adds a controller that reconciles namespaced Organization managed resources with configurable timeout.

func SetupWithTimeout

func SetupWithTimeout(mgr ctrl.Manager, o controller.Options, metrics *telemetry.RateLimitMetrics, timeout time.Duration) error

SetupWithTimeout adds a controller that reconciles Organization managed resources with configurable timeout.

Types

type ActionsSecretSetter

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

func (*ActionsSecretSetter) SetSelectedReposForOrgSecret

func (a *ActionsSecretSetter) SetSelectedReposForOrgSecret(ctx context.Context, org string, name string, ids []int64) error

type DependabotSecretSetter

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

func (*DependabotSecretSetter) SetSelectedReposForOrgSecret

func (d *DependabotSecretSetter) SetSelectedReposForOrgSecret(ctx context.Context, org string, name string, ids []int64) error

type OrgSecretGetter

type OrgSecretGetter interface {
	GetOrgSecret(ctx context.Context, owner, secretName string) (*github.Secret, *github.Response, error)
	ListSelectedReposForOrgSecret(ctx context.Context, owner, secretName string, opts *github.ListOptions) (*github.SelectedReposList, *github.Response, error)
}

type OrgSecretSetter

type OrgSecretSetter interface {
	SetSelectedReposForOrgSecret(ctx context.Context, org string, name string, ids []int64) error
}

Jump to

Keyboard shortcuts

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