Documentation ¶
Index ¶
- type Client
- func (_m *Client) AcquireLock(repo string) (*api.ApplyLock, error)
- func (_m *Client) Chat(history []*api.ChatMessage) (*api.ChatMessage, error)
- func (_m *Client) Cluster(id string) (*api.Cluster, error)
- func (_m *Client) Clusters() ([]*api.Cluster, error)
- func (_m *Client) CreateAccessToken() (string, error)
- func (_m *Client) CreateArtifact(repo string, attrs api.ArtifactAttributes) (api.Artifact, error)
- func (_m *Client) CreateCrd(repo string, chart string, file string) error
- func (_m *Client) CreateDependency(source string, dest string) error
- func (_m *Client) CreateDomain(name string) error
- func (_m *Client) CreateEvent(event *api.UserEventAttributes) error
- func (_m *Client) CreateInstallation(id string) (string, error)
- func (_m *Client) CreateKey(name string, content string) error
- func (_m *Client) CreateKeyBackup(attrs api.KeyBackupAttributes) error
- func (_m *Client) CreateRecipe(repoName string, attrs gqlclient.RecipeAttributes) (string, error)
- func (_m *Client) CreateRepository(name string, publisher string, input *gqlclient.RepositoryAttributes) error
- func (_m *Client) CreateStack(attributes gqlclient.StackAttributes) (string, error)
- func (_m *Client) CreateTrust(issuer string, trust string) error
- func (_m *Client) CreateUpgrade(queue string, repository string, attrs gqlclient.UpgradeAttributes) error
- func (_m *Client) DeleteEabCredential(cluster string, provider string) error
- func (_m *Client) DeleteInstallation(id string) error
- func (_m *Client) DeleteShell() error
- func (_m *Client) DeleteTrust(id string) error
- func (_m *Client) DestroyCluster(domain string, name string, provider string) error
- func (_m *Client) DeviceLogin() (*api.DeviceLogin, error)
- func (_m *Client) GetChartInstallations(repoId string) ([]*api.ChartInstallation, error)
- func (_m *Client) GetCharts(repoId string) ([]*api.Chart, error)
- func (_m *Client) GetEabCredential(cluster string, provider string) (*api.EabCredential, error)
- func (_m *Client) GetHelp(prompt string) (string, error)
- func (_m *Client) GetInstallation(name string) (*api.Installation, error)
- func (_m *Client) GetInstallationById(id string) (*api.Installation, error)
- func (_m *Client) GetInstallations() ([]*api.Installation, error)
- func (_m *Client) GetKeyBackup(name string) (*api.KeyBackup, error)
- func (_m *Client) GetPackageInstallations(repoId string) ([]*api.ChartInstallation, []*api.TerraformInstallation, error)
- func (_m *Client) GetRecipe(repo string, name string) (*api.Recipe, error)
- func (_m *Client) GetRecipeByID(id string) (*api.Recipe, error)
- func (_m *Client) GetRepository(repo string) (*api.Repository, error)
- func (_m *Client) GetShell() (api.CloudShell, error)
- func (_m *Client) GetStack(name string, provider string) (*api.Stack, error)
- func (_m *Client) GetTerraform(repoId string) ([]*api.Terraform, error)
- func (_m *Client) GetTerraformInstallations(repoId string) ([]*api.TerraformInstallation, error)
- func (_m *Client) GetTerraformVersions(id string) ([]*api.Version, error)
- func (_m *Client) GetTfProviderScaffold(name string, version string) (string, error)
- func (_m *Client) GetTfProviders() ([]string, error)
- func (_m *Client) GetVersions(chartId string) ([]*api.Version, error)
- func (_m *Client) GrabAccessToken() (string, error)
- func (_m *Client) ImpersonateServiceAccount(email string) (string, string, error)
- func (_m *Client) InstallRecipe(id string) error
- func (_m *Client) InstallVersion(tp string, repo string, pkg string, vsn string) error
- func (_m *Client) ListArtifacts(repo string) ([]api.Artifact, error)
- func (_m *Client) ListKeyBackups() ([]*api.KeyBackup, error)
- func (_m *Client) ListKeys(emails []string) ([]*api.PublicKey, error)
- func (_m *Client) ListRecipes(repo string, provider string) ([]*api.Recipe, error)
- func (_m *Client) ListRepositories(query string) ([]*api.Repository, error)
- func (_m *Client) ListStacks(featured bool) ([]*api.Stack, error)
- func (_m *Client) Login(email string, pwd string) (string, error)
- func (_m *Client) LoginMethod(email string) (*api.LoginMethod, error)
- func (_m *Client) MarkSynced(repo string) error
- func (_m *Client) Me() (*api.Me, error)
- func (_m *Client) OIDCProvider(id string, attributes *api.OidcProviderAttributes) error
- func (_m *Client) OidcToken(provider gqlclient.ExternalOidcProvider, token string, email string) (string, error)
- func (_m *Client) PollLoginToken(token string) (string, error)
- func (_m *Client) PromoteCluster() error
- func (_m *Client) Release(name string, tags []string) error
- func (_m *Client) ReleaseLock(repo string, lock string) (*api.ApplyLock, error)
- func (_m *Client) ResetInstallations() (int, error)
- func (_m *Client) Scaffolds(in *api.ScaffoldInputs) ([]*api.ScaffoldFile, error)
- func (_m *Client) TransferOwnership(name string, email string) error
- func (_m *Client) UninstallChart(id string) error
- func (_m *Client) UninstallTerraform(id string) error
- func (_m *Client) UnlockRepository(name string) error
- func (_m *Client) UpdateVersion(spec *api.VersionSpec, tags []string) error
- func (_m *Client) UploadTerraform(dir string, repoName string) (api.Terraform, error)
- type ConsoleClient
- func (_m *ConsoleClient) CloneService(clusterId string, serviceId *string, serviceName *string, clusterName *string, ...) (*gqlclient.ServiceDeploymentFragment, error)
- func (_m *ConsoleClient) CreateCluster(attributes gqlclient.ClusterAttributes) (*gqlclient.CreateCluster, error)
- func (_m *ConsoleClient) CreateClusterService(clusterId *string, clusterName *string, ...) (*gqlclient.ServiceDeploymentFragment, error)
- func (_m *ConsoleClient) CreateProvider(attr gqlclient.ClusterProviderAttributes) (*gqlclient.CreateClusterProvider, error)
- func (_m *ConsoleClient) CreateProviderCredentials(name string, attr gqlclient.ProviderCredentialAttributes) (*gqlclient.CreateProviderCredential, error)
- func (_m *ConsoleClient) CreateRepository(url string, privateKey *string, passphrase *string, username *string, ...) (*gqlclient.CreateGitRepository, error)
- func (_m *ConsoleClient) DeleteCluster(id string) error
- func (_m *ConsoleClient) DeleteClusterService(serviceId string) (*gqlclient.DeleteServiceDeployment, error)
- func (_m *ConsoleClient) DeleteProviderCredentials(id string) (*gqlclient.DeleteProviderCredential, error)
- func (_m *ConsoleClient) GetCluster(clusterId *string, clusterName *string) (*gqlclient.ClusterFragment, error)
- func (_m *ConsoleClient) GetClusterService(serviceId *string, serviceName *string, clusterName *string) (*gqlclient.ServiceDeploymentExtended, error)
- func (_m *ConsoleClient) ListClusterServices(clusterId *string, handle *string) ([]*gqlclient.ServiceDeploymentEdgeFragment, error)
- func (_m *ConsoleClient) ListClusters() (*gqlclient.ListClusters, error)
- func (_m *ConsoleClient) ListProviders() (*gqlclient.ListProviders, error)
- func (_m *ConsoleClient) ListRepositories() (*gqlclient.ListGitRepositories, error)
- func (_m *ConsoleClient) MyCluster() (*gqlclient.MyCluster, error)
- func (_m *ConsoleClient) SavePipeline(name string, attrs gqlclient.PipelineAttributes) (*gqlclient.PipelineFragment, error)
- func (_m *ConsoleClient) Token() string
- func (_m *ConsoleClient) UpdateCluster(id string, attr gqlclient.ClusterUpdateAttributes) (*gqlclient.UpdateCluster, error)
- func (_m *ConsoleClient) UpdateClusterService(serviceId *string, serviceName *string, clusterName *string, ...) (*gqlclient.ServiceDeploymentFragment, error)
- func (_m *ConsoleClient) UpdateRepository(id string, attrs gqlclient.GitAttributes) (*gqlclient.UpdateGitRepository, error)
- func (_m *ConsoleClient) Url() string
- type Kube
- func (_m *Kube) Apply(path string, force bool) error
- func (_m *Kube) CreateNamespace(namespace string) error
- func (_m *Kube) FinalizeNamespace(namespace string) error
- func (_m *Kube) GetClient() *client_gokubernetes.Clientset
- func (_m *Kube) GetRestClient() *rest.RESTClient
- func (_m *Kube) LogTail(namespace string, name string) (*v1alpha1.LogTail, error)
- func (_m *Kube) LogTailList(namespace string) (*v1alpha1.LogTailList, error)
- func (_m *Kube) Node(name string) (*v1.Node, error)
- func (_m *Kube) Nodes() (*v1.NodeList, error)
- func (_m *Kube) Proxy(namespace string, name string) (*v1alpha1.Proxy, error)
- func (_m *Kube) ProxyList(namespace string) (*v1alpha1.ProxyList, error)
- func (_m *Kube) Secret(namespace string, name string) (*v1.Secret, error)
- func (_m *Kube) SecretCreate(namespace string, secret *v1.Secret) (*v1.Secret, error)
- func (_m *Kube) SecretDelete(namespace string, secretName string) error
- func (_m *Kube) SecretDeleteCollection(namespace string, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *Kube) SecretList(namespace string, opts metav1.ListOptions) (*v1.SecretList, error)
- func (_m *Kube) WireguardPeer(namespace string, name string) (*vpnv1alpha1.WireguardPeer, error)
- func (_m *Kube) WireguardPeerCreate(namespace string, wireguardPeer *vpnv1alpha1.WireguardPeer) (*vpnv1alpha1.WireguardPeer, error)
- func (_m *Kube) WireguardPeerDelete(namespace string, name string) error
- func (_m *Kube) WireguardPeerList(namespace string) (*vpnv1alpha1.WireguardPeerList, error)
- func (_m *Kube) WireguardServer(namespace string, name string) (*vpnv1alpha1.WireguardServer, error)
- func (_m *Kube) WireguardServerList(namespace string) (*vpnv1alpha1.WireguardServerList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
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 ¶
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) CreateAccessToken ¶
CreateAccessToken provides a mock function with given fields:
func (*Client) CreateArtifact ¶
CreateArtifact provides a mock function with given fields: repo, attrs
func (*Client) CreateDependency ¶
CreateDependency provides a mock function with given fields: source, dest
func (*Client) CreateDomain ¶
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 ¶
CreateInstallation provides a mock function with given fields: id
func (*Client) CreateKeyBackup ¶
func (_m *Client) CreateKeyBackup(attrs api.KeyBackupAttributes) error
CreateKeyBackup provides a mock function with given fields: attrs
func (*Client) CreateRecipe ¶
CreateRecipe provides a mock function with given fields: repoName, attrs
func (*Client) CreateRepository ¶
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 ¶
func (_m *Client) CreateStack(attributes gqlclient.StackAttributes) (string, error)
CreateStack provides a mock function with given fields: attributes
func (*Client) CreateTrust ¶
CreateTrust provides a mock function with given fields: issuer, trust
func (*Client) CreateUpgrade ¶
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 ¶
DeleteEabCredential provides a mock function with given fields: cluster, provider
func (*Client) DeleteInstallation ¶
DeleteInstallation provides a mock function with given fields: id
func (*Client) DeleteShell ¶
DeleteShell provides a mock function with given fields:
func (*Client) DeleteTrust ¶
DeleteTrust provides a mock function with given fields: id
func (*Client) DestroyCluster ¶
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 ¶
func (_m *Client) GetChartInstallations(repoId string) ([]*api.ChartInstallation, error)
GetChartInstallations provides a mock function with given fields: repoId
func (*Client) GetEabCredential ¶
GetEabCredential provides a mock function with given fields: cluster, provider
func (*Client) GetInstallation ¶
func (_m *Client) GetInstallation(name string) (*api.Installation, error)
GetInstallation provides a mock function with given fields: name
func (*Client) GetInstallationById ¶
func (_m *Client) GetInstallationById(id string) (*api.Installation, error)
GetInstallationById provides a mock function with given fields: id
func (*Client) GetInstallations ¶
func (_m *Client) GetInstallations() ([]*api.Installation, error)
GetInstallations provides a mock function with given fields:
func (*Client) GetKeyBackup ¶
GetKeyBackup provides a mock function with given fields: name
func (*Client) GetPackageInstallations ¶
func (_m *Client) GetPackageInstallations(repoId string) ([]*api.ChartInstallation, []*api.TerraformInstallation, error)
GetPackageInstallations provides a mock function with given fields: repoId
func (*Client) GetRecipeByID ¶
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 ¶
func (_m *Client) GetShell() (api.CloudShell, error)
GetShell provides a mock function with given fields:
func (*Client) GetTerraform ¶
GetTerraform provides a mock function with given fields: repoId
func (*Client) GetTerraformInstallations ¶
func (_m *Client) GetTerraformInstallations(repoId string) ([]*api.TerraformInstallation, error)
GetTerraformInstallations provides a mock function with given fields: repoId
func (*Client) GetTerraformVersions ¶
GetTerraformVersions provides a mock function with given fields: id
func (*Client) GetTfProviderScaffold ¶
GetTfProviderScaffold provides a mock function with given fields: name, version
func (*Client) GetTfProviders ¶
GetTfProviders provides a mock function with given fields:
func (*Client) GetVersions ¶
GetVersions provides a mock function with given fields: chartId
func (*Client) GrabAccessToken ¶
GrabAccessToken provides a mock function with given fields:
func (*Client) ImpersonateServiceAccount ¶
ImpersonateServiceAccount provides a mock function with given fields: email
func (*Client) InstallRecipe ¶
InstallRecipe provides a mock function with given fields: id
func (*Client) InstallVersion ¶
InstallVersion provides a mock function with given fields: tp, repo, pkg, vsn
func (*Client) ListArtifacts ¶
ListArtifacts provides a mock function with given fields: repo
func (*Client) ListKeyBackups ¶
ListKeyBackups provides a mock function with given fields:
func (*Client) ListRecipes ¶
ListRecipes provides a mock function with given fields: repo, provider
func (*Client) ListRepositories ¶
func (_m *Client) ListRepositories(query string) ([]*api.Repository, error)
ListRepositories provides a mock function with given fields: query
func (*Client) ListStacks ¶
ListStacks provides a mock function with given fields: featured
func (*Client) LoginMethod ¶
func (_m *Client) LoginMethod(email string) (*api.LoginMethod, error)
LoginMethod provides a mock function with given fields: email
func (*Client) MarkSynced ¶
MarkSynced provides a mock function with given fields: repo
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 ¶
PollLoginToken provides a mock function with given fields: token
func (*Client) PromoteCluster ¶
PromoteCluster provides a mock function with given fields:
func (*Client) ReleaseLock ¶
ReleaseLock provides a mock function with given fields: repo, lock
func (*Client) ResetInstallations ¶
ResetInstallations provides a mock function with given fields:
func (*Client) Scaffolds ¶
func (_m *Client) Scaffolds(in *api.ScaffoldInputs) ([]*api.ScaffoldFile, error)
Scaffolds provides a mock function with given fields: in
func (*Client) TransferOwnership ¶
TransferOwnership provides a mock function with given fields: name, email
func (*Client) UninstallChart ¶
UninstallChart provides a mock function with given fields: id
func (*Client) UninstallTerraform ¶
UninstallTerraform provides a mock function with given fields: id
func (*Client) UnlockRepository ¶
UnlockRepository provides a mock function with given fields: name
func (*Client) UpdateVersion ¶
func (_m *Client) UpdateVersion(spec *api.VersionSpec, tags []string) error
UpdateVersion provides a mock function with given fields: spec, tags
type ConsoleClient ¶
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) CloneService ¶
func (_m *ConsoleClient) CloneService(clusterId string, serviceId *string, serviceName *string, clusterName *string, attributes gqlclient.ServiceCloneAttributes) (*gqlclient.ServiceDeploymentFragment, error)
CloneService provides a mock function with given fields: clusterId, serviceId, serviceName, clusterName, attributes
func (*ConsoleClient) CreateCluster ¶
func (_m *ConsoleClient) CreateCluster(attributes gqlclient.ClusterAttributes) (*gqlclient.CreateCluster, error)
CreateCluster provides a mock function with given fields: attributes
func (*ConsoleClient) CreateClusterService ¶
func (_m *ConsoleClient) CreateClusterService(clusterId *string, clusterName *string, attr gqlclient.ServiceDeploymentAttributes) (*gqlclient.ServiceDeploymentFragment, error)
CreateClusterService provides a mock function with given fields: clusterId, clusterName, attr
func (*ConsoleClient) CreateProvider ¶
func (_m *ConsoleClient) CreateProvider(attr gqlclient.ClusterProviderAttributes) (*gqlclient.CreateClusterProvider, error)
CreateProvider provides a mock function with given fields: attr
func (*ConsoleClient) CreateProviderCredentials ¶
func (_m *ConsoleClient) CreateProviderCredentials(name string, attr gqlclient.ProviderCredentialAttributes) (*gqlclient.CreateProviderCredential, error)
CreateProviderCredentials provides a mock function with given fields: name, attr
func (*ConsoleClient) CreateRepository ¶
func (_m *ConsoleClient) CreateRepository(url string, privateKey *string, passphrase *string, username *string, password *string) (*gqlclient.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) (*gqlclient.DeleteServiceDeployment, error)
DeleteClusterService provides a mock function with given fields: serviceId
func (*ConsoleClient) DeleteProviderCredentials ¶
func (_m *ConsoleClient) DeleteProviderCredentials(id string) (*gqlclient.DeleteProviderCredential, error)
DeleteProviderCredentials provides a mock function with given fields: id
func (*ConsoleClient) GetCluster ¶
func (_m *ConsoleClient) GetCluster(clusterId *string, clusterName *string) (*gqlclient.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) (*gqlclient.ServiceDeploymentExtended, error)
GetClusterService provides a mock function with given fields: serviceId, serviceName, clusterName
func (*ConsoleClient) ListClusterServices ¶
func (_m *ConsoleClient) ListClusterServices(clusterId *string, handle *string) ([]*gqlclient.ServiceDeploymentEdgeFragment, error)
ListClusterServices provides a mock function with given fields: clusterId, handle
func (*ConsoleClient) ListClusters ¶
func (_m *ConsoleClient) ListClusters() (*gqlclient.ListClusters, error)
ListClusters provides a mock function with given fields:
func (*ConsoleClient) ListProviders ¶
func (_m *ConsoleClient) ListProviders() (*gqlclient.ListProviders, error)
ListProviders provides a mock function with given fields:
func (*ConsoleClient) ListRepositories ¶
func (_m *ConsoleClient) ListRepositories() (*gqlclient.ListGitRepositories, error)
ListRepositories provides a mock function with given fields:
func (*ConsoleClient) MyCluster ¶
func (_m *ConsoleClient) MyCluster() (*gqlclient.MyCluster, error)
MyCluster provides a mock function with given fields:
func (*ConsoleClient) SavePipeline ¶
func (_m *ConsoleClient) SavePipeline(name string, attrs gqlclient.PipelineAttributes) (*gqlclient.PipelineFragment, error)
SavePipeline provides a mock function with given fields: name, attrs
func (*ConsoleClient) Token ¶
func (_m *ConsoleClient) Token() string
Token provides a mock function with given fields:
func (*ConsoleClient) UpdateCluster ¶
func (_m *ConsoleClient) UpdateCluster(id string, attr gqlclient.ClusterUpdateAttributes) (*gqlclient.UpdateCluster, error)
UpdateCluster provides a mock function with given fields: id, attr
func (*ConsoleClient) UpdateClusterService ¶
func (_m *ConsoleClient) UpdateClusterService(serviceId *string, serviceName *string, clusterName *string, attributes gqlclient.ServiceUpdateAttributes) (*gqlclient.ServiceDeploymentFragment, error)
UpdateClusterService provides a mock function with given fields: serviceId, serviceName, clusterName, attributes
func (*ConsoleClient) UpdateRepository ¶
func (_m *ConsoleClient) UpdateRepository(id string, attrs gqlclient.GitAttributes) (*gqlclient.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 ¶
Kube is an autogenerated mock type for the Kube type
func NewKube ¶
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) CreateNamespace ¶
CreateNamespace provides a mock function with given fields: namespace
func (*Kube) FinalizeNamespace ¶
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) LogTailList ¶
func (_m *Kube) LogTailList(namespace string) (*v1alpha1.LogTailList, error)
LogTailList provides a mock function with given fields: namespace
func (*Kube) SecretCreate ¶
SecretCreate provides a mock function with given fields: namespace, secret
func (*Kube) SecretDelete ¶
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 ¶
func (_m *Kube) WireguardPeer(namespace string, name string) (*vpnv1alpha1.WireguardPeer, error)
WireguardPeer provides a mock function with given fields: namespace, name
func (*Kube) WireguardPeerCreate ¶
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 ¶
WireguardPeerDelete provides a mock function with given fields: namespace, name
func (*Kube) WireguardPeerList ¶
func (_m *Kube) WireguardPeerList(namespace string) (*vpnv1alpha1.WireguardPeerList, error)
WireguardPeerList provides a mock function with given fields: namespace
func (*Kube) WireguardServer ¶
func (_m *Kube) WireguardServer(namespace string, name string) (*vpnv1alpha1.WireguardServer, error)
WireguardServer provides a mock function with given fields: namespace, name
func (*Kube) WireguardServerList ¶
func (_m *Kube) WireguardServerList(namespace string) (*vpnv1alpha1.WireguardServerList, error)
WireguardServerList provides a mock function with given fields: namespace