Documentation
¶
Index ¶
- func ResetInstance()
- type ApplicationResource
- type ArgoAPI
- type ManagedResourceState
- type ManagedResourceStateMetadata
- type ManagedResourceStateSpec
- type ManagedResourceStateStatus
- type ManagedResourceStateTemplate
- type ManagedResourceTemplateContainer
- type ManagedResourceTemplateSpec
- type UnauthorizedApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetInstance ¶
func ResetInstance()
We need to change api instance after after regeneration argocd token
Types ¶
type ApplicationResource ¶
type ArgoAPI ¶
type ArgoAPI interface {
GetApplicationsWithCredentialsFromStorage() ([]argoSdk.ApplicationItem, error)
GetResourceTree(applicationName string) (*argoSdk.ResourceTree, error)
GetResourceTreeAll(applicationName string) (interface{}, error)
GetManagedResources(applicationName string) (*argoSdk.ManagedResource, error)
GetProjectsWithCredentialsFromStorage() ([]argoSdk.ProjectItem, error)
GetApplication(application string) (map[string]interface{}, error)
CheckToken() error
GetClusters() ([]argoSdk.ClusterItem, error)
GetApplications() ([]argoSdk.ApplicationItem, error)
GetRepositories() ([]argoSdk.RepositoryItem, error)
CreateDefaultApp() error
}
ArgoAPI responsible for proxy calls for argosdk that implement argo api
func GetInstance ¶
func GetInstance() ArgoAPI
GetInstance build and provide as singleton new instance of ArgoAPI interface
type ManagedResourceState ¶
type ManagedResourceState struct {
Spec ManagedResourceStateSpec
Metadata ManagedResourceStateMetadata
Status ManagedResourceStateStatus
}
type ManagedResourceStateMetadata ¶
type ManagedResourceStateMetadata struct {
Uid string
}
type ManagedResourceStateSpec ¶
type ManagedResourceStateSpec struct {
Replicas int64
Template ManagedResourceStateTemplate
}
type ManagedResourceStateTemplate ¶
type ManagedResourceStateTemplate struct {
Spec ManagedResourceTemplateSpec
}
type ManagedResourceTemplateContainer ¶
type ManagedResourceTemplateContainer struct {
Image string
}
type ManagedResourceTemplateSpec ¶
type ManagedResourceTemplateSpec struct {
Containers []ManagedResourceTemplateContainer
}
type UnauthorizedApi ¶
type UnauthorizedApi interface {
}
func GetUnauthorizedApiInstance ¶
func GetUnauthorizedApiInstance() UnauthorizedApi
GetUnauthorizedApiInstance build and provide singleton for unathorized argo api
Click to show internal directories.
Click to hide internal directories.