Documentation ¶
Overview ¶
Package provider provides the overwrriten kubeproxy providy
Package provider is a shim for the Package method of the underlying provider. nolint: wrapcheck
Package provider is the Terraform provider for Kubernetes nolint
Index ¶
- func MainProvider() *schema.Provider
- func ManifestProvider() (func() tfprotov5.ProviderServer, error)
- type RawProviderServer
- func (r *RawProviderServer) ApplyResourceChange(ctx context.Context, req *tfprotov5.ApplyResourceChangeRequest) (*tfprotov5.ApplyResourceChangeResponse, error)
- func (r *RawProviderServer) ConfigureProvider(ctx context.Context, req *tfprotov5.ConfigureProviderRequest) (*tfprotov5.ConfigureProviderResponse, error)
- func (r *RawProviderServer) GetProviderSchema(_ context.Context, _ *tfprotov5.GetProviderSchemaRequest) (*tfprotov5.GetProviderSchemaResponse, error)
- func (r *RawProviderServer) ImportResourceState(ctx context.Context, req *tfprotov5.ImportResourceStateRequest) (*tfprotov5.ImportResourceStateResponse, error)
- func (r *RawProviderServer) PlanResourceChange(ctx context.Context, req *tfprotov5.PlanResourceChangeRequest) (*tfprotov5.PlanResourceChangeResponse, error)
- func (r *RawProviderServer) ReadDataSource(ctx context.Context, req *tfprotov5.ReadDataSourceRequest) (*tfprotov5.ReadDataSourceResponse, error)
- func (r *RawProviderServer) ReadResource(ctx context.Context, req *tfprotov5.ReadResourceRequest) (*tfprotov5.ReadResourceResponse, error)
- func (r *RawProviderServer) StopContext(ctx context.Context) context.Context
- func (r *RawProviderServer) UpgradeResourceState(ctx context.Context, req *tfprotov5.UpgradeResourceStateRequest) (*tfprotov5.UpgradeResourceStateResponse, error)
- func (r *RawProviderServer) ValidateDataSourceConfig(ctx context.Context, req *tfprotov5.ValidateDataSourceConfigRequest) (*tfprotov5.ValidateDataSourceConfigResponse, error)
- func (r *RawProviderServer) ValidateResourceTypeConfig(ctx context.Context, req *tfprotov5.ValidateResourceTypeConfigRequest) (*tfprotov5.ValidateResourceTypeConfigResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MainProvider ¶
MainProvider creates the main provider for the iap tunnel.
func ManifestProvider ¶ added in v0.0.5
func ManifestProvider() (func() tfprotov5.ProviderServer, error)
ManifestProvider gets the manifest provider.
Types ¶
type RawProviderServer ¶ added in v0.0.5
type RawProviderServer struct { *manifest.RawProviderServer // contains filtered or unexported fields }
RawProviderServer is the raw provider server.
func (*RawProviderServer) ApplyResourceChange ¶ added in v0.0.5
func (r *RawProviderServer) ApplyResourceChange(ctx context.Context, req *tfprotov5.ApplyResourceChangeRequest) (*tfprotov5.ApplyResourceChangeResponse, error)
ApplyResourceChange is a shim for the ApplyResourceChange method of the underlying provider.
func (*RawProviderServer) ConfigureProvider ¶ added in v0.0.5
func (r *RawProviderServer) ConfigureProvider(ctx context.Context, req *tfprotov5.ConfigureProviderRequest) (*tfprotov5.ConfigureProviderResponse, error)
ConfigureProvider configures the provider and sets up the tunnel.
func (*RawProviderServer) GetProviderSchema ¶ added in v0.0.5
func (r *RawProviderServer) GetProviderSchema(_ context.Context, _ *tfprotov5.GetProviderSchemaRequest) (*tfprotov5.GetProviderSchemaResponse, error)
GetProviderSchema returns the provider schema.
func (*RawProviderServer) ImportResourceState ¶ added in v0.0.5
func (r *RawProviderServer) ImportResourceState(ctx context.Context, req *tfprotov5.ImportResourceStateRequest) (*tfprotov5.ImportResourceStateResponse, error)
ImportResourceState is a shim for the ImportResourceState method of the underlying provider.
func (*RawProviderServer) PlanResourceChange ¶ added in v0.0.5
func (r *RawProviderServer) PlanResourceChange(ctx context.Context, req *tfprotov5.PlanResourceChangeRequest) (*tfprotov5.PlanResourceChangeResponse, error)
PlanResourceChange is a shim for the PlanResourceChange method of the underlying provider.
func (*RawProviderServer) ReadDataSource ¶ added in v0.0.5
func (r *RawProviderServer) ReadDataSource(ctx context.Context, req *tfprotov5.ReadDataSourceRequest) (*tfprotov5.ReadDataSourceResponse, error)
ReadDataSource is a shim for the ReadDataSource method of the underlying provider.
func (*RawProviderServer) ReadResource ¶ added in v0.0.5
func (r *RawProviderServer) ReadResource(ctx context.Context, req *tfprotov5.ReadResourceRequest) (*tfprotov5.ReadResourceResponse, error)
ReadResource is a shim for the ReadResource method of the underlying provider.
func (*RawProviderServer) StopContext ¶ added in v0.0.5
func (r *RawProviderServer) StopContext(ctx context.Context) context.Context
StopContext derives a new context from the passed in grpc context. It creates a goroutine to wait for the server stop and propagates cancellation to the derived grpc context.
func (*RawProviderServer) UpgradeResourceState ¶ added in v0.0.5
func (r *RawProviderServer) UpgradeResourceState(ctx context.Context, req *tfprotov5.UpgradeResourceStateRequest) (*tfprotov5.UpgradeResourceStateResponse, error)
UpgradeResourceState is a shim for the UpgradeResourceState method of the underlying provider.
func (*RawProviderServer) ValidateDataSourceConfig ¶ added in v0.0.5
func (r *RawProviderServer) ValidateDataSourceConfig(ctx context.Context, req *tfprotov5.ValidateDataSourceConfigRequest) (*tfprotov5.ValidateDataSourceConfigResponse, error)
ValidateDataSourceConfig is a shim for the ValidateDataSourceConfig method of the underlying provider.
func (*RawProviderServer) ValidateResourceTypeConfig ¶ added in v0.0.5
func (r *RawProviderServer) ValidateResourceTypeConfig(ctx context.Context, req *tfprotov5.ValidateResourceTypeConfigRequest) (*tfprotov5.ValidateResourceTypeConfigResponse, error)
ValidateResourceTypeConfig is a shim for the ValidateProviderConfig method of the underlying provider.