mocks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Client) AcquireLock added in v0.8.1

func (_m *Client) AcquireLock(repo string) (*api.ApplyLock, error)

AcquireLock provides a mock function with given fields: repo

func (*Client) Chat

func (_m *Client) Chat(history []*api.ChatMessage) (*api.ChatMessage, error)

Chat provides a mock function with given fields: history

func (*Client) Cluster

func (_m *Client) Cluster(id string) (*api.Cluster, error)

Cluster provides a mock function with given fields: id

func (*Client) Clusters

func (_m *Client) Clusters() ([]*api.Cluster, error)

Clusters provides a mock function with given fields:

func (*Client) CreateAccessToken

func (_m *Client) CreateAccessToken() (string, error)

CreateAccessToken provides a mock function with given fields:

func (*Client) CreateArtifact added in v0.8.1

func (_m *Client) CreateArtifact(repo string, attrs api.ArtifactAttributes) (api.Artifact, error)

CreateArtifact provides a mock function with given fields: repo, attrs

func (*Client) CreateCrd added in v0.8.1

func (_m *Client) CreateCrd(repo string, chart string, file string) error

CreateCrd provides a mock function with given fields: repo, chart, file

func (*Client) CreateDependency added in v0.8.1

func (_m *Client) CreateDependency(source string, dest string) error

CreateDependency provides a mock function with given fields: source, dest

func (*Client) CreateDomain

func (_m *Client) CreateDomain(name string) error

CreateDomain provides a mock function with given fields: name

func (*Client) CreateEvent

func (_m *Client) CreateEvent(event *api.UserEventAttributes) error

CreateEvent provides a mock function with given fields: event

func (*Client) CreateInstallation

func (_m *Client) CreateInstallation(id string) (string, error)

CreateInstallation provides a mock function with given fields: id

func (*Client) CreateKey

func (_m *Client) CreateKey(name string, content string) error

CreateKey provides a mock function with given fields: name, content

func (*Client) CreateKeyBackup

func (_m *Client) CreateKeyBackup(attrs api.KeyBackupAttributes) error

CreateKeyBackup provides a mock function with given fields: attrs

func (*Client) CreateRecipe added in v0.8.1

func (_m *Client) CreateRecipe(repoName string, attrs gqlclient.RecipeAttributes) (string, error)

CreateRecipe provides a mock function with given fields: repoName, attrs

func (*Client) CreateRepository added in v0.8.1

func (_m *Client) CreateRepository(name string, publisher string, input *gqlclient.RepositoryAttributes) error

CreateRepository provides a mock function with given fields: name, publisher, input

func (*Client) CreateStack added in v0.8.1

func (_m *Client) CreateStack(attributes gqlclient.StackAttributes) (string, error)

CreateStack provides a mock function with given fields: attributes

func (*Client) CreateTrust

func (_m *Client) CreateTrust(issuer string, trust string) error

CreateTrust provides a mock function with given fields: issuer, trust

func (*Client) CreateUpgrade added in v0.8.1

func (_m *Client) CreateUpgrade(queue string, repository string, attrs gqlclient.UpgradeAttributes) error

CreateUpgrade provides a mock function with given fields: queue, repository, attrs

func (*Client) DeleteEabCredential

func (_m *Client) DeleteEabCredential(cluster string, provider string) error

DeleteEabCredential provides a mock function with given fields: cluster, provider

func (*Client) DeleteInstallation added in v0.8.1

func (_m *Client) DeleteInstallation(id string) error

DeleteInstallation provides a mock function with given fields: id

func (*Client) DeleteShell added in v0.8.1

func (_m *Client) DeleteShell() error

DeleteShell provides a mock function with given fields:

func (*Client) DeleteTrust

func (_m *Client) DeleteTrust(id string) error

DeleteTrust provides a mock function with given fields: id

func (*Client) DestroyCluster added in v0.8.1

func (_m *Client) DestroyCluster(domain string, name string, provider string) error

DestroyCluster provides a mock function with given fields: domain, name, provider

func (*Client) DeviceLogin

func (_m *Client) DeviceLogin() (*api.DeviceLogin, error)

DeviceLogin provides a mock function with given fields:

func (*Client) GetChartInstallations added in v0.8.1

func (_m *Client) GetChartInstallations(repoId string) ([]*api.ChartInstallation, error)

