Documentation
¶
Overview ¶
Package machinery contains general-purpose utilities used for integrating functionality between multiple packages.
Index ¶
- func BuildTrustStrategy(kind v1beta1.TrustStrategyKind, kr keyring.Keyring) (trust.Strategy, error)
- func ConfigureStorageBackend(ctx context.Context, cfg *v1beta1.StorageSpec) (storage.Backend, error)
- func LoadAuthProviders(ctx context.Context, objects meta.ObjectList) map[string]auth.Middleware
- func LoadDocuments[T JsonDocument](documents []T) (meta.ObjectList, error)
- func LoadEphemeralKeys(fsys afero.Afero, dirs ...string) ([]*keyring.EphemeralKey, error)
- func NewNoauthServer(ctx context.Context, ap *v1beta1.AuthProvider) *noauth.Server
- func SubjectAccessCapableStore(client managementv1.ManagementClient) storage.SubjectAccessCapableStore
- type JsonDocument
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTrustStrategy ¶ added in v0.6.0
func ConfigureStorageBackend ¶
func LoadAuthProviders ¶
func LoadAuthProviders(ctx context.Context, objects meta.ObjectList) map[string]auth.Middleware
func LoadDocuments ¶
func LoadDocuments[T JsonDocument](documents []T) (meta.ObjectList, error)
func LoadEphemeralKeys ¶ added in v0.8.2
func NewNoauthServer ¶ added in v0.6.0
func SubjectAccessCapableStore ¶
func SubjectAccessCapableStore(client managementv1.ManagementClient) storage.SubjectAccessCapableStore
Types ¶
type JsonDocument ¶
type JsonDocument interface {
GetJson() []byte
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.