Documentation ¶
Index ¶
- Constants
- func CreateDefaultEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func CreateEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func DecodeConstraintReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeCreateConstraintReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeCreateDefaultConstraintReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeDefaultConstraintReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeListConstraintsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodePatchConstraintReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodePatchDefaultConstraintReq(c context.Context, r *http.Request) (interface{}, error)
- func DeleteDefaultEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func DeleteEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func GetDefaultEndpoint(defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint
- func GetEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func ListDefaultEndpoint(defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint
- func ListEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func PatchDefaultEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func PatchEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
Constants ¶
View Source
const ( ConstraintsGroup = "constraints.gatekeeper.sh" ConstraintsVersion = "v1beta1" ConstraintNamespace = "kubermatic" )
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultEndpoint ¶ added in v2.18.0
func CreateDefaultEndpoint(userInfoGetter provider.UserInfoGetter, defaultConstraintProvider provider.DefaultConstraintProvider, constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint
func CreateEndpoint ¶
func CreateEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint
func DecodeConstraintReq ¶
func DecodeCreateDefaultConstraintReq ¶ added in v2.18.0
func DecodeDefaultConstraintReq ¶ added in v2.18.0
func DecodePatchConstraintReq ¶
DecodePatchConstraintReq decodes http request into patchConstraintReq.
func DecodePatchDefaultConstraintReq ¶ added in v2.18.0
func DeleteDefaultEndpoint ¶ added in v2.18.0
func DeleteDefaultEndpoint(userInfoGetter provider.UserInfoGetter, defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint
func DeleteEndpoint ¶
func DeleteEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider) endpoint.Endpoint
func GetDefaultEndpoint ¶ added in v2.18.0
func GetDefaultEndpoint(defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint
func GetEndpoint ¶
func GetEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider) endpoint.Endpoint
func ListDefaultEndpoint ¶ added in v2.18.0
func ListDefaultEndpoint(defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint
func ListEndpoint ¶
func ListEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider) endpoint.Endpoint
func PatchDefaultEndpoint ¶ added in v2.18.0
func PatchDefaultEndpoint(userInfoGetter provider.UserInfoGetter, defaultConstraintProvider provider.DefaultConstraintProvider, constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint
func PatchEndpoint ¶
func PatchEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.