Documentation ¶
Overview ¶
Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT. nolint
Index ¶
- Constants
- func APIStatusErrorToDiagnostics(s diagnostics_v1metav1.Status) []*diagnostics_tfprotov5.Diagnostic
- func FieldPathToTftypesPath(fieldPath string) (*waiter_tftypes.AttributePath, error)
- func GVKFromTftypesObject(in *resource_tftypes.Value, m resource_meta.RESTMapper) (resource_schema.GroupVersionKind, error)
- func GVRFromUnstructured(o *resource_unstructured.Unstructured, m resource_meta.RESTMapper) (resource_schema.GroupVersionResource, error)
- func GetDataSourceType(name string) (provider_tftypes.Type, error)
- func GetObjectTypeFromSchema(schema *provider_tfprotov5.Schema) provider_tftypes.Type
- func GetProviderConfigSchema() *provider_config_tfprotov5.Schema
- func GetProviderDataSourceSchema() map[string]*provider_tfprotov5.Schema
- func GetProviderResourceSchema() map[string]*provider_tfprotov5.Schema
- func GetResourceType(name string) (provider_tftypes.Type, error)
- func IsResourceNamespaced(gvk resource_schema.GroupVersionKind, m resource_meta.RESTMapper) (bool, error)
- func Provider() func() plugin_tfprotov5.ProviderServer
- func RemoveServerSideFields(in map[string]interface{}) map[string]interface{}
- func Serve(ctx plugin_context.Context, logger plugin_hclog.Logger) error
- func ServeTest(ctx plugin_context.Context, logger plugin_hclog.Logger, t *plugin_testing.T) (plugin_tfexec.ReattachInfo, error)
- type ConditionsWaiter
- type FieldMatcher
- type FieldWaiter
- type NoopWaiter
- type RawProviderServer
- func (s *RawProviderServer) ApplyResourceChange(ctx apply_context.Context, req *apply_tfprotov5.ApplyResourceChangeRequest) (*apply_tfprotov5.ApplyResourceChangeResponse, error)
- func (s *RawProviderServer) ConfigureProvider(ctx configure_context.Context, ...) (*configure_tfprotov5.ConfigureProviderResponse, error)
- func (s *RawProviderServer) GetProviderSchema(ctx getproviderschema_context.Context, ...) (*getproviderschema_tfprotov5.GetProviderSchemaResponse, error)
- func (s *RawProviderServer) ImportResourceState(ctx import_context.Context, req *import_tfprotov5.ImportResourceStateRequest) (*import_tfprotov5.ImportResourceStateResponse, error)
- func (s *RawProviderServer) PlanResourceChange(ctx plan_context.Context, req *plan_tfprotov5.PlanResourceChangeRequest) (*plan_tfprotov5.PlanResourceChangeResponse, error)
- func (s *RawProviderServer) PrepareProviderConfig(ctx server_context.Context, req *server_tfprotov5.PrepareProviderConfigRequest) (*server_tfprotov5.PrepareProviderConfigResponse, error)
- func (s *RawProviderServer) ReadDataSource(ctx datasource_context.Context, ...) (*datasource_tfprotov5.ReadDataSourceResponse, error)
- func (s *RawProviderServer) ReadResource(ctx read_context.Context, req *read_tfprotov5.ReadResourceRequest) (*read_tfprotov5.ReadResourceResponse, error)
- func (s *RawProviderServer) SetLogger(logger hclog.Logger)
- func (s *RawProviderServer) StopProvider(ctx server_context.Context, req *server_tfprotov5.StopProviderRequest) (*server_tfprotov5.StopProviderResponse, error)
- func (ps *RawProviderServer) TFTypeFromOpenAPI(ctx resource_context.Context, gvk resource_schema.GroupVersionKind, ...) (resource_tftypes.Type, map[string]string, error)
- func (s *RawProviderServer) UpgradeResourceState(ctx upgrade_state_context.Context, ...) (*upgrade_state_tfprotov5.UpgradeResourceStateResponse, error)
- func (s *RawProviderServer) ValidateDataSourceConfig(ctx server_context.Context, ...) (*server_tfprotov5.ValidateDataSourceConfigResponse, error)
- func (s *RawProviderServer) ValidateResourceTypeConfig(ctx validate_context.Context, ...) (*validate_tfprotov5.ValidateResourceTypeConfigResponse, error)
- type RolloutWaiter
- type Waiter
Constants ¶
View Source
const (
OAPIFoundry string = "OPENAPIFOUNDRY"
)
Variables ¶
This section is empty.
Functions ¶
func APIStatusErrorToDiagnostics ¶
func APIStatusErrorToDiagnostics(s diagnostics_v1metav1.Status) []*diagnostics_tfprotov5.Diagnostic
func FieldPathToTftypesPath ¶
func FieldPathToTftypesPath(fieldPath string) (*waiter_tftypes.AttributePath, error)
func GVKFromTftypesObject ¶
func GVKFromTftypesObject(in *resource_tftypes.Value, m resource_meta.RESTMapper) (resource_schema.GroupVersionKind, error)
func GVRFromUnstructured ¶
func GVRFromUnstructured(o *resource_unstructured.Unstructured, m resource_meta.RESTMapper) (resource_schema.GroupVersionResource, error)
func GetDataSourceType ¶
func GetDataSourceType(name string) (provider_tftypes.Type, error)
func GetObjectTypeFromSchema ¶
func GetObjectTypeFromSchema(schema *provider_tfprotov5.Schema) provider_tftypes.Type
func GetProviderConfigSchema ¶
func GetProviderConfigSchema() *provider_config_tfprotov5.Schema
func GetProviderDataSourceSchema ¶
func GetProviderDataSourceSchema() map[string]*provider_tfprotov5.Schema
func GetProviderResourceSchema ¶
func GetProviderResourceSchema() map[string]*provider_tfprotov5.Schema
func GetResourceType ¶
func GetResourceType(name string) (provider_tftypes.Type, error)
func IsResourceNamespaced ¶
func IsResourceNamespaced(gvk resource_schema.GroupVersionKind, m resource_meta.RESTMapper) (bool, error)
func Provider ¶
func Provider() func() plugin_tfprotov5.ProviderServer
func RemoveServerSideFields ¶
func Serve ¶
func Serve(ctx plugin_context.Context, logger plugin_hclog.Logger) error
func ServeTest ¶
func ServeTest(ctx plugin_context.Context, logger plugin_hclog.Logger, t *plugin_testing.T) (plugin_tfexec.ReattachInfo, error)
Types ¶
type ConditionsWaiter ¶
type ConditionsWaiter struct {
// contains filtered or unexported fields
}
func (*ConditionsWaiter) Wait ¶
func (w *ConditionsWaiter) Wait(ctx waiter_context.Context) error
type FieldMatcher ¶
type FieldMatcher struct {
// contains filtered or unexported fields
}
type FieldWaiter ¶
type FieldWaiter struct {
// contains filtered or unexported fields
}
func (*FieldWaiter) Wait ¶
func (w *FieldWaiter) Wait(ctx waiter_context.Context) error
type NoopWaiter ¶
type NoopWaiter struct{}
func (*NoopWaiter) Wait ¶
func (w *NoopWaiter) Wait(_ waiter_context.Context) error
type RawProviderServer ¶
type RawProviderServer struct { OAPIFoundry server_openapi.Foundry // contains filtered or unexported fields }
func (*RawProviderServer) ApplyResourceChange ¶
func (s *RawProviderServer) ApplyResourceChange(ctx apply_context.Context, req *apply_tfprotov5.ApplyResourceChangeRequest) (*apply_tfprotov5.ApplyResourceChangeResponse, error)
func (*RawProviderServer) ConfigureProvider ¶
func (s *RawProviderServer) ConfigureProvider(ctx configure_context.Context, req *configure_tfprotov5.ConfigureProviderRequest) (*configure_tfprotov5.ConfigureProviderResponse, error)
func (*RawProviderServer) GetProviderSchema ¶
func (s *RawProviderServer) GetProviderSchema(ctx getproviderschema_context.Context, req *getproviderschema_tfprotov5.GetProviderSchemaRequest) (*getproviderschema_tfprotov5.GetProviderSchemaResponse, error)
func (*RawProviderServer) ImportResourceState ¶
func (s *RawProviderServer) ImportResourceState(ctx import_context.Context, req *import_tfprotov5.ImportResourceStateRequest) (*import_tfprotov5.ImportResourceStateResponse, error)
func (*RawProviderServer) PlanResourceChange ¶
func (s *RawProviderServer) PlanResourceChange(ctx plan_context.Context, req *plan_tfprotov5.PlanResourceChangeRequest) (*plan_tfprotov5.PlanResourceChangeResponse, error)
func (*RawProviderServer) PrepareProviderConfig ¶
func (s *RawProviderServer) PrepareProviderConfig(ctx server_context.Context, req *server_tfprotov5.PrepareProviderConfigRequest) (*server_tfprotov5.PrepareProviderConfigResponse, error)
func (*RawProviderServer) ReadDataSource ¶
func (s *RawProviderServer) ReadDataSource(ctx datasource_context.Context, req *datasource_tfprotov5.ReadDataSourceRequest) (*datasource_tfprotov5.ReadDataSourceResponse, error)
func (*RawProviderServer) ReadResource ¶
func (s *RawProviderServer) ReadResource(ctx read_context.Context, req *read_tfprotov5.ReadResourceRequest) (*read_tfprotov5.ReadResourceResponse, error)
func (*RawProviderServer) SetLogger ¶
func (s *RawProviderServer) SetLogger(logger hclog.Logger)
SetLogger sets the logger on the raw provider
func (*RawProviderServer) StopProvider ¶
func (s *RawProviderServer) StopProvider(ctx server_context.Context, req *server_tfprotov5.StopProviderRequest) (*server_tfprotov5.StopProviderResponse, error)
func (*RawProviderServer) TFTypeFromOpenAPI ¶
func (ps *RawProviderServer) TFTypeFromOpenAPI(ctx resource_context.Context, gvk resource_schema.GroupVersionKind, status bool) (resource_tftypes.Type, map[string]string, error)
func (*RawProviderServer) UpgradeResourceState ¶
func (s *RawProviderServer) UpgradeResourceState(ctx upgrade_state_context.Context, req *upgrade_state_tfprotov5.UpgradeResourceStateRequest) (*upgrade_state_tfprotov5.UpgradeResourceStateResponse, error)
func (*RawProviderServer) ValidateDataSourceConfig ¶
func (s *RawProviderServer) ValidateDataSourceConfig(ctx server_context.Context, req *server_tfprotov5.ValidateDataSourceConfigRequest) (*server_tfprotov5.ValidateDataSourceConfigResponse, error)
func (*RawProviderServer) ValidateResourceTypeConfig ¶
func (s *RawProviderServer) ValidateResourceTypeConfig(ctx validate_context.Context, req *validate_tfprotov5.ValidateResourceTypeConfigRequest) (*validate_tfprotov5.ValidateResourceTypeConfigResponse, error)
type RolloutWaiter ¶
type RolloutWaiter struct {
// contains filtered or unexported fields
}
func (*RolloutWaiter) Wait ¶
func (w *RolloutWaiter) Wait(ctx waiter_context.Context) error
type Waiter ¶
type Waiter interface {
Wait(waiter_context.Context) error
}
func NewResourceWaiter ¶
func NewResourceWaiter(resource waiter_dynamic.ResourceInterface, resourceName string, resourceType waiter_tftypes.Type, th map[string]string, waitForBlock waiter_tftypes.Value, hl waiter_hclog.Logger) (Waiter, error)
Click to show internal directories.
Click to hide internal directories.