eks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p client.ConfigProvider, opts ...*aws.Config) api.Endpoint

New implements api.ServiceFunc

Types

type API

type API interface {
	ListClustersPagesWithContext(context.Context, *eks.ListClustersInput, func(*eks.ListClustersOutput, bool) bool, ...request.Option) error
	ListNodegroupsPagesWithContext(context.Context, *eks.ListNodegroupsInput, func(*eks.ListNodegroupsOutput, bool) bool, ...request.Option) error
	ListFargateProfilesPagesWithContext(context.Context, *eks.ListFargateProfilesInput, func(*eks.ListFargateProfilesOutput, bool) bool, ...request.Option) error
	DescribeClusterWithContext(context.Context, *eks.DescribeClusterInput, ...request.Option) (*eks.DescribeClusterOutput, error)
	DescribeNodegroupWithContext(context.Context, *eks.DescribeNodegroupInput, ...request.Option) (*eks.DescribeNodegroupOutput, error)
	DescribeFargateProfileWithContext(context.Context, *eks.DescribeFargateProfileInput, ...request.Option) (*eks.DescribeFargateProfileOutput, error)
}

API documents the subset of AWS API we actually call

type DescribeCluster

type DescribeCluster struct {
	API
}

func (*DescribeCluster) New

func (fn *DescribeCluster) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type DescribeClusterOutput

type DescribeClusterOutput struct {
	*eks.DescribeClusterOutput
}

func (*DescribeClusterOutput) Records

func (o *DescribeClusterOutput) Records() (records []*api.Record)

type DescribeFargateProfile

type DescribeFargateProfile struct {
	API
}

func (*DescribeFargateProfile) New

func (fn *DescribeFargateProfile) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type DescribeFargateProfileOutput

type DescribeFargateProfileOutput struct {
	*eks.DescribeFargateProfileOutput
}

func (*DescribeFargateProfileOutput) Records

func (o *DescribeFargateProfileOutput) Records() (records []*api.Record)

type DescribeNodegroup

type DescribeNodegroup struct {
	API
}

func (*DescribeNodegroup) New

func (fn *DescribeNodegroup) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type DescribeNodegroupOutput

type DescribeNodegroupOutput struct {
	*eks.DescribeNodegroupOutput
}

func (*DescribeNodegroupOutput) Records

func (o *DescribeNodegroupOutput) Records() (records []*api.Record)

Jump to

Keyboard shortcuts

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