aks

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package aks is a wrapper for the connection to the Azure Kubernetes API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AKS

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

AKS implements the Azure Kubernetes Service wrapper

func NewAKS

func NewAKS(connection connection.Connection) *AKS

NewAKS creates a new AKS instance taking a Connection instance as argument.

func (*AKS) CreateAIB

func (aks *AKS) CreateAIB(namespace, aibName, aiName string) (resource connection.APIResource, err error)

CreateAIB creates an AzureIdentityBinding in the cluster, 409 error if it already exists

func (*AKS) GetIdentityBindingByNameAndNamespace

func (aks *AKS) GetIdentityBindingByNameAndNamespace(azureIdentityBindingName, namespace string) (resource connection.APIResource, err error)

GetIdentityBindingByNameAndNamespace queries cluster and returns resource, 404 eror if not found

func (*AKS) GetIdentityByNameAndNamespace

func (aks *AKS) GetIdentityByNameAndNamespace(azureIdentityName, namespace string) (resource connection.APIResource, err error)

GetIdentityByNameAndNamespace queries cluster and returns resource, 404 error if not found

Jump to

Keyboard shortcuts

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