k8s

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Services = []string{"service", "ingress"}

Functions

This section is empty.

Types

type K8sIngressProvider

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

k8sServiceProvider is a provider for aws Route53 API

func NewK8sIngressProvider

func NewK8sIngressProvider(id string, ingress *v1.IngressList) *K8sIngressProvider

func (*K8sIngressProvider) GetResource

func (k *K8sIngressProvider) GetResource(ctx context.Context) (*schema.Resources, error)

GetResource returns all the resources in the store for a provider.

type K8sServiceProvider

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

K8sServiceProvider is a provider for aws Route53 API

func (*K8sServiceProvider) GetResource

func (k *K8sServiceProvider) GetResource(ctx context.Context) (*schema.Resources, error)

GetResource returns all the resources in the store for a provider.

type Provider

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

Provider is a data provider for gcp API

func New

func New(options schema.OptionBlock) (*Provider, error)

func (*Provider) ID

func (p *Provider) ID() string

ID returns the name of the provider id

func (*Provider) Name

func (p *Provider) Name() string

Name returns the name of the provider

func (*Provider) Resources

func (p *Provider) Resources(ctx context.Context) (*schema.Resources, error)

Resources returns the provider for an resource deployment source.

func (*Provider) Services added in v1.0.9

func (p *Provider) Services() []string

Services returns the provider services

Jump to

Keyboard shortcuts

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