GetChartInstallations provides a mock function with given fields: repoId

func (*Client) GetCharts added in v0.8.1

func (_m *Client) GetCharts(repoId string) ([]*api.Chart, error)

GetCharts provides a mock function with given fields: repoId

func (*Client) GetConsoleInstances

func (_m *Client) GetConsoleInstances() ([]*gqlclient.ConsoleInstanceFragment, error)

GetConsoleInstances provides a mock function with given fields:

func (*Client) GetEabCredential

func (_m *Client) GetEabCredential(cluster string, provider string) (*api.EabCredential, error)

GetEabCredential provides a mock function with given fields: cluster, provider

func (*Client) GetHelp

func (_m *Client) GetHelp(prompt string) (string, error)

GetHelp provides a mock function with given fields: prompt

func (*Client) GetInstallation

func (_m *Client) GetInstallation(name string) (*api.Installation, error)

GetInstallation provides a mock function with given fields: name

func (*Client) GetInstallationById added in v0.8.1

func (_m *Client) GetInstallationById(id string) (*api.Installation, error)

GetInstallationById provides a mock function with given fields: id

func (*Client) GetInstallations added in v0.8.1

func (_m *Client) GetInstallations() ([]*api.Installation, error)

GetInstallations provides a mock function with given fields:

func (*Client) GetKeyBackup

func (_m *Client) GetKeyBackup(name string) (*api.KeyBackup, error)

GetKeyBackup provides a mock function with given fields: name

func (*Client) GetPackageInstallations added in v0.8.1

func (_m *Client) GetPackageInstallations(repoId string) ([]*api.ChartInstallation, []*api.TerraformInstallation, error)

GetPackageInstallations provides a mock function with given fields: repoId

func (*Client) GetRecipe added in v0.8.1

func (_m *Client) GetRecipe(repo string, name string) (*api.Recipe, error)

GetRecipe provides a mock function with given fields: repo, name

func (*Client) GetRecipeByID added in v0.8.1

func (_m *Client) GetRecipeByID(id string) (*api.Recipe, error)

GetRecipeByID provides a mock function with given fields: id

func (*Client) GetRepository

func (_m *Client) GetRepository(repo string) (*api.Repository, error)

GetRepository provides a mock function with given fields: repo

func (*Client) GetShell added in v0.8.1

func (_m *Client) GetShell() (api.CloudShell, error)

GetShell provides a mock function with given fields:

func (*Client) GetStack added in v0.8.1

func (_m *Client) GetStack(name string, provider string) (*api.Stack, error)

GetStack provides a mock function with given fields: name, provider

func (*Client) GetTerraform added in v0.8.1

func (_m *Client) GetTerraform(repoId string) ([]*api.Terraform, error)

GetTerraform provides a mock function with given fields: repoId

func (*Client) GetTerraformInstallations added in v0.8.1

func (_m *Client) GetTerraformInstallations(repoId string) ([]*api.TerraformInstallation, error)

GetTerraformInstallations provides a mock function with given fields: repoId

func (*Client) GetTerraformVersions added in v0.8.1

func (_m *Client) GetTerraformVersions(id string) ([]*api.Version, error)

GetTerraformVersions provides a mock function with given fields: id

func (*Client) GetTfProviderScaffold added in v0.8.1

func (_m *Client) GetTfProviderScaffold(name string, version string) (string, error)

GetTfProviderScaffold provides a mock function with given fields: name, version

func (*Client) GetTfProviders

func (_m *Client) GetTfProviders() ([]string, error)

GetTfProviders provides a mock function with given fields:

func (*Client) GetVersions added in v0.8.1

func (_m *Client) GetVersions(chartId string) ([]*api.Version, error)

GetVersions provides a mock function with given fields: chartId

func (*Client) GrabAccessToken

func (_m *Client) GrabAccessToken() (string, error)

GrabAccessToken provides a mock function with given fields:

func (*Client) ImpersonateServiceAccount

func (_m *Client) ImpersonateServiceAccount(email string) (string, string, error)

ImpersonateServiceAccount provides a mock function with given fields: email

func (*Client) InstallRecipe added in v0.8.1

func (_m *Client) InstallRecipe(id string) error

InstallRecipe provides a mock function with given fields: id

func (*Client) InstallVersion added in v0.8.1

func (_m *Client) InstallVersion(tp string, repo string, pkg string, vsn string) error

