Documentation ¶
Index ¶
- func FromContext(ctx context.Context) (string, error)
- func IntoContext(ctx context.Context, placement string) context.Context
- func NewClient(global client.Client, workers map[string]client.Client) client.Client
- type ClientOption
- func (o *ClientOption) ApplyToCreate(*client.CreateOptions)
- func (o *ClientOption) ApplyToDelete(*client.DeleteOptions)
- func (o *ClientOption) ApplyToDeleteAllOf(*client.DeleteAllOfOptions)
- func (o *ClientOption) ApplyToGet(*client.GetOptions)
- func (o *ClientOption) ApplyToList(*client.ListOptions)
- func (o *ClientOption) ApplyToPatch(*client.PatchOptions)
- func (o *ClientOption) ApplyToSubResourceCreate(*client.SubResourceCreateOptions)
- func (o *ClientOption) ApplyToSubResourceGet(*client.SubResourceGetOptions)
- func (o *ClientOption) ApplyToSubResourcePatch(*client.SubResourcePatchOptions)
- func (o *ClientOption) ApplyToSubResourceUpdate(*client.SubResourceUpdateOptions)
- func (o *ClientOption) ApplyToUpdate(*client.UpdateOptions)
- type Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientOption ¶
type ClientOption struct {
// contains filtered or unexported fields
}
func InGlobalContext ¶
func InGlobalContext() *ClientOption
func InLocalContext ¶
func InLocalContext() *ClientOption
func InLocalContextOneshot ¶
func InLocalContextOneshot() *ClientOption
func InLocalContextUnspecified ¶
func InLocalContextUnspecified() *ClientOption
func InUniversalContext ¶
func InUniversalContext() *ClientOption
func (*ClientOption) ApplyToCreate ¶
func (o *ClientOption) ApplyToCreate(*client.CreateOptions)
func (*ClientOption) ApplyToDelete ¶
func (o *ClientOption) ApplyToDelete(*client.DeleteOptions)
func (*ClientOption) ApplyToDeleteAllOf ¶
func (o *ClientOption) ApplyToDeleteAllOf(*client.DeleteAllOfOptions)
func (*ClientOption) ApplyToGet ¶
func (o *ClientOption) ApplyToGet(*client.GetOptions)
func (*ClientOption) ApplyToList ¶
func (o *ClientOption) ApplyToList(*client.ListOptions)
func (*ClientOption) ApplyToPatch ¶
func (o *ClientOption) ApplyToPatch(*client.PatchOptions)
func (*ClientOption) ApplyToSubResourceCreate ¶
func (o *ClientOption) ApplyToSubResourceCreate(*client.SubResourceCreateOptions)
func (*ClientOption) ApplyToSubResourceGet ¶
func (o *ClientOption) ApplyToSubResourceGet(*client.SubResourceGetOptions)
func (*ClientOption) ApplyToSubResourcePatch ¶
func (o *ClientOption) ApplyToSubResourcePatch(*client.SubResourcePatchOptions)
func (*ClientOption) ApplyToSubResourceUpdate ¶
func (o *ClientOption) ApplyToSubResourceUpdate(*client.SubResourceUpdateOptions)
func (*ClientOption) ApplyToUpdate ¶
func (o *ClientOption) ApplyToUpdate(*client.UpdateOptions)
Click to show internal directories.
Click to hide internal directories.