Documentation ¶
Index ¶
- Variables
- func New(version string) func() provider.Provider
- func NewAccessTokenDataSource() datasource.DataSource
- func NewAccessTokenResource() resource.Resource
- func NewAccessTokensDataSource() datasource.DataSource
- func NewLoginDataSource() datasource.DataSource
- func NewOrgDataSource() datasource.DataSource
- func NewOrgMemberResource() resource.Resource
- func NewOrgSettingImageAccessManagementResource() resource.Resource
- func NewOrgSettingRegistryAccessManagementResource() resource.Resource
- func NewOrgTeamDataSource() datasource.DataSource
- func NewOrgTeamMemberDataSource() datasource.DataSource
- func NewOrgTeamMemberResource() resource.Resource
- func NewOrgTeamResource() resource.Resource
- func NewRepositoriesDataSource() datasource.DataSource
- func NewRepositoryDataSource() datasource.DataSource
- func NewRepositoryResource() resource.Resource
- func NewRepositoryTeamPermissionResource() resource.Resource
- type AccessTokenDataSource
- func (d *AccessTokenDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AccessTokenDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AccessTokenDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AccessTokenDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AccessTokenDataSourceModel
- type AccessTokenResource
- func (r *AccessTokenResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AccessTokenResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AccessTokenResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AccessTokenResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AccessTokenResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AccessTokenResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AccessTokenResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AccessTokenResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AccessTokenResourceModel
- type AccessTokensDataSource
- func (d *AccessTokensDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AccessTokensDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AccessTokensDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AccessTokensDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AccessTokensDataSourceModel
- type CustomRegistryModel
- type DockerProvider
- func (p *DockerProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *DockerProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *DockerProvider) Functions(ctx context.Context) []func() function.Function
- func (p *DockerProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *DockerProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *DockerProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type DockerProviderModel
- type LoginDataSource
- func (d *LoginDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *LoginDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *LoginDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *LoginDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type LoginDataSourceModel
- type Member
- type OrgDataSource
- func (d *OrgDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *OrgDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *OrgDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *OrgDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type OrgDataSourceModel
- type OrgMemberResource
- func (r *OrgMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *OrgMemberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *OrgMemberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *OrgMemberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *OrgMemberResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *OrgMemberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *OrgMemberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *OrgMemberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type OrgMemberResourceModel
- type OrgSettingImageAccessManagementResource
- func (r *OrgSettingImageAccessManagementResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *OrgSettingImageAccessManagementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *OrgSettingImageAccessManagementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *OrgSettingImageAccessManagementResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *OrgSettingImageAccessManagementResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *OrgSettingImageAccessManagementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *OrgSettingImageAccessManagementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *OrgSettingImageAccessManagementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type OrgSettingImageAccessManagementResourceModel
- type OrgSettingRegistryAccessManagementResource
- func (r *OrgSettingRegistryAccessManagementResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *OrgSettingRegistryAccessManagementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *OrgSettingRegistryAccessManagementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *OrgSettingRegistryAccessManagementResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *OrgSettingRegistryAccessManagementResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *OrgSettingRegistryAccessManagementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *OrgSettingRegistryAccessManagementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *OrgSettingRegistryAccessManagementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type OrgSettingRegistryAccessManagementResourceModel
- type OrgTeamDataSource
- func (d *OrgTeamDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *OrgTeamDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *OrgTeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *OrgTeamDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type OrgTeamDataSourceModel
- type OrgTeamMemberDataSource
- func (d *OrgTeamMemberDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *OrgTeamMemberDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *OrgTeamMemberDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *OrgTeamMemberDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type OrgTeamMemberDataSourceModel
- type OrgTeamMemberResource
- func (r *OrgTeamMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *OrgTeamMemberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *OrgTeamMemberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *OrgTeamMemberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *OrgTeamMemberResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *OrgTeamMemberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *OrgTeamMemberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *OrgTeamMemberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type OrgTeamMemberResourceModel
- type OrgTeamResource
- func (r *OrgTeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *OrgTeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *OrgTeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *OrgTeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *OrgTeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *OrgTeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *OrgTeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *OrgTeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type OrgTeamResourceModel
- type RepositoriesDataSource
- func (d *RepositoriesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *RepositoriesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *RepositoriesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *RepositoriesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type RepositoriesDataSourceModel
- type Repository
- type RepositoryDataSource
- func (d *RepositoryDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *RepositoryDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *RepositoryDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *RepositoryDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type RepositoryDataSourceModel
- type RepositoryResource
- func (r *RepositoryResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *RepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RepositoryResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *RepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RepositoryResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type RepositoryResourceModel
- type RepositoryTeamPermissionResource
- func (r *RepositoryTeamPermissionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *RepositoryTeamPermissionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RepositoryTeamPermissionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RepositoryTeamPermissionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RepositoryTeamPermissionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *RepositoryTeamPermissionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RepositoryTeamPermissionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RepositoryTeamPermissionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type RepositoryTeamPermissionResourceModel
- type StandardRegistryModel
Constants ¶
This section is empty.
Variables ¶
View Source
var CustomRegistryObjectType = types.ObjectType{ AttrTypes: map[string]attr.Type{ "address": types.StringType, "friendly_name": types.StringType, "allowed": types.BoolType, }, }
View Source
var StandardRegistryObjectType = types.ObjectType{ AttrTypes: map[string]attr.Type{ "allowed": types.BoolType, }, }
Functions ¶
func NewAccessTokenDataSource ¶
func NewAccessTokenDataSource() datasource.DataSource
func NewAccessTokenResource ¶
func NewAccessTokensDataSource ¶
func NewAccessTokensDataSource() datasource.DataSource
func NewLoginDataSource ¶ added in v0.3.1
func NewLoginDataSource() datasource.DataSource
func NewOrgDataSource ¶
func NewOrgDataSource() datasource.DataSource
func NewOrgMemberResource ¶ added in v0.2.0
func NewOrgTeamDataSource ¶ added in v0.2.0
func NewOrgTeamDataSource() datasource.DataSource
func NewOrgTeamMemberDataSource ¶
func NewOrgTeamMemberDataSource() datasource.DataSource
func NewOrgTeamMemberResource ¶ added in v0.2.1
func NewOrgTeamResource ¶
func NewRepositoriesDataSource ¶
func NewRepositoriesDataSource() datasource.DataSource
func NewRepositoryDataSource ¶
func NewRepositoryDataSource() datasource.DataSource
func NewRepositoryResource ¶
Types ¶
type AccessTokenDataSource ¶
type AccessTokenDataSource struct {
// contains filtered or unexported fields
}
func (*AccessTokenDataSource) Configure ¶
func (d *AccessTokenDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AccessTokenDataSource) Metadata ¶
func (d *AccessTokenDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AccessTokenDataSource) Read ¶
func (d *AccessTokenDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AccessTokenDataSource) Schema ¶
func (d *AccessTokenDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AccessTokenDataSourceModel ¶
type AccessTokenDataSourceModel struct { UUID types.String `tfsdk:"uuid"` ClientID types.String `tfsdk:"client_id"` CreatorIP types.String `tfsdk:"creator_ip"` CreatorUA types.String `tfsdk:"creator_ua"` CreatedAt types.String `tfsdk:"created_at"` LastUsed types.String `tfsdk:"last_used"` GeneratedBy types.String `tfsdk:"generated_by"` IsActive types.Bool `tfsdk:"is_active"` Token types.String `tfsdk:"token"` TokenLabel types.String `tfsdk:"token_label"` Scopes types.List `tfsdk:"scopes"` }
type AccessTokenResource ¶
type AccessTokenResource struct {
// contains filtered or unexported fields
}
func (*AccessTokenResource) Configure ¶
func (r *AccessTokenResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AccessTokenResource) Create ¶
func (r *AccessTokenResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AccessTokenResource) Delete ¶
func (r *AccessTokenResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AccessTokenResource) ImportState ¶
func (r *AccessTokenResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AccessTokenResource) Metadata ¶
func (r *AccessTokenResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AccessTokenResource) Read ¶
func (r *AccessTokenResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AccessTokenResource) Schema ¶
func (r *AccessTokenResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AccessTokenResource) Update ¶
func (r *AccessTokenResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AccessTokensDataSource ¶
type AccessTokensDataSource struct {
// contains filtered or unexported fields
}
func (*AccessTokensDataSource) Configure ¶
func (d *AccessTokensDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AccessTokensDataSource) Metadata ¶
func (d *AccessTokensDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AccessTokensDataSource) Read ¶
func (d *AccessTokensDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AccessTokensDataSource) Schema ¶
func (d *AccessTokensDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CustomRegistryModel ¶
type DockerProvider ¶
type DockerProvider struct {
// contains filtered or unexported fields
}
DockerProvider defines the provider implementation.
func (*DockerProvider) Configure ¶
func (p *DockerProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*DockerProvider) DataSources ¶
func (p *DockerProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*DockerProvider) Functions ¶
func (p *DockerProvider) Functions(ctx context.Context) []func() function.Function
func (*DockerProvider) Metadata ¶
func (p *DockerProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*DockerProvider) Resources ¶
func (p *DockerProvider) Resources(ctx context.Context) []func() resource.Resource
func (*DockerProvider) Schema ¶
func (p *DockerProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type DockerProviderModel ¶
type DockerProviderModel struct { Username types.String `tfsdk:"username"` Host types.String `tfsdk:"host"` }
DockerProviderModel describes the provider data model.
type LoginDataSource ¶ added in v0.3.1
type LoginDataSource struct {
// contains filtered or unexported fields
}
func (*LoginDataSource) Configure ¶ added in v0.3.1
func (d *LoginDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*LoginDataSource) Metadata ¶ added in v0.3.1
func (d *LoginDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*LoginDataSource) Read ¶ added in v0.3.1
func (d *LoginDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*LoginDataSource) Schema ¶ added in v0.3.1
func (d *LoginDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type LoginDataSourceModel ¶ added in v0.3.1
type Member ¶
type Member struct { ID types.String `tfsdk:"id"` UUID types.String `tfsdk:"uuid"` Username types.String `tfsdk:"username"` FullName types.String `tfsdk:"full_name"` Location types.String `tfsdk:"location"` Company types.String `tfsdk:"company"` ProfileURL types.String `tfsdk:"profile_url"` DateJoined types.String `tfsdk:"date_joined"` GravatarURL types.String `tfsdk:"gravatar_url"` GravatarEmail types.String `tfsdk:"gravatar_email"` Type types.String `tfsdk:"type"` Email types.String `tfsdk:"email"` Role types.String `tfsdk:"role"` Groups types.List `tfsdk:"groups"` IsGuest types.Bool `tfsdk:"is_guest"` PrimaryEmail types.String `tfsdk:"primary_email"` }
type OrgDataSource ¶
type OrgDataSource struct {
// contains filtered or unexported fields
}
func (*OrgDataSource) Configure ¶
func (d *OrgDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*OrgDataSource) Metadata ¶
func (d *OrgDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*OrgDataSource) Read ¶
func (d *OrgDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OrgDataSource) Schema ¶
func (d *OrgDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type OrgDataSourceModel ¶
type OrgMemberResource ¶ added in v0.2.0
type OrgMemberResource struct {
// contains filtered or unexported fields
}
func (*OrgMemberResource) Configure ¶ added in v0.2.0
func (r *OrgMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OrgMemberResource) Create ¶ added in v0.2.0
func (r *OrgMemberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*OrgMemberResource) Delete ¶ added in v0.2.0
func (r *OrgMemberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*OrgMemberResource) ImportState ¶ added in v0.2.0
func (r *OrgMemberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
TODO: setup import state
func (*OrgMemberResource) Metadata ¶ added in v0.2.0
func (r *OrgMemberResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*OrgMemberResource) Read ¶ added in v0.2.0
func (r *OrgMemberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
TODO: finish read
func (*OrgMemberResource) Schema ¶ added in v0.2.0
func (r *OrgMemberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*OrgMemberResource) Update ¶ added in v0.2.0
func (r *OrgMemberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
TODO: setup update
type OrgMemberResourceModel ¶ added in v0.2.0
type OrgSettingImageAccessManagementResource ¶
type OrgSettingImageAccessManagementResource struct {
// contains filtered or unexported fields
}
func (*OrgSettingImageAccessManagementResource) Configure ¶
func (r *OrgSettingImageAccessManagementResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OrgSettingImageAccessManagementResource) Create ¶
func (r *OrgSettingImageAccessManagementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*OrgSettingImageAccessManagementResource) Delete ¶
func (r *OrgSettingImageAccessManagementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*OrgSettingImageAccessManagementResource) ImportState ¶
func (r *OrgSettingImageAccessManagementResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*OrgSettingImageAccessManagementResource) Metadata ¶
func (r *OrgSettingImageAccessManagementResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*OrgSettingImageAccessManagementResource) Read ¶
func (r *OrgSettingImageAccessManagementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*OrgSettingImageAccessManagementResource) Schema ¶
func (r *OrgSettingImageAccessManagementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*OrgSettingImageAccessManagementResource) Update ¶
func (r *OrgSettingImageAccessManagementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type OrgSettingRegistryAccessManagementResource ¶
type OrgSettingRegistryAccessManagementResource struct {
// contains filtered or unexported fields
}
func (*OrgSettingRegistryAccessManagementResource) Configure ¶
func (r *OrgSettingRegistryAccessManagementResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OrgSettingRegistryAccessManagementResource) Create ¶
func (r *OrgSettingRegistryAccessManagementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*OrgSettingRegistryAccessManagementResource) Delete ¶
func (r *OrgSettingRegistryAccessManagementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*OrgSettingRegistryAccessManagementResource) ImportState ¶
func (r *OrgSettingRegistryAccessManagementResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*OrgSettingRegistryAccessManagementResource) Metadata ¶
func (r *OrgSettingRegistryAccessManagementResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*OrgSettingRegistryAccessManagementResource) Read ¶
func (r *OrgSettingRegistryAccessManagementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*OrgSettingRegistryAccessManagementResource) Schema ¶
func (r *OrgSettingRegistryAccessManagementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*OrgSettingRegistryAccessManagementResource) Update ¶
func (r *OrgSettingRegistryAccessManagementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type OrgTeamDataSource ¶ added in v0.2.0
type OrgTeamDataSource struct {
// contains filtered or unexported fields
}
func (*OrgTeamDataSource) Configure ¶ added in v0.2.0
func (d *OrgTeamDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*OrgTeamDataSource) Metadata ¶ added in v0.2.0
func (d *OrgTeamDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*OrgTeamDataSource) Read ¶ added in v0.2.0
func (d *OrgTeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OrgTeamDataSource) Schema ¶ added in v0.2.0
func (d *OrgTeamDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type OrgTeamDataSourceModel ¶ added in v0.2.0
type OrgTeamMemberDataSource ¶
type OrgTeamMemberDataSource struct {
// contains filtered or unexported fields
}
func (*OrgTeamMemberDataSource) Configure ¶
func (d *OrgTeamMemberDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*OrgTeamMemberDataSource) Metadata ¶
func (d *OrgTeamMemberDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*OrgTeamMemberDataSource) Read ¶
func (d *OrgTeamMemberDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OrgTeamMemberDataSource) Schema ¶
func (d *OrgTeamMemberDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type OrgTeamMemberResource ¶ added in v0.2.1
type OrgTeamMemberResource struct {
// contains filtered or unexported fields
}
func (*OrgTeamMemberResource) Configure ¶ added in v0.2.1
func (r *OrgTeamMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OrgTeamMemberResource) Create ¶ added in v0.2.1
func (r *OrgTeamMemberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*OrgTeamMemberResource) Delete ¶ added in v0.2.1
func (r *OrgTeamMemberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*OrgTeamMemberResource) ImportState ¶ added in v0.2.1
func (r *OrgTeamMemberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*OrgTeamMemberResource) Metadata ¶ added in v0.2.1
func (r *OrgTeamMemberResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*OrgTeamMemberResource) Read ¶ added in v0.2.1
func (r *OrgTeamMemberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*OrgTeamMemberResource) Schema ¶ added in v0.2.1
func (r *OrgTeamMemberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*OrgTeamMemberResource) Update ¶ added in v0.2.1
func (r *OrgTeamMemberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type OrgTeamMemberResourceModel ¶ added in v0.2.1
type OrgTeamResource ¶
type OrgTeamResource struct {
// contains filtered or unexported fields
}
func (*OrgTeamResource) Configure ¶
func (r *OrgTeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OrgTeamResource) Create ¶
func (r *OrgTeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*OrgTeamResource) Delete ¶
func (r *OrgTeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*OrgTeamResource) ImportState ¶
func (r *OrgTeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*OrgTeamResource) Metadata ¶
func (r *OrgTeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*OrgTeamResource) Read ¶
func (r *OrgTeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*OrgTeamResource) Schema ¶
func (r *OrgTeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*OrgTeamResource) Update ¶
func (r *OrgTeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type OrgTeamResourceModel ¶
type RepositoriesDataSource ¶
type RepositoriesDataSource struct {
// contains filtered or unexported fields
}
func (*RepositoriesDataSource) Configure ¶
func (d *RepositoriesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*RepositoriesDataSource) Metadata ¶
func (d *RepositoriesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*RepositoriesDataSource) Read ¶
func (d *RepositoriesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*RepositoriesDataSource) Schema ¶
func (d *RepositoriesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type Repository ¶
type Repository struct { Name types.String `tfsdk:"name"` Namespace types.String `tfsdk:"namespace"` Description types.String `tfsdk:"description"` IsPrivate types.Bool `tfsdk:"is_private"` PullCount types.Int64 `tfsdk:"pull_count"` LastUpdated types.String `tfsdk:"last_updated"` Affiliation types.String `tfsdk:"affiliation"` }
type RepositoryDataSource ¶
type RepositoryDataSource struct {
// contains filtered or unexported fields
}
func (*RepositoryDataSource) Configure ¶
func (d *RepositoryDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*RepositoryDataSource) Metadata ¶
func (d *RepositoryDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*RepositoryDataSource) Read ¶
func (d *RepositoryDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*RepositoryDataSource) Schema ¶
func (d *RepositoryDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type RepositoryDataSourceModel ¶
type RepositoryDataSourceModel struct { ID types.String `tfsdk:"id"` Namespace types.String `tfsdk:"namespace"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` FullDescription types.String `tfsdk:"full_description"` Private types.Bool `tfsdk:"private"` PullCount types.Int64 `tfsdk:"pull_count"` }
type RepositoryResource ¶
type RepositoryResource struct {
// contains filtered or unexported fields
}
func (*RepositoryResource) Configure ¶
func (r *RepositoryResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure implements resource.ResourceWithConfigure.
func (*RepositoryResource) Create ¶
func (r *RepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create implements resource.Resource.
func (*RepositoryResource) Delete ¶
func (r *RepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RepositoryResource) ImportState ¶
func (r *RepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*RepositoryResource) Metadata ¶
func (r *RepositoryResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata implements resource.Resource.
func (*RepositoryResource) Read ¶
func (r *RepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read implements resource.Resource.
func (*RepositoryResource) Schema ¶
func (r *RepositoryResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema implements resource.Resource.
func (*RepositoryResource) Update ¶
func (r *RepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update implements resource.Resource.
type RepositoryResourceModel ¶
type RepositoryResourceModel struct { ID types.String `tfsdk:"id"` Namespace types.String `tfsdk:"namespace"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` FullDescription types.String `tfsdk:"full_description"` Private types.Bool `tfsdk:"private"` PullCount types.Int64 `tfsdk:"pull_count"` }
type RepositoryTeamPermissionResource ¶
type RepositoryTeamPermissionResource struct {
// contains filtered or unexported fields
}
func (*RepositoryTeamPermissionResource) Configure ¶
func (r *RepositoryTeamPermissionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RepositoryTeamPermissionResource) Create ¶
func (r *RepositoryTeamPermissionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*RepositoryTeamPermissionResource) Delete ¶
func (r *RepositoryTeamPermissionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RepositoryTeamPermissionResource) ImportState ¶
func (r *RepositoryTeamPermissionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*RepositoryTeamPermissionResource) Metadata ¶
func (r *RepositoryTeamPermissionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*RepositoryTeamPermissionResource) Read ¶
func (r *RepositoryTeamPermissionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*RepositoryTeamPermissionResource) Schema ¶
func (r *RepositoryTeamPermissionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*RepositoryTeamPermissionResource) Update ¶
func (r *RepositoryTeamPermissionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type StandardRegistryModel ¶
Source Files ¶
- data_source_access_token.go
- data_source_access_tokens.go
- data_source_login.go
- data_source_org.go
- data_source_org_team.go
- data_source_org_team_member.go
- data_source_repositories.go
- data_source_repository.go
- provider.go
- resource_access_token.go
- resource_org_member.go
- resource_org_setting_image_access_management.go
- resource_org_setting_registry_access_management.go
- resource_org_team.go
- resource_org_team_member.go
- resource_repository.go
- resource_repository_team_permission.go
Click to show internal directories.
Click to hide internal directories.