Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMoreThanOneSecretFound = errors.New("more than one secret found")
View Source
var ErrRenderModeInvalid = errors.New("render mode is invalid")
Functions ¶
func GenerateCacheKey ¶
func WithClientCacheKey ¶
func WithClientCacheKey() declarativev2.WithClientCacheKeyOption
Types ¶
type ClusterClient ¶
func (*ClusterClient) GetRESTConfig ¶
type KeyChainLookup ¶
type KeyChainProvider ¶
type KeyChainProvider struct {
// contains filtered or unexported fields
}
func NewKeyChainProvider ¶
func NewKeyChainProvider(kcpClient client.Client) *KeyChainProvider
type PathExtractor ¶
type RESTConfigGetter ¶
type RemoteClusterLookup ¶
type RemoteClusterLookup struct { KCP *declarativev2.ClusterInfo ConfigGetter RESTConfigGetter }
func (*RemoteClusterLookup) ConfigResolver ¶
func (r *RemoteClusterLookup) ConfigResolver( ctx context.Context, obj declarativev2.Object, ) (*declarativev2.ClusterInfo, error)
type SpecResolver ¶
type SpecResolver struct {
// contains filtered or unexported fields
}
func NewSpecResolver ¶
func NewSpecResolver(kcLookup KeyChainLookup, extractor PathExtractor) *SpecResolver
func (*SpecResolver) GetSpec ¶
func (s *SpecResolver) GetSpec(ctx context.Context, manifest *v1beta2.Manifest) (*declarativev2.Spec, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.