Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserAgent ¶
GetUserAgent extracts the user agent string from the context
Types ¶
type Clients ¶
type Clients interface { IAM() iam.Clients Tenant() tenant.Clients Registry() registry.Clients Advisory() advisory.Clients Ping() ping.Clients Notifications() notifications.Clients APK() apk.Clients Close() error }
func NewPlatformClients ¶
func NewPlatformClients(ctx context.Context, apiURL string, cred credentials.PerRPCCredentials, addlOpts ...grpc.DialOption) (Clients, error)
type OIDCClients ¶
type OIDCClients interface { Auth() platformauth.AuthClient OIDC() platformoidc.Clients OIDCPing() ping.Clients Close() error }
func NewOIDCClients ¶
func NewOIDCClients(ctx context.Context, issuerURL string, cred credentials.PerRPCCredentials) (OIDCClients, error)
Directories ¶
Path | Synopsis |
---|---|
advisory
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing Advisory interactions.
|
Package v1 contains the v1 GRPC client and server definitions for implementing Advisory interactions. |
apk
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing APK interactions.
|
Package v1 contains the v1 GRPC client and server definitions for implementing APK interactions. |
auth
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing Auth interactions for the Console.
|
Package v1 contains the v1 GRPC client and server definitions for implementing Auth interactions for the Console. |
common
|
|
v1
Package common contains Chainguard shared types exposed to the console.
|
Package common contains Chainguard shared types exposed to the console. |
events
|
|
v1
Package events contains the GRPC client and server definitions for implementing eventing interactions for the Console.
|
Package events contains the GRPC client and server definitions for implementing eventing interactions for the Console. |
iam
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing IAM interactions for the Console.
|
Package v1 contains the v1 GRPC client and server definitions for implementing IAM interactions for the Console. |
notifications
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing notifications interactions for the Platform.
|
Package v1 contains the v1 GRPC client and server definitions for implementing notifications interactions for the Platform. |
oidc
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing OIDC interactions for the Platform.
|
Package v1 contains the v1 GRPC client and server definitions for implementing OIDC interactions for the Platform. |
ping
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing ping interactions for the Platform.
|
Package v1 contains the v1 GRPC client and server definitions for implementing ping interactions for the Platform. |
registry
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing Registry interactions.
|
Package v1 contains the v1 GRPC client and server definitions for implementing Registry interactions. |
tenant
|
|
v1
Package v1 contains the v1 GRPC client and server definitions for implementing Tenant interactions for the Console.
|
Package v1 contains the v1 GRPC client and server definitions for implementing Tenant interactions for the Console. |
Click to show internal directories.
Click to hide internal directories.