Documentation
¶
Index ¶
- func ApiVersion(ctx context.Context) string
- func Kind(ctx context.Context) types.Kind
- func Metadata(ctx context.Context) *types.Metadata
- func StandardObject(ctx context.Context) types.StandardObject
- func Tenant(ctx context.Context) string
- func UID(ctx context.Context) string
- func WithApiVersion(ctx context.Context, apiVersion string) context.Context
- func WithKind(ctx context.Context, kind types.Kind) context.Context
- func WithMetadata(ctx context.Context, metadata *types.Metadata) context.Context
- func WithStandardObject(ctx context.Context, obj types.StandardObject) context.Context
- func WithTenant(ctx context.Context, tenant string) context.Context
- func WithUID(ctx context.Context, uid string) context.Context
- type ContextKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiVersion ¶
func StandardObject ¶
func StandardObject(ctx context.Context) types.StandardObject
func WithMetadata ¶
func WithStandardObject ¶
Types ¶
type ContextKey ¶
type ContextKey string
Click to show internal directories.
Click to hide internal directories.