kube

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kube

type Kube struct {
	FromPort   *int64
	ToPort     *int64
	IpProtocol *string
}

Kube Ip provider class implementing the IpProvider interface

func (*Kube) GetIPPermissions

func (k *Kube) GetIPPermissions() ([]utils.IpPermission, error)

GetIPPermissions - Get List of IP addresses to whitelist

func (*Kube) GetName

func (k *Kube) GetName() string

GetName returns the name of IP Provider

func (*Kube) Init

func (k *Kube) Init(params map[interface{}]interface{}) error

Init initializes the Kube Configuration like Tag name and value

Jump to

Keyboard shortcuts

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