InstallVersion provides a mock function with given fields: tp, repo, pkg, vsn

func (*Client) ListArtifacts added in v0.8.1

func (_m *Client) ListArtifacts(repo string) ([]api.Artifact, error)

ListArtifacts provides a mock function with given fields: repo

func (*Client) ListKeyBackups

func (_m *Client) ListKeyBackups() ([]*api.KeyBackup, error)

ListKeyBackups provides a mock function with given fields:

func (*Client) ListKeys

func (_m *Client) ListKeys(emails []string) ([]*api.PublicKey, error)

ListKeys provides a mock function with given fields: emails

func (*Client) ListRecipes added in v0.8.1

func (_m *Client) ListRecipes(repo string, provider string) ([]*api.Recipe, error)

ListRecipes provides a mock function with given fields: repo, provider

func (*Client) ListRepositories added in v0.8.1

func (_m *Client) ListRepositories(query string) ([]*api.Repository, error)

ListRepositories provides a mock function with given fields: query

func (*Client) ListStacks added in v0.8.1

func (_m *Client) ListStacks(featured bool) ([]*api.Stack, error)

ListStacks provides a mock function with given fields: featured

func (*Client) Login

func (_m *Client) Login(email string, pwd string) (string, error)

Login provides a mock function with given fields: email, pwd

func (*Client) LoginMethod

func (_m *Client) LoginMethod(email string) (*api.LoginMethod, error)

LoginMethod provides a mock function with given fields: email

func (*Client) MarkSynced added in v0.8.1

func (_m *Client) MarkSynced(repo string) error

MarkSynced provides a mock function with given fields: repo

func (*Client) Me

func (_m *Client) Me() (*api.Me, error)

Me provides a mock function with given fields:

func (*Client) OIDCProvider

func (_m *Client) OIDCProvider(id string, attributes *api.OidcProviderAttributes) error

OIDCProvider provides a mock function with given fields: id, attributes

func (*Client) OidcToken

func (_m *Client) OidcToken(provider gqlclient.ExternalOidcProvider, token string, email string) (string, error)

OidcToken provides a mock function with given fields: provider, token, email

func (*Client) PollLoginToken

func (_m *Client) PollLoginToken(token string) (string, error)

PollLoginToken provides a mock function with given fields: token

func (*Client) PromoteCluster added in v0.8.1

func (_m *Client) PromoteCluster() error

PromoteCluster provides a mock function with given fields:

func (*Client) Release added in v0.8.1

func (_m *Client) Release(name string, tags []string) error

Release provides a mock function with given fields: name, tags

func (*Client) ReleaseLock added in v0.8.1

func (_m *Client) ReleaseLock(repo string, lock string) (*api.ApplyLock, error)

ReleaseLock provides a mock function with given fields: repo, lock

func (*Client) ResetInstallations added in v0.8.1

func (_m *Client) ResetInstallations() (int, error)

ResetInstallations provides a mock function with given fields:

func (*Client) Scaffolds added in v0.8.1

func (_m *Client) Scaffolds(in *api.ScaffoldInputs) ([]*api.ScaffoldFile, error)

Scaffolds provides a mock function with given fields: in

func (*Client) TransferOwnership added in v0.8.1

func (_m *Client) TransferOwnership(name string, email string) error

TransferOwnership provides a mock function with given fields: name, email

func (*Client) UninstallChart added in v0.8.1

func (_m *Client) UninstallChart(id string) error

UninstallChart provides a mock function with given fields: id

func (*Client) UninstallTerraform added in v0.8.1

func (_m *Client) UninstallTerraform(id string) error

UninstallTerraform provides a mock function with given fields: id

func (*Client) UnlockRepository added in v0.8.1

func (_m *Client) UnlockRepository(name string) error

UnlockRepository provides a mock function with given fields: name

func (*Client) UpdateConsoleInstance

func (_m *Client) UpdateConsoleInstance(id string, attrs gqlclient.ConsoleInstanceUpdateAttributes) error

UpdateConsoleInstance provides a mock function with given fields: id, attrs

func (*Client) UpdateVersion

func (_m *Client) UpdateVersion(spec *api.VersionSpec, tags []string) error

UpdateVersion provides a mock function with given fields: spec, tags

func (*Client) UploadTerraform added in v0.8.1

