Documentation ¶
Overview ¶
SPDX-License-Identifier: LGPL-2.1-or-later
SPDX-License-Identifier: LGPL-2.1-or-later
Index ¶
- func New(version string) func() provider.Provider
- func NewBlueChiNodeResource() resource.Resource
- type BlueChiAgentModel
- type BlueChiControllerModel
- type BlueChiNodeResource
- func (r *BlueChiNodeResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BlueChiNodeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BlueChiNodeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BlueChiNodeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BlueChiNodeResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *BlueChiNodeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BlueChiNodeResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BlueChiNodeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BlueChiNodeResourceModel
- type BlueChiProvider
- func (p *BlueChiProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *BlueChiProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *BlueChiProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *BlueChiProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *BlueChiProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type BlueChiProviderModel
- type BlueChiSSHModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlueChiNodeResource ¶
Types ¶
type BlueChiAgentModel ¶
type BlueChiAgentModel struct { NodeName types.String `tfsdk:"node_name"` ManagerHost types.String `tfsdk:"manager_host"` ManagerPort types.Int64 `tfsdk:"manager_port"` ManagerAddress types.String `tfsdk:"manager_address"` HeartbeatInterval types.Int64 `tfsdk:"heartbeat_interval"` LogLevel types.String `tfsdk:"log_level"` LogTarget types.String `tfsdk:"log_target"` LogIsQuiet types.Bool `tfsdk:"log_is_quiet"` ConfigFile types.String `tfsdk:"config_file"` }
func (BlueChiAgentModel) ToConfig ¶
func (m BlueChiAgentModel) ToConfig() client.BlueChiAgentConfig
type BlueChiControllerModel ¶
type BlueChiControllerModel struct { AllowedNodeNames types.Set `tfsdk:"allowed_node_names"` ManagerPort types.Int64 `tfsdk:"manager_port"` LogLevel types.String `tfsdk:"log_level"` LogTarget types.String `tfsdk:"log_target"` LogIsQuiet types.Bool `tfsdk:"log_is_quiet"` ConfigFile types.String `tfsdk:"config_file"` }
func (BlueChiControllerModel) ToConfig ¶
func (m BlueChiControllerModel) ToConfig() client.BlueChiControllerConfig
type BlueChiNodeResource ¶
type BlueChiNodeResource struct{}
func (*BlueChiNodeResource) Configure ¶
func (r *BlueChiNodeResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BlueChiNodeResource) Create ¶
func (r *BlueChiNodeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*BlueChiNodeResource) Delete ¶
func (r *BlueChiNodeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*BlueChiNodeResource) ImportState ¶
func (r *BlueChiNodeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BlueChiNodeResource) Metadata ¶
func (r *BlueChiNodeResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*BlueChiNodeResource) Read ¶
func (r *BlueChiNodeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*BlueChiNodeResource) Schema ¶
func (r *BlueChiNodeResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*BlueChiNodeResource) Update ¶
func (r *BlueChiNodeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type BlueChiNodeResourceModel ¶
type BlueChiNodeResourceModel struct { Id types.String `tfsdk:"id"` SSH BlueChiSSHModel `tfsdk:"ssh"` BlueChiController *BlueChiControllerModel `tfsdk:"bluechi_controller"` BlueChiAgent *BlueChiAgentModel `tfsdk:"bluechi_agent"` }
type BlueChiProvider ¶
type BlueChiProvider struct {
// contains filtered or unexported fields
}
func (*BlueChiProvider) Configure ¶
func (p *BlueChiProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*BlueChiProvider) DataSources ¶
func (p *BlueChiProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*BlueChiProvider) Metadata ¶
func (p *BlueChiProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*BlueChiProvider) Resources ¶
func (p *BlueChiProvider) Resources(ctx context.Context) []func() resource.Resource
func (*BlueChiProvider) Schema ¶
func (p *BlueChiProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type BlueChiProviderModel ¶
type BlueChiProviderModel struct{}
Click to show internal directories.
Click to hide internal directories.