awsec2instances

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package awsec2instances contains methods related to AwsEc2Instances

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsEc2InstancesV1

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

AwsEc2InstancesV1 represents a custom type struct

func (*AwsEc2InstancesV1) ListAwsEc2Instances

func (a *AwsEc2InstancesV1) ListAwsEc2Instances(
	limit *int64,
	start *string,
	filter *string,
	embed *string) (
	*models.ListEc2InstancesResponse, *apiutils.APIError)

ListAwsEc2Instances Returns a list of EC2 instances.

func (*AwsEc2InstancesV1) ReadAwsEc2Instance

func (a *AwsEc2InstancesV1) ReadAwsEc2Instance(
	instanceId string,
	embed *string) (
	*models.ReadEc2InstanceResponse, *apiutils.APIError)

ReadAwsEc2Instance Returns a representation of the specified EC2 instance.

type AwsEc2InstancesV1Client

type AwsEc2InstancesV1Client interface {
	// ListAwsEc2Instances Returns a list of EC2 instances.
	ListAwsEc2Instances(
		limit *int64,
		start *string,
		filter *string,
		embed *string) (
		*models.ListEc2InstancesResponse, *apiutils.APIError)

	// ReadAwsEc2Instance Returns a representation of the specified EC2 instance.
	ReadAwsEc2Instance(
		instanceId string,
		embed *string) (
		*models.ReadEc2InstanceResponse, *apiutils.APIError)
}

AwsEc2InstancesV1Client represents a custom type interface

func NewAwsEc2InstancesV1

func NewAwsEc2InstancesV1(config config.Config) AwsEc2InstancesV1Client

NewAwsEc2InstancesV1 returns AwsEc2InstancesV1Client

Jump to

Keyboard shortcuts

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