func (_m *Client) UploadTerraform(dir string, repoName string) (api.Terraform, error)

UploadTerraform provides a mock function with given fields: dir, repoName

type ConsoleClient

type ConsoleClient struct {
	mock.Mock
}

ConsoleClient is an autogenerated mock type for the ConsoleClient type

func NewConsoleClient

func NewConsoleClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConsoleClient

NewConsoleClient creates a new instance of ConsoleClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ConsoleClient) AgentUrl

func (_m *ConsoleClient) AgentUrl(id string) (string, error)

AgentUrl provides a mock function with given fields: id

func (*ConsoleClient) CloneService

func (_m *ConsoleClient) CloneService(clusterId string, serviceId *string, serviceName *string, clusterName *string, attributes client.ServiceCloneAttributes) (*client.ServiceDeploymentFragment, error)

CloneService provides a mock function with given fields: clusterId, serviceId, serviceName, clusterName, attributes

func (*ConsoleClient) CreateCluster

func (_m *ConsoleClient) CreateCluster(attributes client.ClusterAttributes) (*client.CreateCluster, error)

CreateCluster provides a mock function with given fields: attributes

func (*ConsoleClient) CreateClusterService

func (_m *ConsoleClient) CreateClusterService(clusterId *string, clusterName *string, attr client.ServiceDeploymentAttributes) (*client.ServiceDeploymentExtended, error)

CreateClusterService provides a mock function with given fields: clusterId, clusterName, attr

func (*ConsoleClient) CreateNotificationSinks

CreateNotificationSinks provides a mock function with given fields: attr

func (*ConsoleClient) CreatePipelineContext

func (_m *ConsoleClient) CreatePipelineContext(id string, attrs client.PipelineContextAttributes) (*client.PipelineContextFragment, error)

CreatePipelineContext provides a mock function with given fields: id, attrs

func (*ConsoleClient) CreateProvider

CreateProvider provides a mock function with given fields: attr

func (*ConsoleClient) CreateProviderCredentials

func (_m *ConsoleClient) CreateProviderCredentials(name string, attr client.ProviderCredentialAttributes) (*client.CreateProviderCredential, error)

CreateProviderCredentials provides a mock function with given fields: name, attr

func (*ConsoleClient) CreatePullRequest

func (_m *ConsoleClient) CreatePullRequest(id string, branch *string, context *string) (*client.PullRequestFragment, error)

CreatePullRequest provides a mock function with given fields: id, branch, context

func (*ConsoleClient) CreateRepository

func (_m *ConsoleClient) CreateRepository(url string, privateKey *string, passphrase *string, username *string, password *string) (*client.CreateGitRepository, error)

CreateRepository provides a mock function with given fields: url, privateKey, passphrase, username, password

func (*ConsoleClient) DeleteCluster

func (_m *ConsoleClient) DeleteCluster(id string) error

DeleteCluster provides a mock function with given fields: id

func (*ConsoleClient) DeleteClusterService

func (_m *ConsoleClient) DeleteClusterService(serviceId string) (*client.DeleteServiceDeployment, error)

DeleteClusterService provides a mock function with given fields: serviceId

func (*ConsoleClient) DeleteProviderCredentials

func (_m *ConsoleClient) DeleteProviderCredentials(id string) (*client.DeleteProviderCredential, error)

DeleteProviderCredentials provides a mock function with given fields: id

func (*ConsoleClient) DetachCluster

func (_m *ConsoleClient) DetachCluster(id string) error

DetachCluster provides a mock function with given fields: id

func (*ConsoleClient) ExtUrl

func (_m *ConsoleClient) ExtUrl() string

ExtUrl provides a mock function with given fields:

func (*ConsoleClient) GetCluster

func (_m *ConsoleClient) GetCluster(clusterId *string, clusterName *string) (*client.ClusterFragment, error)

GetCluster provides a mock function with given fields: clusterId, clusterName

func (*ConsoleClient) GetClusterService

func (_m *ConsoleClient) GetClusterService(serviceId *string, serviceName *string, clusterName *string) (*client.ServiceDeploymentExtended, error)

GetClusterService provides a mock function with given fields: serviceId, serviceName, clusterName

func (*ConsoleClient) GetDeployToken

func (_m *ConsoleClient) GetDeployToken(clusterId *string, clusterName *string) (string, error)

