modules

package
v0.0.0-...-8a3299a Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modules

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

func NewModulesService

func NewModulesService(client *resty.Client) *Modules

func (*Modules) Get

func (s *Modules) Get(ctx context.Context, namespace, name, provider, version string) (*apiv1.Module, error)

Get a Specific Module https://developer.hashicorp.com/terraform/registry/api-docs#get-a-specific-module

func (*Modules) LatestVersionForSpecificProvider

func (s *Modules) LatestVersionForSpecificProvider(ctx context.Context, namespace, name, provider string) (*apiv1.Module, error)

LatestVersionForSpecificProvider Latest Version of Module for Specific Provider https://developer.hashicorp.com/terraform/registry/api-docs#latest-version-for-a-specific-module-provider

func (*Modules) ListAvailableVersions

func (s *Modules) ListAvailableVersions(ctx context.Context, namespace, name, provider string) (*apiv1.VersionList, error)

ListAvailableVersions List Available Versions for a Specific Module https://developer.hashicorp.com/terraform/registry/api-docs#list-available-versions-for-a-specific-module

func (*Modules) ListLatestVersionForAllProviders

func (s *Modules) ListLatestVersionForAllProviders(ctx context.Context, opt *apiv1.ListLatestVersionOptions, namespace, name string) (*apiv1.ModuleList, error)

ListLatestVersionForAllProviders List Latest Version of Module for All Providers https://developer.hashicorp.com/terraform/registry/api-docs#list-latest-version-of-module-for-all-providers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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