Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap profile in containers #61

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkg/apis/softwarecomposition/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,12 @@ type ApplicationProfile struct {
}

type ApplicationProfileSpec struct {
Containers []ApplicationProfileContainer
InitContainers []ApplicationProfileContainer
}

type ApplicationProfileContainer struct {
Name string
Capabilities []string
Execs []ExecCalls
Opens []OpenCalls
Expand Down
6 changes: 6 additions & 0 deletions pkg/apis/softwarecomposition/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,12 @@ type ApplicationProfile struct {
}

type ApplicationProfileSpec struct {
Containers []ApplicationProfileContainer `json:"containers,omitempty"`
InitContainers []ApplicationProfileContainer `json:"initContainers,omitempty"`
}

type ApplicationProfileContainer struct {
Name string `json:"name,omitempty"`
Capabilities []string `json:"capabilities,omitempty"`
Execs []ExecCalls `json:"execs,omitempty"`
Opens []OpenCalls `json:"opens,omitempty"`
Expand Down
46 changes: 40 additions & 6 deletions pkg/apis/softwarecomposition/v1beta1/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 41 additions & 11 deletions pkg/apis/softwarecomposition/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 41 additions & 11 deletions pkg/apis/softwarecomposition/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 66 additions & 19 deletions pkg/generated/openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading