Documentation ¶
Index ¶
- type Resource
- func (r *Resource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (r Resource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (r Resource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (r *Resource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (r Resource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *Resource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r Resource) Update(ctx context.Context, request resource.UpdateRequest, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) Configure ¶ added in v0.6.0
func (r *Resource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (Resource) Create ¶ added in v0.6.0
func (r Resource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
Create will create an item in the Elasticsearch keystore
func (Resource) Delete ¶ added in v0.6.0
func (r Resource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
Delete will delete an existing element in the Elasticsearch keystore
func (*Resource) Metadata ¶ added in v0.6.0
func (r *Resource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (Resource) Read ¶ added in v0.6.0
func (r Resource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
Read queries the remote Elasticsearch keystore state and updates the local state.
func (*Resource) Schema ¶ added in v0.8.0
func (r *Resource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (Resource) Update ¶ added in v0.6.0
func (r Resource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
Update will update an existing element in the Elasticsearch keystore
Click to show internal directories.
Click to hide internal directories.