GetDeployToken provides a mock function with given fields: clusterId, clusterName

func (*ConsoleClient) GetGlobalSettings

func (_m *ConsoleClient) GetGlobalSettings() (*client.DeploymentSettingsFragment, error)

GetGlobalSettings provides a mock function with given fields:

func (*ConsoleClient) GetPipelineContext

func (_m *ConsoleClient) GetPipelineContext(id string) (*client.PipelineContextFragment, error)

GetPipelineContext provides a mock function with given fields: id

func (*ConsoleClient) GetPrAutomationByName

func (_m *ConsoleClient) GetPrAutomationByName(name string) (*client.PrAutomationFragment, error)

GetPrAutomationByName provides a mock function with given fields: name

func (*ConsoleClient) GetProject

func (_m *ConsoleClient) GetProject(name string) (*client.ProjectFragment, error)

GetProject provides a mock function with given fields: name

func (*ConsoleClient) GetServiceContext

func (_m *ConsoleClient) GetServiceContext(name string) (*client.ServiceContextFragment, error)

GetServiceContext provides a mock function with given fields: name

func (*ConsoleClient) KickClusterService

func (_m *ConsoleClient) KickClusterService(serviceId *string, serviceName *string, clusterName *string) (*client.ServiceDeploymentExtended, error)

KickClusterService provides a mock function with given fields: serviceId, serviceName, clusterName

func (*ConsoleClient) ListClusterServices

func (_m *ConsoleClient) ListClusterServices(clusterId *string, handle *string) ([]*client.ServiceDeploymentEdgeFragment, error)

ListClusterServices provides a mock function with given fields: clusterId, handle

func (*ConsoleClient) ListClusters

func (_m *ConsoleClient) ListClusters() (*client.ListClusters, error)

ListClusters provides a mock function with given fields:

func (*ConsoleClient) ListNotificationSinks

func (_m *ConsoleClient) ListNotificationSinks(after *string, first *int64) (*client.ListNotificationSinks_NotificationSinks, error)

ListNotificationSinks provides a mock function with given fields: after, first

func (*ConsoleClient) ListProviders

func (_m *ConsoleClient) ListProviders() (*client.ListProviders, error)

ListProviders provides a mock function with given fields:

func (*ConsoleClient) ListRepositories

func (_m *ConsoleClient) ListRepositories() (*client.ListGitRepositories, error)

ListRepositories provides a mock function with given fields:

func (*ConsoleClient) ListStackRuns

func (_m *ConsoleClient) ListStackRuns(stackID string) (*client.ListStackRuns, error)

ListStackRuns provides a mock function with given fields: stackID

func (*ConsoleClient) MyCluster

func (_m *ConsoleClient) MyCluster() (*client.MyCluster, error)

MyCluster provides a mock function with given fields:

func (*ConsoleClient) SavePipeline

SavePipeline provides a mock function with given fields: name, attrs

func (*ConsoleClient) SaveServiceContext

func (_m *ConsoleClient) SaveServiceContext(name string, attributes client.ServiceContextAttributes) (*client.ServiceContextFragment, error)

SaveServiceContext provides a mock function with given fields: name, attributes

func (*ConsoleClient) Token

func (_m *ConsoleClient) Token() string

Token provides a mock function with given fields:

func (*ConsoleClient) UpdateCluster

UpdateCluster provides a mock function with given fields: id, attr

func (*ConsoleClient) UpdateClusterService

func (_m *ConsoleClient) UpdateClusterService(serviceId *string, serviceName *string, clusterName *string, attributes client.ServiceUpdateAttributes) (*client.ServiceDeploymentExtended, error)

UpdateClusterService provides a mock function with given fields: serviceId, serviceName, clusterName, attributes

func (*ConsoleClient) UpdateDeploymentSettings

UpdateDeploymentSettings provides a mock function with given fields: attr

func (*ConsoleClient) UpdateRepository

func (_m *ConsoleClient) UpdateRepository(id string, attrs client.GitAttributes) (*client.UpdateGitRepository, error)

UpdateRepository provides a mock function with given fields: id, attrs

func (*ConsoleClient) Url

func (_m *ConsoleClient) Url() string

Url provides a mock function with given fields:

type Kube

type Kube struct {
	mock.Mock
}

Kube is an autogenerated mock type for the Kube type

func NewKube

