account

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

func NewResource

func NewResource() resource.Resource

Types

type BrowserModel

type BrowserModel struct{}

type DataSource

type DataSource struct {
	// contains filtered or unexported fields
}

func (*DataSource) Configure

Configure adds the Smallstep API client to the data source.

func (*DataSource) Metadata

func (*DataSource) Read

func (*DataSource) Schema

type EthernetModel

type EthernetModel struct {
	Autojoin              types.Bool   `tfsdk:"autojoin"`
	CAChain               types.String `tfsdk:"ca_chain"`
	ExternalRadiusServer  types.Bool   `tfsdk:"external_radius_server"`
	NetworkAccessServerIP types.String `tfsdk:"network_access_server_ip"`
}

type IKEModel

type IKEModel struct {
	CAChain  types.String `tfsdk:"ca_chain"`
	EAP      types.Bool   `tfsdk:"eap"`
	RemoteID types.String `tfsdk:"remote_id"`
}

type Model

type Model struct {
	ID       types.String `tfsdk:"id"`
	Name     types.String `tfsdk:"name"`
	WiFi     types.Object `tfsdk:"wifi"`
	VPN      types.Object `tfsdk:"vpn"`
	Browser  types.Object `tfsdk:"browser"`
	Ethernet types.Object `tfsdk:"ethernet"`
}

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

Resource defines the resource implementation.

func (*Resource) Configure

Configure adds the Smallstep API client to the resource.

func (*Resource) Create

func (*Resource) Delete

func (*Resource) ImportState

func (*Resource) Metadata

func (*Resource) Read

func (*Resource) Schema

func (*Resource) Update

type VPNModel

type VPNModel struct {
	Autojoin       types.Bool   `tfsdk:"autojoin"`
	ConnectionType types.String `tfsdk:"connection_type"`
	IKE            types.Object `tfsdk:"ike"`
	RemoteAddress  types.String `tfsdk:"remote_address"`
	Vendor         types.String `tfsdk:"vendor"`
}

type WiFiModel

type WiFiModel struct {
	Autojoin              types.Bool   `tfsdk:"autojoin"`
	CAChain               types.String `tfsdk:"ca_chain"`
	ExternalRadiusServer  types.Bool   `tfsdk:"external_radius_server"`
	Hidden                types.Bool   `tfsdk:"hidden"`
	NetworkAccessServerIP types.String `tfsdk:"network_access_server_ip"`
	SSID                  types.String `tfsdk:"ssid"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL