Documentation ¶
Index ¶
- type AuthParams
- type AuthorizationInfo
- type AzurePlugin
- func (p *AzurePlugin) ListHosts(ctx context.Context, req *pb.ListHostsRequest) (*pb.ListHostsResponse, error)
- func (p *AzurePlugin) OnCreateCatalog(_ context.Context, req *pb.OnCreateCatalogRequest) (*pb.OnCreateCatalogResponse, error)
- func (p *AzurePlugin) OnCreateSet(_ context.Context, req *pb.OnCreateSetRequest) (*pb.OnCreateSetResponse, error)
- func (p *AzurePlugin) OnUpdateCatalog(_ context.Context, req *pb.OnUpdateCatalogRequest) (*pb.OnUpdateCatalogResponse, error)
- func (p *AzurePlugin) OnUpdateSet(_ context.Context, req *pb.OnUpdateSetRequest) (*pb.OnUpdateSetResponse, error)
- type CatalogAttributes
- type Option
- func WithAuthorizationInfo(with *AuthorizationInfo) Option
- func WithAuthorizer(with autorest.Authorizer) Option
- func WithBaseUrl(with string) Option
- func WithClientId(with string) Option
- func WithHostCatalogAttrs(with map[string]interface{}) Option
- func WithPersistedData(with map[string]interface{}) Option
- func WithSecretId(with string) Option
- func WithSubscriptionId(with string) Option
- func WithUserAgent(with string) Option
- type SecretData
- type SetAttributes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthParams ¶
type AuthorizationInfo ¶
type AuthorizationInfo struct { HamiltonConfig hauth.Config AuthParams AuthParams }
type AzurePlugin ¶
type AzurePlugin struct {
pb.UnimplementedHostPluginServiceServer
}
AzurePlugin implements the HostPluginServiceServer interface
func (*AzurePlugin) ListHosts ¶
func (p *AzurePlugin) ListHosts(ctx context.Context, req *pb.ListHostsRequest) (*pb.ListHostsResponse, error)
func (*AzurePlugin) OnCreateCatalog ¶
func (p *AzurePlugin) OnCreateCatalog(_ context.Context, req *pb.OnCreateCatalogRequest) (*pb.OnCreateCatalogResponse, error)
func (*AzurePlugin) OnCreateSet ¶
func (p *AzurePlugin) OnCreateSet(_ context.Context, req *pb.OnCreateSetRequest) (*pb.OnCreateSetResponse, error)
func (*AzurePlugin) OnUpdateCatalog ¶
func (p *AzurePlugin) OnUpdateCatalog(_ context.Context, req *pb.OnUpdateCatalogRequest) (*pb.OnUpdateCatalogResponse, error)
func (*AzurePlugin) OnUpdateSet ¶
func (p *AzurePlugin) OnUpdateSet(_ context.Context, req *pb.OnUpdateSetRequest) (*pb.OnUpdateSetResponse, error)
type CatalogAttributes ¶
type Option ¶
type Option func(*options) error
Option - how Options are passed as arguments
func WithAuthorizationInfo ¶
func WithAuthorizationInfo(with *AuthorizationInfo) Option
WithAuthorizationInfo contains the authorization information to use
func WithAuthorizer ¶
func WithAuthorizer(with autorest.Authorizer) Option
WithAuthorizer contains the authorizer to user
func WithClientId ¶
WithClientId contains the client ID to use
func WithHostCatalogAttrs ¶
WithHostCatalogAttrs contains attributes to insert in a host catalog message
func WithPersistedData ¶
WithPersistedData contains attributes to insert in a persisted data message
func WithSecretId ¶
WithSecretId contains the secret ID to use
func WithSubscriptionId ¶
WithSubscriptionId contains the subscription ID to use
func WithUserAgent ¶
WithUserAgent contains the user agent to use
type SecretData ¶
type SetAttributes ¶
type SetAttributes struct {
Filter string `mapstructure:"filter"`
}
Click to show internal directories.
Click to hide internal directories.