Documentation ¶
Index ¶
- func BoolValue(ptr *bool) bool
- func GetConfig(ctx context.Context, c client.Client, mg resource.Managed) (*argocd.ClientOptions, error)
- func Int64Value(ptr *int64) int64
- func IsBoolEqualToBoolPtr(bp *bool, b bool) bool
- func IsInt64EqualToInt64Ptr(ip *int64, i int64) bool
- func LateInitializeInt64Ptr(in *int64, from int64) *int64
- func LateInitializeStringPtr(in *string, from string) *string
- func NewClient(opts *argocd.ClientOptions) *argocd.Client
- func StringToPtr(s string) *string
- func StringValue(ptr *string) string
- func UseProviderConfig(ctx context.Context, c client.Client, mg resource.Managed) (*argocd.ClientOptions, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
func GetConfig(ctx context.Context, c client.Client, mg resource.Managed) (*argocd.ClientOptions, error)
GetConfig constructs a Config that can be used to authenticate to argocd API by the argocd Go client
func IsBoolEqualToBoolPtr ¶
IsBoolEqualToBoolPtr compares a *bool with bool
func IsInt64EqualToInt64Ptr ¶
IsInt64EqualToInt64Ptr compares a *bool with bool
func LateInitializeInt64Ptr ¶
LateInitializeInt64Ptr returns `from` if `in` is nil and `from` is non-empty, in other cases it returns `in`.
func LateInitializeStringPtr ¶
LateInitializeStringPtr returns `from` if `in` is nil and `from` is non-empty, in other cases it returns `in`.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
mock
|
|
applications
Package application is a generated GoMock package.
|
Package application is a generated GoMock package. |
applicationsets
Package applicationsets is a generated GoMock package.
|
Package applicationsets is a generated GoMock package. |
cluster
Package cluster is a generated GoMock package.
|
Package cluster is a generated GoMock package. |
projects
Package projects is a generated GoMock package.
|
Package projects is a generated GoMock package. |
repositories
Package repositories is a generated GoMock package.
|
Package repositories is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.