Documentation
¶
Index ¶
Constants ¶
View Source
const FGPATReplaceRotatorID = "github-fgpat-replace"
View Source
const GitHubAppInstallationTokenRotatorID = "github-app-installation-token" // #nosec G101 -- identifier label, not credential material
View Source
const OAuthResetRotatorID = "github-oauth-reset"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInstallationTokenRotator ¶
type AppInstallationTokenRotator struct{}
func NewAppInstallationTokenRotator ¶
func NewAppInstallationTokenRotator() *AppInstallationTokenRotator
func (*AppInstallationTokenRotator) ID ¶
func (h *AppInstallationTokenRotator) ID() string
func (*AppInstallationTokenRotator) Rotate ¶
func (h *AppInstallationTokenRotator) Rotate(ctx context.Context, input rotator.RotationInput) (rotator.RotationOutput, error)
func (*AppInstallationTokenRotator) Supports ¶
func (h *AppInstallationTokenRotator) Supports(selector rotator.RotationSelector) bool
type FGPATReplaceRotator ¶
type FGPATReplaceRotator struct{}
func NewFGPATReplaceRotator ¶
func NewFGPATReplaceRotator() *FGPATReplaceRotator
func (*FGPATReplaceRotator) ID ¶
func (h *FGPATReplaceRotator) ID() string
func (*FGPATReplaceRotator) Rotate ¶
func (h *FGPATReplaceRotator) Rotate(ctx context.Context, input rotator.RotationInput) (rotator.RotationOutput, error)
func (*FGPATReplaceRotator) Supports ¶
func (h *FGPATReplaceRotator) Supports(selector rotator.RotationSelector) bool
type OAuthResetRotator ¶
type OAuthResetRotator struct{}
func NewOAuthResetRotator ¶
func NewOAuthResetRotator() *OAuthResetRotator
func (*OAuthResetRotator) ID ¶
func (h *OAuthResetRotator) ID() string
func (*OAuthResetRotator) Rotate ¶
func (h *OAuthResetRotator) Rotate(ctx context.Context, input rotator.RotationInput) (rotator.RotationOutput, error)
func (*OAuthResetRotator) Supports ¶
func (h *OAuthResetRotator) Supports(selector rotator.RotationSelector) bool
Click to show internal directories.
Click to hide internal directories.