func NewKube(t interface {
	mock.TestingT
	Cleanup(func())
}) *Kube

NewKube creates a new instance of Kube. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Kube) Apply

func (_m *Kube) Apply(path string, force bool) error

Apply provides a mock function with given fields: path, force

func (*Kube) CreateNamespace

func (_m *Kube) CreateNamespace(namespace string, managedByPlural bool) error

CreateNamespace provides a mock function with given fields: namespace, managedByPlural

func (*Kube) FinalizeNamespace

func (_m *Kube) FinalizeNamespace(namespace string) error

FinalizeNamespace provides a mock function with given fields: namespace

func (*Kube) GetClient

func (_m *Kube) GetClient() *client_gokubernetes.Clientset

GetClient provides a mock function with given fields:

func (*Kube) GetRestClient

func (_m *Kube) GetRestClient() *rest.RESTClient

GetRestClient provides a mock function with given fields:

func (*Kube) LogTail

func (_m *Kube) LogTail(namespace string, name string) (*v1alpha1.LogTail, error)

LogTail provides a mock function with given fields: namespace, name

func (*Kube) LogTailList

func (_m *Kube) LogTailList(namespace string) (*v1alpha1.LogTailList, error)

LogTailList provides a mock function with given fields: namespace

func (*Kube) Node

func (_m *Kube) Node(name string) (*v1.Node, error)

Node provides a mock function with given fields: name

func (*Kube) Nodes

func (_m *Kube) Nodes() (*v1.NodeList, error)

Nodes provides a mock function with given fields:

func (*Kube) Proxy

func (_m *Kube) Proxy(namespace string, name string) (*v1alpha1.Proxy, error)

Proxy provides a mock function with given fields: namespace, name

func (*Kube) ProxyList

func (_m *Kube) ProxyList(namespace string) (*v1alpha1.ProxyList, error)

ProxyList provides a mock function with given fields: namespace

func (*Kube) Secret

func (_m *Kube) Secret(namespace string, name string) (*v1.Secret, error)

Secret provides a mock function with given fields: namespace, name

func (*Kube) SecretCreate

func (_m *Kube) SecretCreate(namespace string, secret *v1.Secret) (*v1.Secret, error)

SecretCreate provides a mock function with given fields: namespace, secret

func (*Kube) SecretDelete

func (_m *Kube) SecretDelete(namespace string, secretName string) error

SecretDelete provides a mock function with given fields: namespace, secretName

func (*Kube) SecretDeleteCollection

func (_m *Kube) SecretDeleteCollection(namespace string, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

SecretDeleteCollection provides a mock function with given fields: namespace, opts, listOpts

func (*Kube) SecretList

func (_m *Kube) SecretList(namespace string, opts metav1.ListOptions) (*v1.SecretList, error)

SecretList provides a mock function with given fields: namespace, opts

func (*Kube) WireguardPeer added in v0.8.1

func (_m *Kube) WireguardPeer(namespace string, name string) (*vpnv1alpha1.WireguardPeer, error)

WireguardPeer provides a mock function with given fields: namespace, name

func (*Kube) WireguardPeerCreate added in v0.8.1

func (_m *Kube) WireguardPeerCreate(namespace string, wireguardPeer *vpnv1alpha1.WireguardPeer) (*vpnv1alpha1.WireguardPeer, error)

WireguardPeerCreate provides a mock function with given fields: namespace, wireguardPeer

func (*Kube) WireguardPeerDelete added in v0.8.1

func (_m *Kube) WireguardPeerDelete(namespace string, name string) error

WireguardPeerDelete provides a mock function with given fields: namespace, name

func (*Kube) WireguardPeerList added in v0.8.1

func (_m *Kube) WireguardPeerList(namespace string) (*vpnv1alpha1.WireguardPeerList, error)

WireguardPeerList provides a mock function with given fields: namespace

func (*Kube) WireguardServer added in v0.8.1

func (_m *Kube) WireguardServer(namespace string, name string) (*vpnv1alpha1.WireguardServer, error)

WireguardServer provides a mock function with given fields: namespace, name

func (*Kube) WireguardServerList added in v0.8.1

func (_m *Kube) WireguardServerList(namespace string) (*vpnv1alpha1.WireguardServerList, error)

WireguardServerList provides a mock function with given fields: namespace

Jump to

Keyboard shortcuts

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